me.snowdrop.istio.api.model.v1.mixer.config.HandlerFluentImpl Maven / Gradle / Ivy
package me.snowdrop.istio.api.model.v1.mixer.config;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonProperty;
import me.snowdrop.istio.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class HandlerFluentImpl> extends me.snowdrop.istio.api.builder.BaseFluent implements HandlerFluent{
private String adapter;
private String name;
private Object params;
public HandlerFluentImpl(){
}
public HandlerFluentImpl(Handler instance){
this.withAdapter(instance.getAdapter());
this.withName(instance.getName());
this.withParams(instance.getParams());
}
public String getAdapter(){
return this.adapter;
}
public A withAdapter(String adapter){
this.adapter=adapter; return (A) this;
}
public Boolean hasAdapter(){
return this.adapter != null;
}
public String getName(){
return this.name;
}
public A withName(String name){
this.name=name; return (A) this;
}
public Boolean hasName(){
return this.name != null;
}
public Object getParams(){
return this.params;
}
public A withParams(Object params){
this.params=params; return (A) this;
}
public Boolean hasParams(){
return this.params != 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;
HandlerFluentImpl that = (HandlerFluentImpl) o;
if (adapter != null ? !adapter.equals(that.adapter) :that.adapter != null) return false;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
if (params != null &¶ms != this ? !params.equals(that.params) :that.params != null &¶ms != this ) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy