/*
 * 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;
/**
 * ApiEnableCspArguments
 */

@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2026-05-19T08:29:59.033Z[Etc/UTC]")

public class ApiEnableCspArguments {
  @SerializedName("cspType")
  private String cspType = null;

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

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

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

  public ApiEnableCspArguments cspType(String cspType) {
    this.cspType = cspType;
    return this;
  }

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

  public void setCspType(String cspType) {
    this.cspType = cspType;
  }

  public ApiEnableCspArguments cspStoragePath(String cspStoragePath) {
    this.cspStoragePath = cspStoragePath;
    return this;
  }

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

  public void setCspStoragePath(String cspStoragePath) {
    this.cspStoragePath = cspStoragePath;
  }

  public ApiEnableCspArguments cspSecretPath(String cspSecretPath) {
    this.cspSecretPath = cspSecretPath;
    return this;
  }

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

  public void setCspSecretPath(String cspSecretPath) {
    this.cspSecretPath = cspSecretPath;
  }

  public ApiEnableCspArguments cspAddress(String cspAddress) {
    this.cspAddress = cspAddress;
    return this;
  }

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

  public void setCspAddress(String cspAddress) {
    this.cspAddress = cspAddress;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiEnableCspArguments apiEnableCspArguments = (ApiEnableCspArguments) o;
    return Objects.equals(this.cspType, apiEnableCspArguments.cspType) &&
        Objects.equals(this.cspStoragePath, apiEnableCspArguments.cspStoragePath) &&
        Objects.equals(this.cspSecretPath, apiEnableCspArguments.cspSecretPath) &&
        Objects.equals(this.cspAddress, apiEnableCspArguments.cspAddress);
  }

  @Override
  public int hashCode() {
    return Objects.hash(cspType, cspStoragePath, cspSecretPath, cspAddress);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiEnableCspArguments {\n");
    
    sb.append("    cspType: ").append(toIndentedString(cspType)).append("\n");
    sb.append("    cspStoragePath: ").append(toIndentedString(cspStoragePath)).append("\n");
    sb.append("    cspSecretPath: ").append(toIndentedString(cspSecretPath)).append("\n");
    sb.append("    cspAddress: ").append(toIndentedString(cspAddress)).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    ");
  }

}
