/*
 * 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.math.BigDecimal;
/**
 * Histogram bin of Impala utilization.
 */
@Schema(description = "Histogram bin of Impala utilization.")
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2026-05-19T08:29:59.033Z[Etc/UTC]")

public class ApiImpalaUtilizationHistogramBin {
  @SerializedName("startPointInclusive")
  private BigDecimal startPointInclusive = null;

  @SerializedName("endPointExclusive")
  private BigDecimal endPointExclusive = null;

  @SerializedName("numberOfImpalaDaemons")
  private java.math.BigDecimal numberOfImpalaDaemons = null;

  public ApiImpalaUtilizationHistogramBin startPointInclusive(BigDecimal startPointInclusive) {
    this.startPointInclusive = startPointInclusive;
    return this;
  }

   /**
   * start point (inclusive) of the histogram bin.
   * @return startPointInclusive
  **/
  @Schema(description = "start point (inclusive) of the histogram bin.")
  public BigDecimal getStartPointInclusive() {
    return startPointInclusive;
  }

  public void setStartPointInclusive(BigDecimal startPointInclusive) {
    this.startPointInclusive = startPointInclusive;
  }

  public ApiImpalaUtilizationHistogramBin endPointExclusive(BigDecimal endPointExclusive) {
    this.endPointExclusive = endPointExclusive;
    return this;
  }

   /**
   * end point (exclusive) of the histogram bin.
   * @return endPointExclusive
  **/
  @Schema(description = "end point (exclusive) of the histogram bin.")
  public BigDecimal getEndPointExclusive() {
    return endPointExclusive;
  }

  public void setEndPointExclusive(BigDecimal endPointExclusive) {
    this.endPointExclusive = endPointExclusive;
  }

  public ApiImpalaUtilizationHistogramBin numberOfImpalaDaemons(java.math.BigDecimal numberOfImpalaDaemons) {
    this.numberOfImpalaDaemons = numberOfImpalaDaemons;
    return this;
  }

   /**
   * Number of Impala daemons.
   * @return numberOfImpalaDaemons
  **/
  @Schema(description = "Number of Impala daemons.")
  public java.math.BigDecimal getNumberOfImpalaDaemons() {
    return numberOfImpalaDaemons;
  }

  public void setNumberOfImpalaDaemons(java.math.BigDecimal numberOfImpalaDaemons) {
    this.numberOfImpalaDaemons = numberOfImpalaDaemons;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiImpalaUtilizationHistogramBin apiImpalaUtilizationHistogramBin = (ApiImpalaUtilizationHistogramBin) o;
    return Objects.equals(this.startPointInclusive, apiImpalaUtilizationHistogramBin.startPointInclusive) &&
        Objects.equals(this.endPointExclusive, apiImpalaUtilizationHistogramBin.endPointExclusive) &&
        Objects.equals(this.numberOfImpalaDaemons, apiImpalaUtilizationHistogramBin.numberOfImpalaDaemons);
  }

  @Override
  public int hashCode() {
    return Objects.hash(startPointInclusive, endPointExclusive, numberOfImpalaDaemons);
  }


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

}
