org.finra.herd.sdk.model.BusinessObjectDataStorageUnitKey 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;
/**
* BusinessObjectDataStorageUnitKey
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BusinessObjectDataStorageUnitKey {
@JsonProperty("namespace")
private String namespace = null;
@JsonProperty("businessObjectDefinitionName")
private String businessObjectDefinitionName = null;
@JsonProperty("businessObjectFormatUsage")
private String businessObjectFormatUsage = null;
@JsonProperty("businessObjectFormatFileType")
private String businessObjectFormatFileType = null;
@JsonProperty("businessObjectFormatVersion")
private Integer businessObjectFormatVersion = null;
@JsonProperty("partitionValue")
private String partitionValue = null;
@JsonProperty("subPartitionValues")
private List subPartitionValues = null;
@JsonProperty("businessObjectDataVersion")
private Integer businessObjectDataVersion = null;
@JsonProperty("storageName")
private String storageName = null;
public BusinessObjectDataStorageUnitKey namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* The Namespace to which a Business Object Format is related
* @return namespace
**/
@ApiModelProperty(required = true, value = "The Namespace to which a Business Object Format is related")
public String getNamespace() {
return namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public BusinessObjectDataStorageUnitKey businessObjectDefinitionName(String businessObjectDefinitionName) {
this.businessObjectDefinitionName = businessObjectDefinitionName;
return this;
}
/**
* The name of the Business Object Definition to which a Business Object Format is related
* @return businessObjectDefinitionName
**/
@ApiModelProperty(required = true, value = "The name of the Business Object Definition to which a Business Object Format is related")
public String getBusinessObjectDefinitionName() {
return businessObjectDefinitionName;
}
public void setBusinessObjectDefinitionName(String businessObjectDefinitionName) {
this.businessObjectDefinitionName = businessObjectDefinitionName;
}
public BusinessObjectDataStorageUnitKey businessObjectFormatUsage(String businessObjectFormatUsage) {
this.businessObjectFormatUsage = businessObjectFormatUsage;
return this;
}
/**
* The Usage of this Business Object Format - a string describing how this format is used. Often used as a label for the Business Object Format. Does not have to be unique in the system, the Usage string is frequently shared across formats for multiple Business Object Definitions
* @return businessObjectFormatUsage
**/
@ApiModelProperty(required = true, value = "The Usage of this Business Object Format - a string describing how this format is used. Often used as a label for the Business Object Format. Does not have to be unique in the system, the Usage string is frequently shared across formats for multiple Business Object Definitions ")
public String getBusinessObjectFormatUsage() {
return businessObjectFormatUsage;
}
public void setBusinessObjectFormatUsage(String businessObjectFormatUsage) {
this.businessObjectFormatUsage = businessObjectFormatUsage;
}
public BusinessObjectDataStorageUnitKey businessObjectFormatFileType(String businessObjectFormatFileType) {
this.businessObjectFormatFileType = businessObjectFormatFileType;
return this;
}
/**
* A File Type known to the system that describes the file type of data stored under a Business Object Format
* @return businessObjectFormatFileType
**/
@ApiModelProperty(required = true, value = "A File Type known to the system that describes the file type of data stored under a Business Object Format")
public String getBusinessObjectFormatFileType() {
return businessObjectFormatFileType;
}
public void setBusinessObjectFormatFileType(String businessObjectFormatFileType) {
this.businessObjectFormatFileType = businessObjectFormatFileType;
}
public BusinessObjectDataStorageUnitKey businessObjectFormatVersion(Integer businessObjectFormatVersion) {
this.businessObjectFormatVersion = businessObjectFormatVersion;
return this;
}
/**
* The Business Object Format Version for a previously registered Business Object Format
* @return businessObjectFormatVersion
**/
@ApiModelProperty(value = "The Business Object Format Version for a previously registered Business Object Format")
public Integer getBusinessObjectFormatVersion() {
return businessObjectFormatVersion;
}
public void setBusinessObjectFormatVersion(Integer businessObjectFormatVersion) {
this.businessObjectFormatVersion = businessObjectFormatVersion;
}
public BusinessObjectDataStorageUnitKey partitionValue(String partitionValue) {
this.partitionValue = partitionValue;
return this;
}
/**
* The Partition Value that this Business Object Data is associated with
* @return partitionValue
**/
@ApiModelProperty(required = true, value = "The Partition Value that this Business Object Data is associated with")
public String getPartitionValue() {
return partitionValue;
}
public void setPartitionValue(String partitionValue) {
this.partitionValue = partitionValue;
}
public BusinessObjectDataStorageUnitKey subPartitionValues(List subPartitionValues) {
this.subPartitionValues = subPartitionValues;
return this;
}
public BusinessObjectDataStorageUnitKey addSubPartitionValuesItem(String subPartitionValuesItem) {
if (this.subPartitionValues == null) {
this.subPartitionValues = new ArrayList();
}
this.subPartitionValues.add(subPartitionValuesItem);
return this;
}
/**
* A list of Sub-Partition values this Business Object Data is associated with
* @return subPartitionValues
**/
@ApiModelProperty(value = "A list of Sub-Partition values this Business Object Data is associated with")
public List getSubPartitionValues() {
return subPartitionValues;
}
public void setSubPartitionValues(List subPartitionValues) {
this.subPartitionValues = subPartitionValues;
}
public BusinessObjectDataStorageUnitKey businessObjectDataVersion(Integer businessObjectDataVersion) {
this.businessObjectDataVersion = businessObjectDataVersion;
return this;
}
/**
* The numeric version of a Business Object Data
* @return businessObjectDataVersion
**/
@ApiModelProperty(value = "The numeric version of a Business Object Data")
public Integer getBusinessObjectDataVersion() {
return businessObjectDataVersion;
}
public void setBusinessObjectDataVersion(Integer businessObjectDataVersion) {
this.businessObjectDataVersion = businessObjectDataVersion;
}
public BusinessObjectDataStorageUnitKey storageName(String storageName) {
this.storageName = storageName;
return this;
}
/**
* The name of the storage
* @return storageName
**/
@ApiModelProperty(required = true, value = "The name of the storage")
public String getStorageName() {
return storageName;
}
public void setStorageName(String storageName) {
this.storageName = storageName;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessObjectDataStorageUnitKey businessObjectDataStorageUnitKey = (BusinessObjectDataStorageUnitKey) o;
return Objects.equals(this.namespace, businessObjectDataStorageUnitKey.namespace) &&
Objects.equals(this.businessObjectDefinitionName, businessObjectDataStorageUnitKey.businessObjectDefinitionName) &&
Objects.equals(this.businessObjectFormatUsage, businessObjectDataStorageUnitKey.businessObjectFormatUsage) &&
Objects.equals(this.businessObjectFormatFileType, businessObjectDataStorageUnitKey.businessObjectFormatFileType) &&
Objects.equals(this.businessObjectFormatVersion, businessObjectDataStorageUnitKey.businessObjectFormatVersion) &&
Objects.equals(this.partitionValue, businessObjectDataStorageUnitKey.partitionValue) &&
Objects.equals(this.subPartitionValues, businessObjectDataStorageUnitKey.subPartitionValues) &&
Objects.equals(this.businessObjectDataVersion, businessObjectDataStorageUnitKey.businessObjectDataVersion) &&
Objects.equals(this.storageName, businessObjectDataStorageUnitKey.storageName);
}
@Override
public int hashCode() {
return Objects.hash(namespace, businessObjectDefinitionName, businessObjectFormatUsage, businessObjectFormatFileType, businessObjectFormatVersion, partitionValue, subPartitionValues, businessObjectDataVersion, storageName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessObjectDataStorageUnitKey {\n");
sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n");
sb.append(" businessObjectDefinitionName: ").append(toIndentedString(businessObjectDefinitionName)).append("\n");
sb.append(" businessObjectFormatUsage: ").append(toIndentedString(businessObjectFormatUsage)).append("\n");
sb.append(" businessObjectFormatFileType: ").append(toIndentedString(businessObjectFormatFileType)).append("\n");
sb.append(" businessObjectFormatVersion: ").append(toIndentedString(businessObjectFormatVersion)).append("\n");
sb.append(" partitionValue: ").append(toIndentedString(partitionValue)).append("\n");
sb.append(" subPartitionValues: ").append(toIndentedString(subPartitionValues)).append("\n");
sb.append(" businessObjectDataVersion: ").append(toIndentedString(businessObjectDataVersion)).append("\n");
sb.append(" storageName: ").append(toIndentedString(storageName)).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 ");
}
}