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

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

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

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

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

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

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

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

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

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

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

  public ApiHive3ReplicationScheduledExecutionsResultRow executionId(java.math.BigDecimal executionId) {
    this.executionId = executionId;
    return this;
  }

   /**
   * Get executionId
   * @return executionId
  **/
  @Schema(description = "")
  public java.math.BigDecimal getExecutionId() {
    return executionId;
  }

  public void setExecutionId(java.math.BigDecimal executionId) {
    this.executionId = executionId;
  }

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

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

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

  public ApiHive3ReplicationScheduledExecutionsResultRow queryId(String queryId) {
    this.queryId = queryId;
    return this;
  }

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

  public void setQueryId(String queryId) {
    this.queryId = queryId;
  }

  public ApiHive3ReplicationScheduledExecutionsResultRow state(String state) {
    this.state = state;
    return this;
  }

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

  public void setState(String state) {
    this.state = state;
  }

  public ApiHive3ReplicationScheduledExecutionsResultRow startTime(String startTime) {
    this.startTime = startTime;
    return this;
  }

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

  public void setStartTime(String startTime) {
    this.startTime = startTime;
  }

  public ApiHive3ReplicationScheduledExecutionsResultRow endTime(String endTime) {
    this.endTime = endTime;
    return this;
  }

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

  public void setEndTime(String endTime) {
    this.endTime = endTime;
  }

  public ApiHive3ReplicationScheduledExecutionsResultRow elapsed(java.math.BigDecimal elapsed) {
    this.elapsed = elapsed;
    return this;
  }

   /**
   * Get elapsed
   * @return elapsed
  **/
  @Schema(description = "")
  public java.math.BigDecimal getElapsed() {
    return elapsed;
  }

  public void setElapsed(java.math.BigDecimal elapsed) {
    this.elapsed = elapsed;
  }

  public ApiHive3ReplicationScheduledExecutionsResultRow errorMessage(String errorMessage) {
    this.errorMessage = errorMessage;
    return this;
  }

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

  public void setErrorMessage(String errorMessage) {
    this.errorMessage = errorMessage;
  }

  public ApiHive3ReplicationScheduledExecutionsResultRow lastUpdateTime(String lastUpdateTime) {
    this.lastUpdateTime = lastUpdateTime;
    return this;
  }

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

  public void setLastUpdateTime(String lastUpdateTime) {
    this.lastUpdateTime = lastUpdateTime;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiHive3ReplicationScheduledExecutionsResultRow apiHive3ReplicationScheduledExecutionsResultRow = (ApiHive3ReplicationScheduledExecutionsResultRow) o;
    return Objects.equals(this.executionId, apiHive3ReplicationScheduledExecutionsResultRow.executionId) &&
        Objects.equals(this.name, apiHive3ReplicationScheduledExecutionsResultRow.name) &&
        Objects.equals(this.queryId, apiHive3ReplicationScheduledExecutionsResultRow.queryId) &&
        Objects.equals(this.state, apiHive3ReplicationScheduledExecutionsResultRow.state) &&
        Objects.equals(this.startTime, apiHive3ReplicationScheduledExecutionsResultRow.startTime) &&
        Objects.equals(this.endTime, apiHive3ReplicationScheduledExecutionsResultRow.endTime) &&
        Objects.equals(this.elapsed, apiHive3ReplicationScheduledExecutionsResultRow.elapsed) &&
        Objects.equals(this.errorMessage, apiHive3ReplicationScheduledExecutionsResultRow.errorMessage) &&
        Objects.equals(this.lastUpdateTime, apiHive3ReplicationScheduledExecutionsResultRow.lastUpdateTime);
  }

  @Override
  public int hashCode() {
    return Objects.hash(executionId, name, queryId, state, startTime, endTime, elapsed, errorMessage, lastUpdateTime);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiHive3ReplicationScheduledExecutionsResultRow {\n");
    
    sb.append("    executionId: ").append(toIndentedString(executionId)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    queryId: ").append(toIndentedString(queryId)).append("\n");
    sb.append("    state: ").append(toIndentedString(state)).append("\n");
    sb.append("    startTime: ").append(toIndentedString(startTime)).append("\n");
    sb.append("    endTime: ").append(toIndentedString(endTime)).append("\n");
    sb.append("    elapsed: ").append(toIndentedString(elapsed)).append("\n");
    sb.append("    errorMessage: ").append(toIndentedString(errorMessage)).append("\n");
    sb.append("    lastUpdateTime: ").append(toIndentedString(lastUpdateTime)).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    ");
  }

}
