dev.bf2.ffm.ams.client.models.SupportCasesCreatedResponse Maven / Gradle / Ivy
/*
* Account Management Service API
* Manage user subscriptions and clusters
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package dev.bf2.ffm.ams.client.models;
import java.util.Objects;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* SupportCasesCreatedResponse
*/
@JsonPropertyOrder({
SupportCasesCreatedResponse.JSON_PROPERTY_CASE_NUMBER,
SupportCasesCreatedResponse.JSON_PROPERTY_CLUSTER_ID,
SupportCasesCreatedResponse.JSON_PROPERTY_CLUSTER_UUID,
SupportCasesCreatedResponse.JSON_PROPERTY_DESCRIPTION,
SupportCasesCreatedResponse.JSON_PROPERTY_SEVERITY,
SupportCasesCreatedResponse.JSON_PROPERTY_STATUS,
SupportCasesCreatedResponse.JSON_PROPERTY_SUBSCRIPTION_ID,
SupportCasesCreatedResponse.JSON_PROPERTY_SUMMARY,
SupportCasesCreatedResponse.JSON_PROPERTY_URI
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class SupportCasesCreatedResponse {
public static final String JSON_PROPERTY_CASE_NUMBER = "caseNumber";
private String caseNumber;
public static final String JSON_PROPERTY_CLUSTER_ID = "cluster_id";
private String clusterId;
public static final String JSON_PROPERTY_CLUSTER_UUID = "cluster_uuid";
private String clusterUuid;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
public static final String JSON_PROPERTY_SEVERITY = "severity";
private String severity;
public static final String JSON_PROPERTY_STATUS = "status";
private String status;
public static final String JSON_PROPERTY_SUBSCRIPTION_ID = "subscription_id";
private String subscriptionId;
public static final String JSON_PROPERTY_SUMMARY = "summary";
private String summary;
public static final String JSON_PROPERTY_URI = "uri";
private String uri;
public SupportCasesCreatedResponse() {
}
public SupportCasesCreatedResponse caseNumber(String caseNumber) {
this.caseNumber = caseNumber;
return this;
}
/**
* Get caseNumber
* @return caseNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CASE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCaseNumber() {
return caseNumber;
}
@JsonProperty(JSON_PROPERTY_CASE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCaseNumber(String caseNumber) {
this.caseNumber = caseNumber;
}
public SupportCasesCreatedResponse clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* Get clusterId
* @return clusterId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CLUSTER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getClusterId() {
return clusterId;
}
@JsonProperty(JSON_PROPERTY_CLUSTER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
public SupportCasesCreatedResponse clusterUuid(String clusterUuid) {
this.clusterUuid = clusterUuid;
return this;
}
/**
* Get clusterUuid
* @return clusterUuid
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CLUSTER_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getClusterUuid() {
return clusterUuid;
}
@JsonProperty(JSON_PROPERTY_CLUSTER_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClusterUuid(String clusterUuid) {
this.clusterUuid = clusterUuid;
}
public SupportCasesCreatedResponse description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDescription() {
return description;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDescription(String description) {
this.description = description;
}
public SupportCasesCreatedResponse severity(String severity) {
this.severity = severity;
return this;
}
/**
* Get severity
* @return severity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SEVERITY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSeverity() {
return severity;
}
@JsonProperty(JSON_PROPERTY_SEVERITY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSeverity(String severity) {
this.severity = severity;
}
public SupportCasesCreatedResponse status(String status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getStatus() {
return status;
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStatus(String status) {
this.status = status;
}
public SupportCasesCreatedResponse subscriptionId(String subscriptionId) {
this.subscriptionId = subscriptionId;
return this;
}
/**
* Get subscriptionId
* @return subscriptionId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SUBSCRIPTION_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSubscriptionId() {
return subscriptionId;
}
@JsonProperty(JSON_PROPERTY_SUBSCRIPTION_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSubscriptionId(String subscriptionId) {
this.subscriptionId = subscriptionId;
}
public SupportCasesCreatedResponse summary(String summary) {
this.summary = summary;
return this;
}
/**
* Get summary
* @return summary
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SUMMARY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSummary() {
return summary;
}
@JsonProperty(JSON_PROPERTY_SUMMARY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSummary(String summary) {
this.summary = summary;
}
public SupportCasesCreatedResponse uri(String uri) {
this.uri = uri;
return this;
}
/**
* Get uri
* @return uri
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_URI)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUri() {
return uri;
}
@JsonProperty(JSON_PROPERTY_URI)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUri(String uri) {
this.uri = uri;
}
/**
* Return true if this SupportCasesCreatedResponse object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SupportCasesCreatedResponse supportCasesCreatedResponse = (SupportCasesCreatedResponse) o;
return Objects.equals(this.caseNumber, supportCasesCreatedResponse.caseNumber) &&
Objects.equals(this.clusterId, supportCasesCreatedResponse.clusterId) &&
Objects.equals(this.clusterUuid, supportCasesCreatedResponse.clusterUuid) &&
Objects.equals(this.description, supportCasesCreatedResponse.description) &&
Objects.equals(this.severity, supportCasesCreatedResponse.severity) &&
Objects.equals(this.status, supportCasesCreatedResponse.status) &&
Objects.equals(this.subscriptionId, supportCasesCreatedResponse.subscriptionId) &&
Objects.equals(this.summary, supportCasesCreatedResponse.summary) &&
Objects.equals(this.uri, supportCasesCreatedResponse.uri);
}
@Override
public int hashCode() {
return Objects.hash(caseNumber, clusterId, clusterUuid, description, severity, status, subscriptionId, summary, uri);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SupportCasesCreatedResponse {\n");
sb.append(" caseNumber: ").append(toIndentedString(caseNumber)).append("\n");
sb.append(" clusterId: ").append(toIndentedString(clusterId)).append("\n");
sb.append(" clusterUuid: ").append(toIndentedString(clusterUuid)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" severity: ").append(toIndentedString(severity)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" subscriptionId: ").append(toIndentedString(subscriptionId)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" uri: ").append(toIndentedString(uri)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}