/*
 * 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;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
 * ApiHBaseSetCFsReplicationScope
 */

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

public class ApiHBaseSetCFsReplicationScope {
  @SerializedName("scope")
  private java.math.BigDecimal scope = null;

  @SerializedName("tableCFs")
  private Map<String, List<String>> tableCFs = null;

  public ApiHBaseSetCFsReplicationScope scope(java.math.BigDecimal scope) {
    this.scope = scope;
    return this;
  }

   /**
   * Get scope
   * @return scope
  **/
  @Schema(required = true, description = "")
  public java.math.BigDecimal getScope() {
    return scope;
  }

  public void setScope(java.math.BigDecimal scope) {
    this.scope = scope;
  }

  public ApiHBaseSetCFsReplicationScope tableCFs(Map<String, List<String>> tableCFs) {
    this.tableCFs = tableCFs;
    return this;
  }

  public ApiHBaseSetCFsReplicationScope putTableCFsItem(String key, List<String> tableCFsItem) {
    if (this.tableCFs == null) {
      this.tableCFs = new HashMap<>();
    }
    this.tableCFs.put(key, tableCFsItem);
    return this;
  }

   /**
   * Get tableCFs
   * @return tableCFs
  **/
  @Schema(description = "")
  public Map<String, List<String>> getTableCFs() {
    return tableCFs;
  }

  public void setTableCFs(Map<String, List<String>> tableCFs) {
    this.tableCFs = tableCFs;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiHBaseSetCFsReplicationScope apiHBaseSetCFsReplicationScope = (ApiHBaseSetCFsReplicationScope) o;
    return Objects.equals(this.scope, apiHBaseSetCFsReplicationScope.scope) &&
        Objects.equals(this.tableCFs, apiHBaseSetCFsReplicationScope.tableCFs);
  }

  @Override
  public int hashCode() {
    return Objects.hash(scope, tableCFs);
  }


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

}
