me.snowdrop.istio.mixer.adapter.stackdriver.HttpRequestMappingFluentImpl Maven / Gradle / Ivy
package me.snowdrop.istio.mixer.adapter.stackdriver;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class HttpRequestMappingFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements HttpRequestMappingFluent{
private String latency;
private String localIp;
private String method;
private String referer;
private String remoteIp;
private String requestSize;
private String responseSize;
private String status;
private String url;
private String userAgent;
public HttpRequestMappingFluentImpl(){
}
public HttpRequestMappingFluentImpl(HttpRequestMapping instance){
this.withLatency(instance.getLatency());
this.withLocalIp(instance.getLocalIp());
this.withMethod(instance.getMethod());
this.withReferer(instance.getReferer());
this.withRemoteIp(instance.getRemoteIp());
this.withRequestSize(instance.getRequestSize());
this.withResponseSize(instance.getResponseSize());
this.withStatus(instance.getStatus());
this.withUrl(instance.getUrl());
this.withUserAgent(instance.getUserAgent());
}
public String getLatency(){
return this.latency;
}
public A withLatency(String latency){
this.latency=latency; return (A) this;
}
public Boolean hasLatency(){
return this.latency != null;
}
public String getLocalIp(){
return this.localIp;
}
public A withLocalIp(String localIp){
this.localIp=localIp; return (A) this;
}
public Boolean hasLocalIp(){
return this.localIp != null;
}
public String getMethod(){
return this.method;
}
public A withMethod(String method){
this.method=method; return (A) this;
}
public Boolean hasMethod(){
return this.method != null;
}
public String getReferer(){
return this.referer;
}
public A withReferer(String referer){
this.referer=referer; return (A) this;
}
public Boolean hasReferer(){
return this.referer != null;
}
public String getRemoteIp(){
return this.remoteIp;
}
public A withRemoteIp(String remoteIp){
this.remoteIp=remoteIp; return (A) this;
}
public Boolean hasRemoteIp(){
return this.remoteIp != null;
}
public String getRequestSize(){
return this.requestSize;
}
public A withRequestSize(String requestSize){
this.requestSize=requestSize; return (A) this;
}
public Boolean hasRequestSize(){
return this.requestSize != null;
}
public String getResponseSize(){
return this.responseSize;
}
public A withResponseSize(String responseSize){
this.responseSize=responseSize; return (A) this;
}
public Boolean hasResponseSize(){
return this.responseSize != null;
}
public String getStatus(){
return this.status;
}
public A withStatus(String status){
this.status=status; return (A) this;
}
public Boolean hasStatus(){
return this.status != null;
}
public String getUrl(){
return this.url;
}
public A withUrl(String url){
this.url=url; return (A) this;
}
public Boolean hasUrl(){
return this.url != null;
}
public String getUserAgent(){
return this.userAgent;
}
public A withUserAgent(String userAgent){
this.userAgent=userAgent; return (A) this;
}
public Boolean hasUserAgent(){
return this.userAgent != 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;
HttpRequestMappingFluentImpl that = (HttpRequestMappingFluentImpl) o;
if (latency != null ? !latency.equals(that.latency) :that.latency != null) return false;
if (localIp != null ? !localIp.equals(that.localIp) :that.localIp != null) return false;
if (method != null ? !method.equals(that.method) :that.method != null) return false;
if (referer != null ? !referer.equals(that.referer) :that.referer != null) return false;
if (remoteIp != null ? !remoteIp.equals(that.remoteIp) :that.remoteIp != null) return false;
if (requestSize != null ? !requestSize.equals(that.requestSize) :that.requestSize != null) return false;
if (responseSize != null ? !responseSize.equals(that.responseSize) :that.responseSize != null) return false;
if (status != null ? !status.equals(that.status) :that.status != null) return false;
if (url != null ? !url.equals(that.url) :that.url != null) return false;
if (userAgent != null ? !userAgent.equals(that.userAgent) :that.userAgent != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy