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.StorageFile;
/**
* BusinessObjectDataStorageFilesCreateRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BusinessObjectDataStorageFilesCreateRequest {
@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;
@JsonProperty("storageFiles")
private List storageFiles = null;
@JsonProperty("discoverStorageFiles")
private Boolean discoverStorageFiles = null;
public BusinessObjectDataStorageFilesCreateRequest namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* The namespace of the business object data
* @return namespace
**/
@ApiModelProperty(required = true, value = "The namespace of the business object data")
public String getNamespace() {
return namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public BusinessObjectDataStorageFilesCreateRequest businessObjectDefinitionName(String businessObjectDefinitionName) {
this.businessObjectDefinitionName = businessObjectDefinitionName;
return this;
}
/**
* The definition name of the business object data
* @return businessObjectDefinitionName
**/
@ApiModelProperty(required = true, value = "The definition name of the business object data")
public String getBusinessObjectDefinitionName() {
return businessObjectDefinitionName;
}
public void setBusinessObjectDefinitionName(String businessObjectDefinitionName) {
this.businessObjectDefinitionName = businessObjectDefinitionName;
}
public BusinessObjectDataStorageFilesCreateRequest businessObjectFormatUsage(String businessObjectFormatUsage) {
this.businessObjectFormatUsage = businessObjectFormatUsage;
return this;
}
/**
* The format usage of the business object data
* @return businessObjectFormatUsage
**/
@ApiModelProperty(required = true, value = "The format usage of the business object data")
public String getBusinessObjectFormatUsage() {
return businessObjectFormatUsage;
}
public void setBusinessObjectFormatUsage(String businessObjectFormatUsage) {
this.businessObjectFormatUsage = businessObjectFormatUsage;
}
public BusinessObjectDataStorageFilesCreateRequest businessObjectFormatFileType(String businessObjectFormatFileType) {
this.businessObjectFormatFileType = businessObjectFormatFileType;
return this;
}
/**
* The format file type of the business object data
* @return businessObjectFormatFileType
**/
@ApiModelProperty(required = true, value = "The format file type of the business object data")
public String getBusinessObjectFormatFileType() {
return businessObjectFormatFileType;
}
public void setBusinessObjectFormatFileType(String businessObjectFormatFileType) {
this.businessObjectFormatFileType = businessObjectFormatFileType;
}
public BusinessObjectDataStorageFilesCreateRequest businessObjectFormatVersion(Integer businessObjectFormatVersion) {
this.businessObjectFormatVersion = businessObjectFormatVersion;
return this;
}
/**
* The format version of the business object data
* @return businessObjectFormatVersion
**/
@ApiModelProperty(value = "The format version of the business object data")
public Integer getBusinessObjectFormatVersion() {
return businessObjectFormatVersion;
}
public void setBusinessObjectFormatVersion(Integer businessObjectFormatVersion) {
this.businessObjectFormatVersion = businessObjectFormatVersion;
}
public BusinessObjectDataStorageFilesCreateRequest partitionValue(String partitionValue) {
this.partitionValue = partitionValue;
return this;
}
/**
* The the primary partition value of the business object data
* @return partitionValue
**/
@ApiModelProperty(required = true, value = "The the primary partition value of the business object data")
public String getPartitionValue() {
return partitionValue;
}
public void setPartitionValue(String partitionValue) {
this.partitionValue = partitionValue;
}
public BusinessObjectDataStorageFilesCreateRequest subPartitionValues(List subPartitionValues) {
this.subPartitionValues = subPartitionValues;
return this;
}
public BusinessObjectDataStorageFilesCreateRequest addSubPartitionValuesItem(String subPartitionValuesItem) {
if (this.subPartitionValues == null) {
this.subPartitionValues = new ArrayList();
}
this.subPartitionValues.add(subPartitionValuesItem);
return this;
}
/**
* The subpartition values of the business object data
* @return subPartitionValues
**/
@ApiModelProperty(value = "The subpartition values of the business object data")
public List getSubPartitionValues() {
return subPartitionValues;
}
public void setSubPartitionValues(List subPartitionValues) {
this.subPartitionValues = subPartitionValues;
}
public BusinessObjectDataStorageFilesCreateRequest businessObjectDataVersion(Integer businessObjectDataVersion) {
this.businessObjectDataVersion = businessObjectDataVersion;
return this;
}
/**
* The version of the business object data
* @return businessObjectDataVersion
**/
@ApiModelProperty(value = "The version of the business object data")
public Integer getBusinessObjectDataVersion() {
return businessObjectDataVersion;
}
public void setBusinessObjectDataVersion(Integer businessObjectDataVersion) {
this.businessObjectDataVersion = businessObjectDataVersion;
}
public BusinessObjectDataStorageFilesCreateRequest 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;
}
public BusinessObjectDataStorageFilesCreateRequest storageFiles(List storageFiles) {
this.storageFiles = storageFiles;
return this;
}
public BusinessObjectDataStorageFilesCreateRequest addStorageFilesItem(StorageFile storageFilesItem) {
if (this.storageFiles == null) {
this.storageFiles = new ArrayList();
}
this.storageFiles.add(storageFilesItem);
return this;
}
/**
* The list of storage files to be added. Storage files are required, unless discovery of storage files is enabled. In that case, the storage files are not allowed to be specified
* @return storageFiles
**/
@ApiModelProperty(value = "The list of storage files to be added. Storage files are required, unless discovery of storage files is enabled. In that case, the storage files are not allowed to be specified ")
public List getStorageFiles() {
return storageFiles;
}
public void setStorageFiles(List storageFiles) {
this.storageFiles = storageFiles;
}
public BusinessObjectDataStorageFilesCreateRequest discoverStorageFiles(Boolean discoverStorageFiles) {
this.discoverStorageFiles = discoverStorageFiles;
return this;
}
/**
* If true, enables the auto-discovery of all storage files in the relative S3 storage under the relative storage directory
* @return discoverStorageFiles
**/
@ApiModelProperty(value = "If true, enables the auto-discovery of all storage files in the relative S3 storage under the relative storage directory ")
public Boolean getDiscoverStorageFiles() {
return discoverStorageFiles;
}
public void setDiscoverStorageFiles(Boolean discoverStorageFiles) {
this.discoverStorageFiles = discoverStorageFiles;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessObjectDataStorageFilesCreateRequest businessObjectDataStorageFilesCreateRequest = (BusinessObjectDataStorageFilesCreateRequest) o;
return Objects.equals(this.namespace, businessObjectDataStorageFilesCreateRequest.namespace) &&
Objects.equals(this.businessObjectDefinitionName, businessObjectDataStorageFilesCreateRequest.businessObjectDefinitionName) &&
Objects.equals(this.businessObjectFormatUsage, businessObjectDataStorageFilesCreateRequest.businessObjectFormatUsage) &&
Objects.equals(this.businessObjectFormatFileType, businessObjectDataStorageFilesCreateRequest.businessObjectFormatFileType) &&
Objects.equals(this.businessObjectFormatVersion, businessObjectDataStorageFilesCreateRequest.businessObjectFormatVersion) &&
Objects.equals(this.partitionValue, businessObjectDataStorageFilesCreateRequest.partitionValue) &&
Objects.equals(this.subPartitionValues, businessObjectDataStorageFilesCreateRequest.subPartitionValues) &&
Objects.equals(this.businessObjectDataVersion, businessObjectDataStorageFilesCreateRequest.businessObjectDataVersion) &&
Objects.equals(this.storageName, businessObjectDataStorageFilesCreateRequest.storageName) &&
Objects.equals(this.storageFiles, businessObjectDataStorageFilesCreateRequest.storageFiles) &&
Objects.equals(this.discoverStorageFiles, businessObjectDataStorageFilesCreateRequest.discoverStorageFiles);
}
@Override
public int hashCode() {
return Objects.hash(namespace, businessObjectDefinitionName, businessObjectFormatUsage, businessObjectFormatFileType, businessObjectFormatVersion, partitionValue, subPartitionValues, businessObjectDataVersion, storageName, storageFiles, discoverStorageFiles);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessObjectDataStorageFilesCreateRequest {\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(" storageFiles: ").append(toIndentedString(storageFiles)).append("\n");
sb.append(" discoverStorageFiles: ").append(toIndentedString(discoverStorageFiles)).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 ");
}
}