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

org.finra.herd.sdk.model.CustomDdlKey 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;

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

  public CustomDdlKey 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 CustomDdlKey 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 CustomDdlKey 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 CustomDdlKey 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 CustomDdlKey businessObjectFormatVersion(Integer businessObjectFormatVersion) {
    this.businessObjectFormatVersion = businessObjectFormatVersion;
    return this;
  }

   /**
   * The numeric version of a Business Object Format
   * @return businessObjectFormatVersion
  **/
  @ApiModelProperty(value = "The numeric version of a Business Object Format")
  public Integer getBusinessObjectFormatVersion() {
    return businessObjectFormatVersion;
  }

  public void setBusinessObjectFormatVersion(Integer businessObjectFormatVersion) {
    this.businessObjectFormatVersion = businessObjectFormatVersion;
  }

  public CustomDdlKey customDdlName(String customDdlName) {
    this.customDdlName = customDdlName;
    return this;
  }

   /**
   * A user-defined descriptive name for this Custom DDL
   * @return customDdlName
  **/
  @ApiModelProperty(required = true, value = "A user-defined descriptive name for this Custom DDL")
  public String getCustomDdlName() {
    return customDdlName;
  }

  public void setCustomDdlName(String customDdlName) {
    this.customDdlName = customDdlName;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CustomDdlKey customDdlKey = (CustomDdlKey) o;
    return Objects.equals(this.namespace, customDdlKey.namespace) &&
        Objects.equals(this.businessObjectDefinitionName, customDdlKey.businessObjectDefinitionName) &&
        Objects.equals(this.businessObjectFormatUsage, customDdlKey.businessObjectFormatUsage) &&
        Objects.equals(this.businessObjectFormatFileType, customDdlKey.businessObjectFormatFileType) &&
        Objects.equals(this.businessObjectFormatVersion, customDdlKey.businessObjectFormatVersion) &&
        Objects.equals(this.customDdlName, customDdlKey.customDdlName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(namespace, businessObjectDefinitionName, businessObjectFormatUsage, businessObjectFormatFileType, businessObjectFormatVersion, customDdlName);
  }


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