org.finra.herd.sdk.model.BusinessObjectDefinitionColumn 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 java.util.ArrayList;
import java.util.List;
import org.finra.herd.sdk.model.BusinessObjectDefinitionColumnChangeEvent;
import org.finra.herd.sdk.model.BusinessObjectDefinitionColumnKey;
/**
* BusinessObjectDefinitionColumn
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BusinessObjectDefinitionColumn {
@JsonProperty("id")
private Long id = null;
@JsonProperty("businessObjectDefinitionColumnKey")
private BusinessObjectDefinitionColumnKey businessObjectDefinitionColumnKey = null;
@JsonProperty("schemaColumnName")
private String schemaColumnName = null;
@JsonProperty("description")
private String description = null;
@JsonProperty("businessObjectDefinitionColumnChangeEvents")
private List businessObjectDefinitionColumnChangeEvents = null;
public BusinessObjectDefinitionColumn id(Long id) {
this.id = id;
return this;
}
/**
* The internal Id that uniquely references a Business Object Definition Column
* @return id
**/
@ApiModelProperty(value = "The internal Id that uniquely references a Business Object Definition Column")
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public BusinessObjectDefinitionColumn 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 BusinessObjectDefinitionColumn schemaColumnName(String schemaColumnName) {
this.schemaColumnName = schemaColumnName;
return this;
}
/**
* The name of the schema column
* @return schemaColumnName
**/
@ApiModelProperty(value = "The name of the schema column")
public String getSchemaColumnName() {
return schemaColumnName;
}
public void setSchemaColumnName(String schemaColumnName) {
this.schemaColumnName = schemaColumnName;
}
public BusinessObjectDefinitionColumn 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;
}
public BusinessObjectDefinitionColumn businessObjectDefinitionColumnChangeEvents(List businessObjectDefinitionColumnChangeEvents) {
this.businessObjectDefinitionColumnChangeEvents = businessObjectDefinitionColumnChangeEvents;
return this;
}
public BusinessObjectDefinitionColumn addBusinessObjectDefinitionColumnChangeEventsItem(BusinessObjectDefinitionColumnChangeEvent businessObjectDefinitionColumnChangeEventsItem) {
if (this.businessObjectDefinitionColumnChangeEvents == null) {
this.businessObjectDefinitionColumnChangeEvents = new ArrayList();
}
this.businessObjectDefinitionColumnChangeEvents.add(businessObjectDefinitionColumnChangeEventsItem);
return this;
}
/**
* A list of business object definition column change events
* @return businessObjectDefinitionColumnChangeEvents
**/
@ApiModelProperty(value = "A list of business object definition column change events")
public List getBusinessObjectDefinitionColumnChangeEvents() {
return businessObjectDefinitionColumnChangeEvents;
}
public void setBusinessObjectDefinitionColumnChangeEvents(List businessObjectDefinitionColumnChangeEvents) {
this.businessObjectDefinitionColumnChangeEvents = businessObjectDefinitionColumnChangeEvents;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessObjectDefinitionColumn businessObjectDefinitionColumn = (BusinessObjectDefinitionColumn) o;
return Objects.equals(this.id, businessObjectDefinitionColumn.id) &&
Objects.equals(this.businessObjectDefinitionColumnKey, businessObjectDefinitionColumn.businessObjectDefinitionColumnKey) &&
Objects.equals(this.schemaColumnName, businessObjectDefinitionColumn.schemaColumnName) &&
Objects.equals(this.description, businessObjectDefinitionColumn.description) &&
Objects.equals(this.businessObjectDefinitionColumnChangeEvents, businessObjectDefinitionColumn.businessObjectDefinitionColumnChangeEvents);
}
@Override
public int hashCode() {
return Objects.hash(id, businessObjectDefinitionColumnKey, schemaColumnName, description, businessObjectDefinitionColumnChangeEvents);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessObjectDefinitionColumn {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\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(" businessObjectDefinitionColumnChangeEvents: ").append(toIndentedString(businessObjectDefinitionColumnChangeEvents)).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 ");
}
}