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

org.finra.herd.sdk.model.BusinessObjectDataAvailabilityRequest 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;
import org.finra.herd.sdk.model.PartitionValueFilter;

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

  @JsonProperty("partitionValueFilter")
  private PartitionValueFilter partitionValueFilter = null;

  @JsonProperty("businessObjectDataVersion")
  private Integer businessObjectDataVersion = null;

  @JsonProperty("storageNames")
  private List storageNames = null;

  @JsonProperty("storageName")
  private String storageName = null;

  @JsonProperty("includeAllRegisteredSubPartitions")
  private Boolean includeAllRegisteredSubPartitions = null;

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

   /**
   * The Usage of a 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 a 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 BusinessObjectDataAvailabilityRequest 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 BusinessObjectDataAvailabilityRequest 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 BusinessObjectDataAvailabilityRequest partitionValueFilters(List partitionValueFilters) {
    this.partitionValueFilters = partitionValueFilters;
    return this;
  }

  public BusinessObjectDataAvailabilityRequest addPartitionValueFiltersItem(PartitionValueFilter partitionValueFiltersItem) {
    if (this.partitionValueFilters == null) {
      this.partitionValueFilters = new ArrayList();
    }
    this.partitionValueFilters.add(partitionValueFiltersItem);
    return this;
  }

   /**
   * A container for Partition Value Filters
   * @return partitionValueFilters
  **/
  @ApiModelProperty(value = "A container for Partition Value Filters")
  public List getPartitionValueFilters() {
    return partitionValueFilters;
  }

  public void setPartitionValueFilters(List partitionValueFilters) {
    this.partitionValueFilters = partitionValueFilters;
  }

  public BusinessObjectDataAvailabilityRequest partitionValueFilter(PartitionValueFilter partitionValueFilter) {
    this.partitionValueFilter = partitionValueFilter;
    return this;
  }

   /**
   * Get partitionValueFilter
   * @return partitionValueFilter
  **/
  @ApiModelProperty(value = "")
  public PartitionValueFilter getPartitionValueFilter() {
    return partitionValueFilter;
  }

  public void setPartitionValueFilter(PartitionValueFilter partitionValueFilter) {
    this.partitionValueFilter = partitionValueFilter;
  }

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

  public BusinessObjectDataAvailabilityRequest addStorageNamesItem(String storageNamesItem) {
    if (this.storageNames == null) {
      this.storageNames = new ArrayList();
    }
    this.storageNames.add(storageNamesItem);
    return this;
  }

   /**
   * A container for Storage Names to include when checking for Business Object Data availability
   * @return storageNames
  **/
  @ApiModelProperty(value = "A container for Storage Names to include when checking for Business Object Data availability")
  public List getStorageNames() {
    return storageNames;
  }

  public void setStorageNames(List storageNames) {
    this.storageNames = storageNames;
  }

  public BusinessObjectDataAvailabilityRequest storageName(String storageName) {
    this.storageName = storageName;
    return this;
  }

   /**
   * Name of an existing storage known to the System. Required when StorageName is present
   * @return storageName
  **/
  @ApiModelProperty(value = "Name of an existing storage known to the System. Required when StorageName is present")
  public String getStorageName() {
    return storageName;
  }

  public void setStorageName(String storageName) {
    this.storageName = storageName;
  }

  public BusinessObjectDataAvailabilityRequest includeAllRegisteredSubPartitions(Boolean includeAllRegisteredSubPartitions) {
    this.includeAllRegisteredSubPartitions = includeAllRegisteredSubPartitions;
    return this;
  }

   /**
   * Specifies to perform an exhaustive search to return availability for ALL registered sub-partitions (registered as individual                   business object data instances) except for the ones with \"DELETED\" status. This parameter has no impact when business object data version is                   specified. Default value is false, which means that availability ignores any \"not available\" registered sub-partitions when it finds at least                   one \"VALID\" registered sub-partitions for a requested business object data partition value                
   * @return includeAllRegisteredSubPartitions
  **/
  @ApiModelProperty(value = "Specifies to perform an exhaustive search to return availability for ALL registered sub-partitions (registered as individual                   business object data instances) except for the ones with \"DELETED\" status. This parameter has no impact when business object data version is                   specified. Default value is false, which means that availability ignores any \"not available\" registered sub-partitions when it finds at least                   one \"VALID\" registered sub-partitions for a requested business object data partition value                ")
  public Boolean getIncludeAllRegisteredSubPartitions() {
    return includeAllRegisteredSubPartitions;
  }

  public void setIncludeAllRegisteredSubPartitions(Boolean includeAllRegisteredSubPartitions) {
    this.includeAllRegisteredSubPartitions = includeAllRegisteredSubPartitions;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    BusinessObjectDataAvailabilityRequest businessObjectDataAvailabilityRequest = (BusinessObjectDataAvailabilityRequest) o;
    return Objects.equals(this.namespace, businessObjectDataAvailabilityRequest.namespace) &&
        Objects.equals(this.businessObjectDefinitionName, businessObjectDataAvailabilityRequest.businessObjectDefinitionName) &&
        Objects.equals(this.businessObjectFormatUsage, businessObjectDataAvailabilityRequest.businessObjectFormatUsage) &&
        Objects.equals(this.businessObjectFormatFileType, businessObjectDataAvailabilityRequest.businessObjectFormatFileType) &&
        Objects.equals(this.businessObjectFormatVersion, businessObjectDataAvailabilityRequest.businessObjectFormatVersion) &&
        Objects.equals(this.partitionValueFilters, businessObjectDataAvailabilityRequest.partitionValueFilters) &&
        Objects.equals(this.partitionValueFilter, businessObjectDataAvailabilityRequest.partitionValueFilter) &&
        Objects.equals(this.businessObjectDataVersion, businessObjectDataAvailabilityRequest.businessObjectDataVersion) &&
        Objects.equals(this.storageNames, businessObjectDataAvailabilityRequest.storageNames) &&
        Objects.equals(this.storageName, businessObjectDataAvailabilityRequest.storageName) &&
        Objects.equals(this.includeAllRegisteredSubPartitions, businessObjectDataAvailabilityRequest.includeAllRegisteredSubPartitions);
  }

  @Override
  public int hashCode() {
    return Objects.hash(namespace, businessObjectDefinitionName, businessObjectFormatUsage, businessObjectFormatFileType, businessObjectFormatVersion, partitionValueFilters, partitionValueFilter, businessObjectDataVersion, storageNames, storageName, includeAllRegisteredSubPartitions);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class BusinessObjectDataAvailabilityRequest {\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("    partitionValueFilters: ").append(toIndentedString(partitionValueFilters)).append("\n");
    sb.append("    partitionValueFilter: ").append(toIndentedString(partitionValueFilter)).append("\n");
    sb.append("    businessObjectDataVersion: ").append(toIndentedString(businessObjectDataVersion)).append("\n");
    sb.append("    storageNames: ").append(toIndentedString(storageNames)).append("\n");
    sb.append("    storageName: ").append(toIndentedString(storageName)).append("\n");
    sb.append("    includeAllRegisteredSubPartitions: ").append(toIndentedString(includeAllRegisteredSubPartitions)).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