/*
 * Cloudera Manager API
 * <h1>Cloudera Manager API v57</h1>       <p>Introduced in Cloudera Manager 7.13.1</p>       <p><a href=\"http://www.cloudera.com/documentation.html\">Cloudera Product Documentation</a></p>
 *
 * OpenAPI spec version: 7.13.1
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.cloudera.api.swagger.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
/**
 * Arguments used to install CDP a Private Cloud Control Plane
 */
@Schema(description = "Arguments used to install CDP a Private Cloud Control Plane")
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2026-05-19T08:29:59.033Z[Etc/UTC]")

public class ApiCreateEnvironment {
  @SerializedName("cmUser")
  private String cmUser = null;

  @SerializedName("cmPass")
  private String cmPass = null;

  @SerializedName("cmAddress")
  private String cmAddress = null;

  @SerializedName("clusterName")
  private String clusterName = null;

  @SerializedName("envName")
  private String envName = null;

  public ApiCreateEnvironment cmUser(String cmUser) {
    this.cmUser = cmUser;
    return this;
  }

   /**
   * Get cmUser
   * @return cmUser
  **/
  @Schema(description = "")
  public String getCmUser() {
    return cmUser;
  }

  public void setCmUser(String cmUser) {
    this.cmUser = cmUser;
  }

  public ApiCreateEnvironment cmPass(String cmPass) {
    this.cmPass = cmPass;
    return this;
  }

   /**
   * Get cmPass
   * @return cmPass
  **/
  @Schema(description = "")
  public String getCmPass() {
    return cmPass;
  }

  public void setCmPass(String cmPass) {
    this.cmPass = cmPass;
  }

  public ApiCreateEnvironment cmAddress(String cmAddress) {
    this.cmAddress = cmAddress;
    return this;
  }

   /**
   * Get cmAddress
   * @return cmAddress
  **/
  @Schema(description = "")
  public String getCmAddress() {
    return cmAddress;
  }

  public void setCmAddress(String cmAddress) {
    this.cmAddress = cmAddress;
  }

  public ApiCreateEnvironment clusterName(String clusterName) {
    this.clusterName = clusterName;
    return this;
  }

   /**
   * Get clusterName
   * @return clusterName
  **/
  @Schema(description = "")
  public String getClusterName() {
    return clusterName;
  }

  public void setClusterName(String clusterName) {
    this.clusterName = clusterName;
  }

  public ApiCreateEnvironment envName(String envName) {
    this.envName = envName;
    return this;
  }

   /**
   * Get envName
   * @return envName
  **/
  @Schema(description = "")
  public String getEnvName() {
    return envName;
  }

  public void setEnvName(String envName) {
    this.envName = envName;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiCreateEnvironment apiCreateEnvironment = (ApiCreateEnvironment) o;
    return Objects.equals(this.cmUser, apiCreateEnvironment.cmUser) &&
        Objects.equals(this.cmPass, apiCreateEnvironment.cmPass) &&
        Objects.equals(this.cmAddress, apiCreateEnvironment.cmAddress) &&
        Objects.equals(this.clusterName, apiCreateEnvironment.clusterName) &&
        Objects.equals(this.envName, apiCreateEnvironment.envName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(cmUser, cmPass, cmAddress, clusterName, envName);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiCreateEnvironment {\n");
    
    sb.append("    cmUser: ").append(toIndentedString(cmUser)).append("\n");
    sb.append("    cmPass: ").append(toIndentedString(cmPass)).append("\n");
    sb.append("    cmAddress: ").append(toIndentedString(cmAddress)).append("\n");
    sb.append("    clusterName: ").append(toIndentedString(clusterName)).append("\n");
    sb.append("    envName: ").append(toIndentedString(envName)).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    ");
  }

}
