All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.seeq.model.ScheduledNotebookInputV1 Maven / Gradle / Ivy

There is a newer version: 66.0.0-v202410141803
Show newest version
/*
 * Seeq REST API
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 63.1.6-v202409101657
 * 
 *
 * 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.seeq.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.seeq.model.ScheduleInputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
 * ScheduledNotebookInputV1
 */
public class ScheduledNotebookInputV1 {
  @JsonProperty("description")
  private String description = null;

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

  @JsonProperty("filePath")
  private String filePath = null;

  @JsonProperty("label")
  private String label = null;

  @JsonProperty("notifyOnAutomaticUnschedule")
  private Boolean notifyOnAutomaticUnschedule = null;

  @JsonProperty("notifyOnSkippedExecution")
  private Boolean notifyOnSkippedExecution = null;

  @JsonProperty("schedules")
  private List schedules = new ArrayList();

  @JsonProperty("timezone")
  private String timezone = null;

  @JsonProperty("userId")
  private String userId = null;

  public ScheduledNotebookInputV1 description(String description) {
    this.description = description;
    return this;
  }

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

  public void setDescription(String description) {
    this.description = description;
  }

  public ScheduledNotebookInputV1 enabled(Boolean enabled) {
    this.enabled = enabled;
    return this;
  }

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

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

  public ScheduledNotebookInputV1 filePath(String filePath) {
    this.filePath = filePath;
    return this;
  }

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

  public void setFilePath(String filePath) {
    this.filePath = filePath;
  }

  public ScheduledNotebookInputV1 label(String label) {
    this.label = label;
    return this;
  }

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

  public void setLabel(String label) {
    this.label = label;
  }

  public ScheduledNotebookInputV1 notifyOnAutomaticUnschedule(Boolean notifyOnAutomaticUnschedule) {
    this.notifyOnAutomaticUnschedule = notifyOnAutomaticUnschedule;
    return this;
  }

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

  public void setNotifyOnAutomaticUnschedule(Boolean notifyOnAutomaticUnschedule) {
    this.notifyOnAutomaticUnschedule = notifyOnAutomaticUnschedule;
  }

  public ScheduledNotebookInputV1 notifyOnSkippedExecution(Boolean notifyOnSkippedExecution) {
    this.notifyOnSkippedExecution = notifyOnSkippedExecution;
    return this;
  }

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

  public void setNotifyOnSkippedExecution(Boolean notifyOnSkippedExecution) {
    this.notifyOnSkippedExecution = notifyOnSkippedExecution;
  }

  public ScheduledNotebookInputV1 schedules(List schedules) {
    this.schedules = schedules;
    return this;
  }

  public ScheduledNotebookInputV1 addSchedulesItem(ScheduleInputV1 schedulesItem) {
    if (this.schedules == null) {
      this.schedules = new ArrayList();
    }
    this.schedules.add(schedulesItem);
    return this;
  }

   /**
   * Get schedules
   * @return schedules
  **/
  @Schema(description = "")
  public List getSchedules() {
    return schedules;
  }

  public void setSchedules(List schedules) {
    this.schedules = schedules;
  }

  public ScheduledNotebookInputV1 timezone(String timezone) {
    this.timezone = timezone;
    return this;
  }

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

  public void setTimezone(String timezone) {
    this.timezone = timezone;
  }

  public ScheduledNotebookInputV1 userId(String userId) {
    this.userId = userId;
    return this;
  }

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

  public void setUserId(String userId) {
    this.userId = userId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ScheduledNotebookInputV1 scheduledNotebookInputV1 = (ScheduledNotebookInputV1) o;
    return Objects.equals(this.description, scheduledNotebookInputV1.description) &&
        Objects.equals(this.enabled, scheduledNotebookInputV1.enabled) &&
        Objects.equals(this.filePath, scheduledNotebookInputV1.filePath) &&
        Objects.equals(this.label, scheduledNotebookInputV1.label) &&
        Objects.equals(this.notifyOnAutomaticUnschedule, scheduledNotebookInputV1.notifyOnAutomaticUnschedule) &&
        Objects.equals(this.notifyOnSkippedExecution, scheduledNotebookInputV1.notifyOnSkippedExecution) &&
        Objects.equals(this.schedules, scheduledNotebookInputV1.schedules) &&
        Objects.equals(this.timezone, scheduledNotebookInputV1.timezone) &&
        Objects.equals(this.userId, scheduledNotebookInputV1.userId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(description, enabled, filePath, label, notifyOnAutomaticUnschedule, notifyOnSkippedExecution, schedules, timezone, userId);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ScheduledNotebookInputV1 {\n");
    
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    enabled: ").append(toIndentedString(enabled)).append("\n");
    sb.append("    filePath: ").append(toIndentedString(filePath)).append("\n");
    sb.append("    label: ").append(toIndentedString(label)).append("\n");
    sb.append("    notifyOnAutomaticUnschedule: ").append(toIndentedString(notifyOnAutomaticUnschedule)).append("\n");
    sb.append("    notifyOnSkippedExecution: ").append(toIndentedString(notifyOnSkippedExecution)).append("\n");
    sb.append("    schedules: ").append(toIndentedString(schedules)).append("\n");
    sb.append("    timezone: ").append(toIndentedString(timezone)).append("\n");
    sb.append("    userId: ").append(toIndentedString(userId)).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    ");
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy