org.finra.herd.sdk.model.BusinessObjectDefinitionColumnCreateRequest 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.BusinessObjectDefinitionColumnKey;
/**
* BusinessObjectDefinitionColumnCreateRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BusinessObjectDefinitionColumnCreateRequest {
@JsonProperty("businessObjectDefinitionColumnKey")
private BusinessObjectDefinitionColumnKey businessObjectDefinitionColumnKey = null;
@JsonProperty("schemaColumnName")
private String schemaColumnName = null;
@JsonProperty("description")
private String description = null;
public BusinessObjectDefinitionColumnCreateRequest businessObjectDefinitionColumnKey(BusinessObjectDefinitionColumnKey businessObjectDefinitionColumnKey) {
this.businessObjectDefinitionColumnKey = businessObjectDefinitionColumnKey;
return this;
}
/**
* Get businessObjectDefinitionColumnKey
* @return businessObjectDefinitionColumnKey
**/
@ApiModelProperty(required = true, value = "")
public BusinessObjectDefinitionColumnKey getBusinessObjectDefinitionColumnKey() {
return businessObjectDefinitionColumnKey;
}
public void setBusinessObjectDefinitionColumnKey(BusinessObjectDefinitionColumnKey businessObjectDefinitionColumnKey) {
this.businessObjectDefinitionColumnKey = businessObjectDefinitionColumnKey;
}
public BusinessObjectDefinitionColumnCreateRequest schemaColumnName(String schemaColumnName) {
this.schemaColumnName = schemaColumnName;
return this;
}
/**
* The name of the schema column
* @return schemaColumnName
**/
@ApiModelProperty(required = true, value = "The name of the schema column")
public String getSchemaColumnName() {
return schemaColumnName;
}
public void setSchemaColumnName(String schemaColumnName) {
this.schemaColumnName = schemaColumnName;
}
public BusinessObjectDefinitionColumnCreateRequest description(String description) {
this.description = description;
return this;
}
/**
* Description of the Business Object Definition Column
* @return description
**/
@ApiModelProperty(value = "Description of the Business Object Definition Column")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessObjectDefinitionColumnCreateRequest businessObjectDefinitionColumnCreateRequest = (BusinessObjectDefinitionColumnCreateRequest) o;
return Objects.equals(this.businessObjectDefinitionColumnKey, businessObjectDefinitionColumnCreateRequest.businessObjectDefinitionColumnKey) &&
Objects.equals(this.schemaColumnName, businessObjectDefinitionColumnCreateRequest.schemaColumnName) &&
Objects.equals(this.description, businessObjectDefinitionColumnCreateRequest.description);
}
@Override
public int hashCode() {
return Objects.hash(businessObjectDefinitionColumnKey, schemaColumnName, description);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessObjectDefinitionColumnCreateRequest {\n");
sb.append(" businessObjectDefinitionColumnKey: ").append(toIndentedString(businessObjectDefinitionColumnKey)).append("\n");
sb.append(" schemaColumnName: ").append(toIndentedString(schemaColumnName)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).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 ");
}
}