org.finra.herd.sdk.model.BusinessObjectDataVersion Maven / Gradle / Ivy
/*
* herd-external
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.125.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.finra.herd.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.finra.herd.sdk.model.BusinessObjectDataKey;
/**
* BusinessObjectDataVersion
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BusinessObjectDataVersion {
@JsonProperty("businessObjectDataKey")
private BusinessObjectDataKey businessObjectDataKey = null;
@JsonProperty("status")
private String status = null;
public BusinessObjectDataVersion businessObjectDataKey(BusinessObjectDataKey businessObjectDataKey) {
this.businessObjectDataKey = businessObjectDataKey;
return this;
}
/**
* Get businessObjectDataKey
* @return businessObjectDataKey
**/
@ApiModelProperty(required = true, value = "")
public BusinessObjectDataKey getBusinessObjectDataKey() {
return businessObjectDataKey;
}
public void setBusinessObjectDataKey(BusinessObjectDataKey businessObjectDataKey) {
this.businessObjectDataKey = businessObjectDataKey;
}
public BusinessObjectDataVersion status(String status) {
this.status = status;
return this;
}
/**
* The status of the Business Object Data
* @return status
**/
@ApiModelProperty(required = true, value = "The status of the Business Object Data")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessObjectDataVersion businessObjectDataVersion = (BusinessObjectDataVersion) o;
return Objects.equals(this.businessObjectDataKey, businessObjectDataVersion.businessObjectDataKey) &&
Objects.equals(this.status, businessObjectDataVersion.status);
}
@Override
public int hashCode() {
return Objects.hash(businessObjectDataKey, status);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessObjectDataVersion {\n");
sb.append(" businessObjectDataKey: ").append(toIndentedString(businessObjectDataKey)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).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 ");
}
}