com.ksc.network.slb.model.DeleteLoadBalancerResult Maven / Gradle / Ivy
package com.ksc.network.slb.model;
import lombok.ToString;
import java.io.Serializable;
/**
* Created by LIUHONGMING on 2017/4/25.
*/
@ToString
public class DeleteLoadBalancerResult implements Serializable, Cloneable {
/**
* 请求ID
*/
private String RequestId;
/**
* 操作是否成功
*/
private Boolean Return;
public String getRequestId() {
return RequestId;
}
public void setRequestId(String requestId) {
RequestId = requestId;
}
public Boolean getReturn() {
return Return;
}
public void setReturn(Boolean aReturn) {
Return = aReturn;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DeleteLoadBalancerResult that = (DeleteLoadBalancerResult) o;
if (RequestId != null ? !RequestId.equals(that.RequestId) : that.RequestId != null) return false;
return Return != null ? Return.equals(that.Return) : that.Return == null;
}
@Override
public int hashCode() {
int result = RequestId != null ? RequestId.hashCode() : 0;
result = 31 * result + (Return != null ? Return.hashCode() : 0);
return result;
}
@Override
public DeleteLoadBalancerResult clone() {
try {
return (DeleteLoadBalancerResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException(
"Got a CloneNotSupportedException from Object.clone() "
+ "even though we're Cloneable!", e);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy