com.liveperson.faas.response.lambda.DeploymentErrorResponseObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of functions-client Show documentation
Show all versions of functions-client Show documentation
Functions client for invoking lambdas via the eventsource gateway (a.k.a Asgard)
package com.liveperson.faas.response.lambda;
import java.util.List;
import java.util.Objects;
public class DeploymentErrorResponseObject {
private String errorCode;
private String errorMsg;
private List errorLogs;
public String getErrorCode() {
return errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
public List getErrorLogs() {
return errorLogs;
}
public void setErrorLogs(List errorLogs) {
this.errorLogs = errorLogs;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DeploymentErrorResponseObject that = (DeploymentErrorResponseObject) o;
return Objects.equals(errorCode, that.errorCode) &&
Objects.equals(errorMsg, that.errorMsg) &&
Objects.equals(errorLogs, that.errorLogs);
}
@Override
public int hashCode() {
return Objects.hash(errorCode, errorMsg, errorLogs);
}
@Override
public String toString() {
return "DeploymentErrorResponseObject{" +
"errorCode='" + errorCode + '\'' +
", errorMsg='" + errorMsg + '\'' +
", errorLogs=" + errorLogs +
'}';
}
}