All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.kubernetes.api.model.QuantityFluentImpl Maven / Gradle / Ivy

There is a newer version: 6.13.4
Show newest version
package io.fabric8.kubernetes.api.model;

import java.util.HashMap;
import java.io.Serializable;
import java.util.Map;
import java.util.Map;
import java.util.AbstractMap;
import io.fabric8.kubernetes.api.builder.Visitable;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import io.fabric8.kubernetes.api.builder.Fluent;

public class QuantityFluentImpl> extends BaseFluent implements QuantityFluent{

     String amount;     String format;
public QuantityFluentImpl(){
    
}
public QuantityFluentImpl( Quantity instance ){
    this.withAmount(instance.getAmount()); this.withFormat(instance.getFormat());

}

    public String getAmount(){
    return this.amount;
    }
    public A withAmount( String amount){
    this.amount=amount; return (A) this;
    }
    public String getFormat(){
    return this.format;
    }
    public A withFormat( String format){
    this.format=format; return (A) this;
    }
    public boolean equals( Object o){
    
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
QuantityFluentImpl that = (QuantityFluentImpl) o;
if (amount != null ? !amount.equals(that.amount) :that.amount != null) return false;
if (format != null ? !format.equals(that.format) :that.format != null) return false;
return true;

    }



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy