
com.ksc.epc.model.RecoverEpcResult Maven / Gradle / Ivy
package com.ksc.epc.model;
import lombok.Data;
import java.io.Serializable;
/**
*
* Contains the output of RecoverEpc.
*
*/
@Data
public class RecoverEpcResult implements Serializable, Cloneable {
private String RequestId;
private Boolean Return;
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
RecoverEpcResult that = (RecoverEpcResult) o;
if (RequestId != null ? !RequestId.equals(that.RequestId) : that.RequestId != null) return false;
if (Return != null ? !Return.equals(that.Return) : that.Return != null) return false;
return true;
}
@Override
public int hashCode() {
int result = super.hashCode();
result = 31 * result + (RequestId != null ? RequestId.hashCode() : 0);
result = 31 * result + (Return != null ? Return.hashCode() : 0);
return result;
}
@Override
public RecoverEpcResult clone() {
try {
return (RecoverEpcResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException(
"Got a CloneNotSupportedException from Object.clone() "
+ "even though we're Cloneable!", e);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy