Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* 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.Attribute;
import org.finra.herd.sdk.model.BusinessObjectDefinitionChangeEvent;
import org.finra.herd.sdk.model.DescriptiveBusinessObjectFormat;
import org.finra.herd.sdk.model.SampleDataFile;
import org.joda.time.DateTime;
/**
* BusinessObjectDefinition
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BusinessObjectDefinition {
@JsonProperty("id")
private Long id = null;
@JsonProperty("namespace")
private String namespace = null;
@JsonProperty("businessObjectDefinitionName")
private String businessObjectDefinitionName = null;
@JsonProperty("dataProviderName")
private String dataProviderName = null;
@JsonProperty("description")
private String description = null;
@JsonProperty("shortDescription")
private String shortDescription = null;
@JsonProperty("displayName")
private String displayName = null;
@JsonProperty("attributes")
private List attributes = null;
@JsonProperty("descriptiveBusinessObjectFormat")
private DescriptiveBusinessObjectFormat descriptiveBusinessObjectFormat = null;
@JsonProperty("sampleDataFiles")
private List sampleDataFiles = null;
@JsonProperty("createdByUserId")
private String createdByUserId = null;
@JsonProperty("lastUpdatedByUserId")
private String lastUpdatedByUserId = null;
@JsonProperty("lastUpdatedOn")
private DateTime lastUpdatedOn = null;
@JsonProperty("businessObjectDefinitionChangeEvents")
private List businessObjectDefinitionChangeEvents = null;
public BusinessObjectDefinition id(Long id) {
this.id = id;
return this;
}
/**
* The internal identifier that uniquely references a Business Object Definition
* @return id
**/
@ApiModelProperty(value = "The internal identifier that uniquely references a Business Object Definition")
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public BusinessObjectDefinition namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* The name of a valid Namespace known by the system
* @return namespace
**/
@ApiModelProperty(required = true, value = "The name of a valid Namespace known by the system")
public String getNamespace() {
return namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public BusinessObjectDefinition businessObjectDefinitionName(String businessObjectDefinitionName) {
this.businessObjectDefinitionName = businessObjectDefinitionName;
return this;
}
/**
* The name for this Business Object Definition
* @return businessObjectDefinitionName
**/
@ApiModelProperty(required = true, value = "The name for this Business Object Definition")
public String getBusinessObjectDefinitionName() {
return businessObjectDefinitionName;
}
public void setBusinessObjectDefinitionName(String businessObjectDefinitionName) {
this.businessObjectDefinitionName = businessObjectDefinitionName;
}
public BusinessObjectDefinition dataProviderName(String dataProviderName) {
this.dataProviderName = dataProviderName;
return this;
}
/**
* The name of a valid Data Provider known by the system
* @return dataProviderName
**/
@ApiModelProperty(value = "The name of a valid Data Provider known by the system")
public String getDataProviderName() {
return dataProviderName;
}
public void setDataProviderName(String dataProviderName) {
this.dataProviderName = dataProviderName;
}
public BusinessObjectDefinition description(String description) {
this.description = description;
return this;
}
/**
* An optional description
* @return description
**/
@ApiModelProperty(value = "An optional description")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public BusinessObjectDefinition shortDescription(String shortDescription) {
this.shortDescription = shortDescription;
return this;
}
/**
* An optional short-description. This is actually the 'description' field truncated to a configurable number of characters
* @return shortDescription
**/
@ApiModelProperty(value = "An optional short-description. This is actually the 'description' field truncated to a configurable number of characters ")
public String getShortDescription() {
return shortDescription;
}
public void setShortDescription(String shortDescription) {
this.shortDescription = shortDescription;
}
public BusinessObjectDefinition displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* An optional business friendly name
* @return displayName
**/
@ApiModelProperty(value = "An optional business friendly name")
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public BusinessObjectDefinition attributes(List attributes) {
this.attributes = attributes;
return this;
}
public BusinessObjectDefinition addAttributesItem(Attribute attributesItem) {
if (this.attributes == null) {
this.attributes = new ArrayList();
}
this.attributes.add(attributesItem);
return this;
}
/**
* Custom user-defined metadata associated with this Business Object Definition. \"name\" is the attribute name (i.e. the key) and \"value\" is the attribute value
* @return attributes
**/
@ApiModelProperty(value = "Custom user-defined metadata associated with this Business Object Definition. \"name\" is the attribute name (i.e. the key) and \"value\" is the attribute value ")
public List getAttributes() {
return attributes;
}
public void setAttributes(List attributes) {
this.attributes = attributes;
}
public BusinessObjectDefinition descriptiveBusinessObjectFormat(DescriptiveBusinessObjectFormat descriptiveBusinessObjectFormat) {
this.descriptiveBusinessObjectFormat = descriptiveBusinessObjectFormat;
return this;
}
/**
* Get descriptiveBusinessObjectFormat
* @return descriptiveBusinessObjectFormat
**/
@ApiModelProperty(value = "")
public DescriptiveBusinessObjectFormat getDescriptiveBusinessObjectFormat() {
return descriptiveBusinessObjectFormat;
}
public void setDescriptiveBusinessObjectFormat(DescriptiveBusinessObjectFormat descriptiveBusinessObjectFormat) {
this.descriptiveBusinessObjectFormat = descriptiveBusinessObjectFormat;
}
public BusinessObjectDefinition sampleDataFiles(List sampleDataFiles) {
this.sampleDataFiles = sampleDataFiles;
return this;
}
public BusinessObjectDefinition addSampleDataFilesItem(SampleDataFile sampleDataFilesItem) {
if (this.sampleDataFiles == null) {
this.sampleDataFiles = new ArrayList();
}
this.sampleDataFiles.add(sampleDataFilesItem);
return this;
}
/**
* An optional list of sample data files associated with the Business Object Definition
* @return sampleDataFiles
**/
@ApiModelProperty(value = "An optional list of sample data files associated with the Business Object Definition")
public List getSampleDataFiles() {
return sampleDataFiles;
}
public void setSampleDataFiles(List sampleDataFiles) {
this.sampleDataFiles = sampleDataFiles;
}
public BusinessObjectDefinition createdByUserId(String createdByUserId) {
this.createdByUserId = createdByUserId;
return this;
}
/**
* The User ID of the user who created this business object definition
* @return createdByUserId
**/
@ApiModelProperty(value = "The User ID of the user who created this business object definition")
public String getCreatedByUserId() {
return createdByUserId;
}
public void setCreatedByUserId(String createdByUserId) {
this.createdByUserId = createdByUserId;
}
public BusinessObjectDefinition lastUpdatedByUserId(String lastUpdatedByUserId) {
this.lastUpdatedByUserId = lastUpdatedByUserId;
return this;
}
/**
* The User ID of the user who last updated this business object definition
* @return lastUpdatedByUserId
**/
@ApiModelProperty(value = "The User ID of the user who last updated this business object definition")
public String getLastUpdatedByUserId() {
return lastUpdatedByUserId;
}
public void setLastUpdatedByUserId(String lastUpdatedByUserId) {
this.lastUpdatedByUserId = lastUpdatedByUserId;
}
public BusinessObjectDefinition lastUpdatedOn(DateTime lastUpdatedOn) {
this.lastUpdatedOn = lastUpdatedOn;
return this;
}
/**
* The timestamp when this business object definition was last updated on
* @return lastUpdatedOn
**/
@ApiModelProperty(value = "The timestamp when this business object definition was last updated on")
public DateTime getLastUpdatedOn() {
return lastUpdatedOn;
}
public void setLastUpdatedOn(DateTime lastUpdatedOn) {
this.lastUpdatedOn = lastUpdatedOn;
}
public BusinessObjectDefinition businessObjectDefinitionChangeEvents(List businessObjectDefinitionChangeEvents) {
this.businessObjectDefinitionChangeEvents = businessObjectDefinitionChangeEvents;
return this;
}
public BusinessObjectDefinition addBusinessObjectDefinitionChangeEventsItem(BusinessObjectDefinitionChangeEvent businessObjectDefinitionChangeEventsItem) {
if (this.businessObjectDefinitionChangeEvents == null) {
this.businessObjectDefinitionChangeEvents = new ArrayList();
}
this.businessObjectDefinitionChangeEvents.add(businessObjectDefinitionChangeEventsItem);
return this;
}
/**
* A list of business object definition change events
* @return businessObjectDefinitionChangeEvents
**/
@ApiModelProperty(value = "A list of business object definition change events")
public List getBusinessObjectDefinitionChangeEvents() {
return businessObjectDefinitionChangeEvents;
}
public void setBusinessObjectDefinitionChangeEvents(List businessObjectDefinitionChangeEvents) {
this.businessObjectDefinitionChangeEvents = businessObjectDefinitionChangeEvents;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessObjectDefinition businessObjectDefinition = (BusinessObjectDefinition) o;
return Objects.equals(this.id, businessObjectDefinition.id) &&
Objects.equals(this.namespace, businessObjectDefinition.namespace) &&
Objects.equals(this.businessObjectDefinitionName, businessObjectDefinition.businessObjectDefinitionName) &&
Objects.equals(this.dataProviderName, businessObjectDefinition.dataProviderName) &&
Objects.equals(this.description, businessObjectDefinition.description) &&
Objects.equals(this.shortDescription, businessObjectDefinition.shortDescription) &&
Objects.equals(this.displayName, businessObjectDefinition.displayName) &&
Objects.equals(this.attributes, businessObjectDefinition.attributes) &&
Objects.equals(this.descriptiveBusinessObjectFormat, businessObjectDefinition.descriptiveBusinessObjectFormat) &&
Objects.equals(this.sampleDataFiles, businessObjectDefinition.sampleDataFiles) &&
Objects.equals(this.createdByUserId, businessObjectDefinition.createdByUserId) &&
Objects.equals(this.lastUpdatedByUserId, businessObjectDefinition.lastUpdatedByUserId) &&
Objects.equals(this.lastUpdatedOn, businessObjectDefinition.lastUpdatedOn) &&
Objects.equals(this.businessObjectDefinitionChangeEvents, businessObjectDefinition.businessObjectDefinitionChangeEvents);
}
@Override
public int hashCode() {
return Objects.hash(id, namespace, businessObjectDefinitionName, dataProviderName, description, shortDescription, displayName, attributes, descriptiveBusinessObjectFormat, sampleDataFiles, createdByUserId, lastUpdatedByUserId, lastUpdatedOn, businessObjectDefinitionChangeEvents);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessObjectDefinition {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n");
sb.append(" businessObjectDefinitionName: ").append(toIndentedString(businessObjectDefinitionName)).append("\n");
sb.append(" dataProviderName: ").append(toIndentedString(dataProviderName)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" shortDescription: ").append(toIndentedString(shortDescription)).append("\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
sb.append(" descriptiveBusinessObjectFormat: ").append(toIndentedString(descriptiveBusinessObjectFormat)).append("\n");
sb.append(" sampleDataFiles: ").append(toIndentedString(sampleDataFiles)).append("\n");
sb.append(" createdByUserId: ").append(toIndentedString(createdByUserId)).append("\n");
sb.append(" lastUpdatedByUserId: ").append(toIndentedString(lastUpdatedByUserId)).append("\n");
sb.append(" lastUpdatedOn: ").append(toIndentedString(lastUpdatedOn)).append("\n");
sb.append(" businessObjectDefinitionChangeEvents: ").append(toIndentedString(businessObjectDefinitionChangeEvents)).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 ");
}
}