com.genesys.internal.engagement.model.EstimatedWaitTimeStatus400 Maven / Gradle / Ivy
/*
* Callback and Related APIs
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 3.0.000.19.011
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.genesys.internal.engagement.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.UUID;
/**
* EstimatedWaitTimeStatus400
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-10-15T14:00:21.326Z")
public class EstimatedWaitTimeStatus400 {
@SerializedName("code")
private BigDecimal code = null;
@SerializedName("message")
private String message = null;
@SerializedName("corrId")
private UUID corrId = null;
public EstimatedWaitTimeStatus400 code(BigDecimal code) {
this.code = code;
return this;
}
/**
* GES Status code.
* @return code
**/
@ApiModelProperty(example = "", value = "GES Status code.")
public BigDecimal getCode() {
return code;
}
public void setCode(BigDecimal code) {
this.code = code;
}
public EstimatedWaitTimeStatus400 message(String message) {
this.message = message;
return this;
}
/**
* Cause of failure.
* @return message
**/
@ApiModelProperty(value = "Cause of failure.")
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public EstimatedWaitTimeStatus400 corrId(UUID corrId) {
this.corrId = corrId;
return this;
}
/**
* Server-side correlation ID associated with the request.
* @return corrId
**/
@ApiModelProperty(value = "Server-side correlation ID associated with the request.")
public UUID getCorrId() {
return corrId;
}
public void setCorrId(UUID corrId) {
this.corrId = corrId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EstimatedWaitTimeStatus400 estimatedWaitTimeStatus400 = (EstimatedWaitTimeStatus400) o;
return Objects.equals(this.code, estimatedWaitTimeStatus400.code) &&
Objects.equals(this.message, estimatedWaitTimeStatus400.message) &&
Objects.equals(this.corrId, estimatedWaitTimeStatus400.corrId);
}
@Override
public int hashCode() {
return Objects.hash(code, message, corrId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EstimatedWaitTimeStatus400 {\n");
sb.append(" code: ").append(toIndentedString(code)).append("\n");
sb.append(" message: ").append(toIndentedString(message)).append("\n");
sb.append(" corrId: ").append(toIndentedString(corrId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy