org.finra.herd.sdk.model.BusinessObjectDataInvalidateUnregisteredRequest 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;
/**
* BusinessObjectDataInvalidateUnregisteredRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BusinessObjectDataInvalidateUnregisteredRequest {
@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("storageName")
private String storageName = null;
public BusinessObjectDataInvalidateUnregisteredRequest namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* Get namespace
* @return namespace
**/
@ApiModelProperty(required = true, value = "")
public String getNamespace() {
return namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public BusinessObjectDataInvalidateUnregisteredRequest businessObjectDefinitionName(String businessObjectDefinitionName) {
this.businessObjectDefinitionName = businessObjectDefinitionName;
return this;
}
/**
* Get businessObjectDefinitionName
* @return businessObjectDefinitionName
**/
@ApiModelProperty(required = true, value = "")
public String getBusinessObjectDefinitionName() {
return businessObjectDefinitionName;
}
public void setBusinessObjectDefinitionName(String businessObjectDefinitionName) {
this.businessObjectDefinitionName = businessObjectDefinitionName;
}
public BusinessObjectDataInvalidateUnregisteredRequest businessObjectFormatUsage(String businessObjectFormatUsage) {
this.businessObjectFormatUsage = businessObjectFormatUsage;
return this;
}
/**
* Get businessObjectFormatUsage
* @return businessObjectFormatUsage
**/
@ApiModelProperty(required = true, value = "")
public String getBusinessObjectFormatUsage() {
return businessObjectFormatUsage;
}
public void setBusinessObjectFormatUsage(String businessObjectFormatUsage) {
this.businessObjectFormatUsage = businessObjectFormatUsage;
}
public BusinessObjectDataInvalidateUnregisteredRequest businessObjectFormatFileType(String businessObjectFormatFileType) {
this.businessObjectFormatFileType = businessObjectFormatFileType;
return this;
}
/**
* Get businessObjectFormatFileType
* @return businessObjectFormatFileType
**/
@ApiModelProperty(required = true, value = "")
public String getBusinessObjectFormatFileType() {
return businessObjectFormatFileType;
}
public void setBusinessObjectFormatFileType(String businessObjectFormatFileType) {
this.businessObjectFormatFileType = businessObjectFormatFileType;
}
public BusinessObjectDataInvalidateUnregisteredRequest businessObjectFormatVersion(Integer businessObjectFormatVersion) {
this.businessObjectFormatVersion = businessObjectFormatVersion;
return this;
}
/**
* Get businessObjectFormatVersion
* @return businessObjectFormatVersion
**/
@ApiModelProperty(value = "")
public Integer getBusinessObjectFormatVersion() {
return businessObjectFormatVersion;
}
public void setBusinessObjectFormatVersion(Integer businessObjectFormatVersion) {
this.businessObjectFormatVersion = businessObjectFormatVersion;
}
public BusinessObjectDataInvalidateUnregisteredRequest partitionValue(String partitionValue) {
this.partitionValue = partitionValue;
return this;
}
/**
* Get partitionValue
* @return partitionValue
**/
@ApiModelProperty(required = true, value = "")
public String getPartitionValue() {
return partitionValue;
}
public void setPartitionValue(String partitionValue) {
this.partitionValue = partitionValue;
}
public BusinessObjectDataInvalidateUnregisteredRequest subPartitionValues(List subPartitionValues) {
this.subPartitionValues = subPartitionValues;
return this;
}
public BusinessObjectDataInvalidateUnregisteredRequest addSubPartitionValuesItem(String subPartitionValuesItem) {
if (this.subPartitionValues == null) {
this.subPartitionValues = new ArrayList();
}
this.subPartitionValues.add(subPartitionValuesItem);
return this;
}
/**
* Get subPartitionValues
* @return subPartitionValues
**/
@ApiModelProperty(value = "")
public List getSubPartitionValues() {
return subPartitionValues;
}
public void setSubPartitionValues(List subPartitionValues) {
this.subPartitionValues = subPartitionValues;
}
public BusinessObjectDataInvalidateUnregisteredRequest storageName(String storageName) {
this.storageName = storageName;
return this;
}
/**
* Get storageName
* @return storageName
**/
@ApiModelProperty(required = true, value = "")
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;
}
BusinessObjectDataInvalidateUnregisteredRequest businessObjectDataInvalidateUnregisteredRequest = (BusinessObjectDataInvalidateUnregisteredRequest) o;
return Objects.equals(this.namespace, businessObjectDataInvalidateUnregisteredRequest.namespace) &&
Objects.equals(this.businessObjectDefinitionName, businessObjectDataInvalidateUnregisteredRequest.businessObjectDefinitionName) &&
Objects.equals(this.businessObjectFormatUsage, businessObjectDataInvalidateUnregisteredRequest.businessObjectFormatUsage) &&
Objects.equals(this.businessObjectFormatFileType, businessObjectDataInvalidateUnregisteredRequest.businessObjectFormatFileType) &&
Objects.equals(this.businessObjectFormatVersion, businessObjectDataInvalidateUnregisteredRequest.businessObjectFormatVersion) &&
Objects.equals(this.partitionValue, businessObjectDataInvalidateUnregisteredRequest.partitionValue) &&
Objects.equals(this.subPartitionValues, businessObjectDataInvalidateUnregisteredRequest.subPartitionValues) &&
Objects.equals(this.storageName, businessObjectDataInvalidateUnregisteredRequest.storageName);
}
@Override
public int hashCode() {
return Objects.hash(namespace, businessObjectDefinitionName, businessObjectFormatUsage, businessObjectFormatFileType, businessObjectFormatVersion, partitionValue, subPartitionValues, storageName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessObjectDataInvalidateUnregisteredRequest {\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(" 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 ");
}
}