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

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

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

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

  @SerializedName("enabled")
  private Boolean enabled = null;

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

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

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

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

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

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

  public ApiHive3ReplicationScheduledQueriesResultRow queryId(java.math.BigDecimal queryId) {
    this.queryId = queryId;
    return this;
  }

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

  public void setQueryId(java.math.BigDecimal queryId) {
    this.queryId = queryId;
  }

  public ApiHive3ReplicationScheduledQueriesResultRow 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 ApiHive3ReplicationScheduledQueriesResultRow enabled(Boolean enabled) {
    this.enabled = enabled;
    return this;
  }

   /**
   * Get enabled
   * @return enabled
  **/
  @Schema(description = "")
  public Boolean isEnabled() {
    return enabled;
  }

  public void setEnabled(Boolean enabled) {
    this.enabled = enabled;
  }

  public ApiHive3ReplicationScheduledQueriesResultRow nameSpace(String nameSpace) {
    this.nameSpace = nameSpace;
    return this;
  }

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

  public void setNameSpace(String nameSpace) {
    this.nameSpace = nameSpace;
  }

  public ApiHive3ReplicationScheduledQueriesResultRow schedule(String schedule) {
    this.schedule = schedule;
    return this;
  }

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

  public void setSchedule(String schedule) {
    this.schedule = schedule;
  }

  public ApiHive3ReplicationScheduledQueriesResultRow user(String user) {
    this.user = user;
    return this;
  }

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

  public void setUser(String user) {
    this.user = user;
  }

  public ApiHive3ReplicationScheduledQueriesResultRow query(String query) {
    this.query = query;
    return this;
  }

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

  public void setQuery(String query) {
    this.query = query;
  }

  public ApiHive3ReplicationScheduledQueriesResultRow nextExecution(String nextExecution) {
    this.nextExecution = nextExecution;
    return this;
  }

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

  public void setNextExecution(String nextExecution) {
    this.nextExecution = nextExecution;
  }

  public ApiHive3ReplicationScheduledQueriesResultRow 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;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiHive3ReplicationScheduledQueriesResultRow apiHive3ReplicationScheduledQueriesResultRow = (ApiHive3ReplicationScheduledQueriesResultRow) o;
    return Objects.equals(this.queryId, apiHive3ReplicationScheduledQueriesResultRow.queryId) &&
        Objects.equals(this.name, apiHive3ReplicationScheduledQueriesResultRow.name) &&
        Objects.equals(this.enabled, apiHive3ReplicationScheduledQueriesResultRow.enabled) &&
        Objects.equals(this.nameSpace, apiHive3ReplicationScheduledQueriesResultRow.nameSpace) &&
        Objects.equals(this.schedule, apiHive3ReplicationScheduledQueriesResultRow.schedule) &&
        Objects.equals(this.user, apiHive3ReplicationScheduledQueriesResultRow.user) &&
        Objects.equals(this.query, apiHive3ReplicationScheduledQueriesResultRow.query) &&
        Objects.equals(this.nextExecution, apiHive3ReplicationScheduledQueriesResultRow.nextExecution) &&
        Objects.equals(this.executionId, apiHive3ReplicationScheduledQueriesResultRow.executionId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(queryId, name, enabled, nameSpace, schedule, user, query, nextExecution, executionId);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiHive3ReplicationScheduledQueriesResultRow {\n");
    
    sb.append("    queryId: ").append(toIndentedString(queryId)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    enabled: ").append(toIndentedString(enabled)).append("\n");
    sb.append("    nameSpace: ").append(toIndentedString(nameSpace)).append("\n");
    sb.append("    schedule: ").append(toIndentedString(schedule)).append("\n");
    sb.append("    user: ").append(toIndentedString(user)).append("\n");
    sb.append("    query: ").append(toIndentedString(query)).append("\n");
    sb.append("    nextExecution: ").append(toIndentedString(nextExecution)).append("\n");
    sb.append("    executionId: ").append(toIndentedString(executionId)).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    ");
  }

}
