com.liveperson.faas.response.lambda.ErrorLogResponseObject 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 ErrorLogResponseObject {
private String level;
private String message;
private long timestamp;
private List extras;
public String getLevel() {
return level;
}
public void setLevel(String level) {
this.level = level;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
public List getExtras() {
return extras;
}
public void setExtras(List extras) {
this.extras = extras;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ErrorLogResponseObject that = (ErrorLogResponseObject) o;
return timestamp == that.timestamp &&
Objects.equals(level, that.level) &&
Objects.equals(message, that.message) &&
Objects.equals(extras, that.extras);
}
@Override
public int hashCode() {
return Objects.hash(level, message, timestamp, extras);
}
@Override
public String toString() {
return "ErrorLogResponseObject{" +
"level='" + level + '\'' +
", message='" + message + '\'' +
", timestamp=" + timestamp +
", extras=" + extras +
'}';
}
}