All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.finra.herd.sdk.model.BusinessObjectDataStorageFileKey Maven / Gradle / Ivy

There is a newer version: 0.160.0
Show newest version
/*
 * 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;

/**
 * BusinessObjectDataStorageFileKey
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BusinessObjectDataStorageFileKey {
  @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("filePath")
  private String filePath = null;

  public BusinessObjectDataStorageFileKey namespace(String namespace) {
    this.namespace = namespace;
    return this;
  }

   /**
   * The namespace of the business object definition
   * @return namespace
  **/
  @ApiModelProperty(required = true, value = "The namespace of the business object definition")
  public String getNamespace() {
    return namespace;
  }

  public void setNamespace(String namespace) {
    this.namespace = namespace;
  }

  public BusinessObjectDataStorageFileKey businessObjectDefinitionName(String businessObjectDefinitionName) {
    this.businessObjectDefinitionName = businessObjectDefinitionName;
    return this;
  }

   /**
   * The business object definition name
   * @return businessObjectDefinitionName
  **/
  @ApiModelProperty(required = true, value = "The business object definition name")
  public String getBusinessObjectDefinitionName() {
    return businessObjectDefinitionName;
  }

  public void setBusinessObjectDefinitionName(String businessObjectDefinitionName) {
    this.businessObjectDefinitionName = businessObjectDefinitionName;
  }

  public BusinessObjectDataStorageFileKey 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 BusinessObjectDataStorageFileKey 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 BusinessObjectDataStorageFileKey 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 BusinessObjectDataStorageFileKey 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 BusinessObjectDataStorageFileKey subPartitionValues(List subPartitionValues) {
    this.subPartitionValues = subPartitionValues;
    return this;
  }

  public BusinessObjectDataStorageFileKey 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 BusinessObjectDataStorageFileKey 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 BusinessObjectDataStorageFileKey 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 BusinessObjectDataStorageFileKey filePath(String filePath) {
    this.filePath = filePath;
    return this;
  }

   /**
   * The fully qualified file path to the data
   * @return filePath
  **/
  @ApiModelProperty(required = true, value = "The fully qualified file path to the data")
  public String getFilePath() {
    return filePath;
  }

  public void setFilePath(String filePath) {
    this.filePath = filePath;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    BusinessObjectDataStorageFileKey businessObjectDataStorageFileKey = (BusinessObjectDataStorageFileKey) o;
    return Objects.equals(this.namespace, businessObjectDataStorageFileKey.namespace) &&
        Objects.equals(this.businessObjectDefinitionName, businessObjectDataStorageFileKey.businessObjectDefinitionName) &&
        Objects.equals(this.businessObjectFormatUsage, businessObjectDataStorageFileKey.businessObjectFormatUsage) &&
        Objects.equals(this.businessObjectFormatFileType, businessObjectDataStorageFileKey.businessObjectFormatFileType) &&
        Objects.equals(this.businessObjectFormatVersion, businessObjectDataStorageFileKey.businessObjectFormatVersion) &&
        Objects.equals(this.partitionValue, businessObjectDataStorageFileKey.partitionValue) &&
        Objects.equals(this.subPartitionValues, businessObjectDataStorageFileKey.subPartitionValues) &&
        Objects.equals(this.businessObjectDataVersion, businessObjectDataStorageFileKey.businessObjectDataVersion) &&
        Objects.equals(this.storageName, businessObjectDataStorageFileKey.storageName) &&
        Objects.equals(this.filePath, businessObjectDataStorageFileKey.filePath);
  }

  @Override
  public int hashCode() {
    return Objects.hash(namespace, businessObjectDefinitionName, businessObjectFormatUsage, businessObjectFormatFileType, businessObjectFormatVersion, partitionValue, subPartitionValues, businessObjectDataVersion, storageName, filePath);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class BusinessObjectDataStorageFileKey {\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("    filePath: ").append(toIndentedString(filePath)).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    ");
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy