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

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

/**
 * EmrClusterDefinitionApplication
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class EmrClusterDefinitionApplication {
  @JsonProperty("name")
  private String name = null;

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

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

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

  public EmrClusterDefinitionApplication name(String name) {
    this.name = name;
    return this;
  }

   /**
   * Application name
   * @return name
  **/
  @ApiModelProperty(value = "Application name")
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public EmrClusterDefinitionApplication version(String version) {
    this.version = version;
    return this;
  }

   /**
   * Application version
   * @return version
  **/
  @ApiModelProperty(value = "Application version")
  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public EmrClusterDefinitionApplication args(List args) {
    this.args = args;
    return this;
  }

  public EmrClusterDefinitionApplication addArgsItem(String argsItem) {
    if (this.args == null) {
      this.args = new ArrayList();
    }
    this.args.add(argsItem);
    return this;
  }

   /**
   * List of arguments
   * @return args
  **/
  @ApiModelProperty(value = "List of arguments")
  public List getArgs() {
    return args;
  }

  public void setArgs(List args) {
    this.args = args;
  }

  public EmrClusterDefinitionApplication additionalInfoList(List additionalInfoList) {
    this.additionalInfoList = additionalInfoList;
    return this;
  }

  public EmrClusterDefinitionApplication addAdditionalInfoListItem(Parameter additionalInfoListItem) {
    if (this.additionalInfoList == null) {
      this.additionalInfoList = new ArrayList();
    }
    this.additionalInfoList.add(additionalInfoListItem);
    return this;
  }

   /**
   * List of additional info
   * @return additionalInfoList
  **/
  @ApiModelProperty(value = "List of additional info")
  public List getAdditionalInfoList() {
    return additionalInfoList;
  }

  public void setAdditionalInfoList(List additionalInfoList) {
    this.additionalInfoList = additionalInfoList;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    EmrClusterDefinitionApplication emrClusterDefinitionApplication = (EmrClusterDefinitionApplication) o;
    return Objects.equals(this.name, emrClusterDefinitionApplication.name) &&
        Objects.equals(this.version, emrClusterDefinitionApplication.version) &&
        Objects.equals(this.args, emrClusterDefinitionApplication.args) &&
        Objects.equals(this.additionalInfoList, emrClusterDefinitionApplication.additionalInfoList);
  }

  @Override
  public int hashCode() {
    return Objects.hash(name, version, args, additionalInfoList);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class EmrClusterDefinitionApplication {\n");
    
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    version: ").append(toIndentedString(version)).append("\n");
    sb.append("    args: ").append(toIndentedString(args)).append("\n");
    sb.append("    additionalInfoList: ").append(toIndentedString(additionalInfoList)).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