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

me.snowdrop.istio.api.model.v1.mixer.AttributeValueFluentImpl Maven / Gradle / Ivy

package me.snowdrop.istio.api.model.v1.mixer;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;

public class AttributeValueFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements AttributeValueFluent{

    private Object value;

    public AttributeValueFluentImpl(){
    }
    public AttributeValueFluentImpl(AttributeValue instance){
            this.withValue(instance.getValue()); 
    }

    public Object getValue(){
            return this.value;
    }

    public A withValue(Object value){
            this.value=value; return (A) this;
    }

    public Boolean hasValue(){
            return this.value != null;
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            AttributeValueFluentImpl that = (AttributeValueFluentImpl) o;
            if (value != null &&value != this ? !value.equals(that.value) :that.value != null &&value != this ) return false;

            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy