Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 60.1.3-v202304250417
*
*
* 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.IdentityPreviewV1;
import com.seeq.model.ItemPreviewV1;
import com.seeq.model.PermissionsV1;
import com.seeq.model.ScheduleOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
* The scheduled notebooks within this Project
*/
@Schema(description = "The scheduled notebooks within this Project")
public class ScheduledNotebookOutputV1 {
@JsonProperty("averageRunTime")
private Long averageRunTime = null;
@JsonProperty("description")
private String description = null;
@JsonProperty("effectivePermissions")
private PermissionsV1 effectivePermissions = null;
@JsonProperty("enabled")
private Boolean enabled = true;
@JsonProperty("filePath")
private String filePath = null;
@JsonProperty("id")
private String id = null;
@JsonProperty("isArchived")
private Boolean isArchived = false;
@JsonProperty("isRedacted")
private Boolean isRedacted = false;
@JsonProperty("label")
private String label = null;
@JsonProperty("name")
private String name = null;
@JsonProperty("project")
private ItemPreviewV1 project = null;
@JsonProperty("runUser")
private IdentityPreviewV1 runUser = null;
@JsonProperty("schedules")
private List schedules = new ArrayList();
@JsonProperty("statusMessage")
private String statusMessage = null;
@JsonProperty("timezone")
private String timezone = null;
@JsonProperty("totalRunTime")
private Long totalRunTime = null;
@JsonProperty("translationKey")
private String translationKey = null;
@JsonProperty("type")
private String type = null;
public ScheduledNotebookOutputV1 averageRunTime(Long averageRunTime) {
this.averageRunTime = averageRunTime;
return this;
}
/**
* The average run time of the Notebook, in ms
* @return averageRunTime
**/
@Schema(description = "The average run time of the Notebook, in ms")
public Long getAverageRunTime() {
return averageRunTime;
}
public void setAverageRunTime(Long averageRunTime) {
this.averageRunTime = averageRunTime;
}
public ScheduledNotebookOutputV1 description(String description) {
this.description = description;
return this;
}
/**
* Clarifying information or other plain language description of this item
* @return description
**/
@Schema(description = "Clarifying information or other plain language description of this item")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public ScheduledNotebookOutputV1 effectivePermissions(PermissionsV1 effectivePermissions) {
this.effectivePermissions = effectivePermissions;
return this;
}
/**
* Get effectivePermissions
* @return effectivePermissions
**/
@Schema(description = "")
public PermissionsV1 getEffectivePermissions() {
return effectivePermissions;
}
public void setEffectivePermissions(PermissionsV1 effectivePermissions) {
this.effectivePermissions = effectivePermissions;
}
public ScheduledNotebookOutputV1 enabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
/**
* Whether the schedule is enabled to run jobs
* @return enabled
**/
@Schema(description = "Whether the schedule is enabled to run jobs")
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public ScheduledNotebookOutputV1 filePath(String filePath) {
this.filePath = filePath;
return this;
}
/**
* The path to the ipynb file to be run
* @return filePath
**/
@Schema(description = "The path to the ipynb file to be run")
public String getFilePath() {
return filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
}
public ScheduledNotebookOutputV1 id(String id) {
this.id = id;
return this;
}
/**
* The ID that can be used to interact with the item
* @return id
**/
@Schema(required = true, description = "The ID that can be used to interact with the item")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public ScheduledNotebookOutputV1 isArchived(Boolean isArchived) {
this.isArchived = isArchived;
return this;
}
/**
* Whether item is archived
* @return isArchived
**/
@Schema(description = "Whether item is archived")
public Boolean getIsArchived() {
return isArchived;
}
public void setIsArchived(Boolean isArchived) {
this.isArchived = isArchived;
}
public ScheduledNotebookOutputV1 isRedacted(Boolean isRedacted) {
this.isRedacted = isRedacted;
return this;
}
/**
* Whether item is redacted
* @return isRedacted
**/
@Schema(description = "Whether item is redacted")
public Boolean getIsRedacted() {
return isRedacted;
}
public void setIsRedacted(Boolean isRedacted) {
this.isRedacted = isRedacted;
}
public ScheduledNotebookOutputV1 label(String label) {
this.label = label;
return this;
}
/**
* The label to distinguish different schedules of a given Notebook filePath
* @return label
**/
@Schema(description = "The label to distinguish different schedules of a given Notebook filePath")
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public ScheduledNotebookOutputV1 name(String name) {
this.name = name;
return this;
}
/**
* The human readable name
* @return name
**/
@Schema(required = true, description = "The human readable name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ScheduledNotebookOutputV1 project(ItemPreviewV1 project) {
this.project = project;
return this;
}
/**
* Get project
* @return project
**/
@Schema(description = "")
public ItemPreviewV1 getProject() {
return project;
}
public void setProject(ItemPreviewV1 project) {
this.project = project;
}
public ScheduledNotebookOutputV1 runUser(IdentityPreviewV1 runUser) {
this.runUser = runUser;
return this;
}
/**
* Get runUser
* @return runUser
**/
@Schema(description = "")
public IdentityPreviewV1 getRunUser() {
return runUser;
}
public void setRunUser(IdentityPreviewV1 runUser) {
this.runUser = runUser;
}
public ScheduledNotebookOutputV1 schedules(List schedules) {
this.schedules = schedules;
return this;
}
public ScheduledNotebookOutputV1 addSchedulesItem(ScheduleOutputV1 schedulesItem) {
if (this.schedules == null) {
this.schedules = new ArrayList();
}
this.schedules.add(schedulesItem);
return this;
}
/**
* The run schedule for the Notebook-label combination
* @return schedules
**/
@Schema(description = "The run schedule for the Notebook-label combination")
public List getSchedules() {
return schedules;
}
public void setSchedules(List schedules) {
this.schedules = schedules;
}
public ScheduledNotebookOutputV1 statusMessage(String statusMessage) {
this.statusMessage = statusMessage;
return this;
}
/**
* A plain language status message with information about any issues that may have been encountered during an operation
* @return statusMessage
**/
@Schema(description = "A plain language status message with information about any issues that may have been encountered during an operation")
public String getStatusMessage() {
return statusMessage;
}
public void setStatusMessage(String statusMessage) {
this.statusMessage = statusMessage;
}
public ScheduledNotebookOutputV1 timezone(String timezone) {
this.timezone = timezone;
return this;
}
/**
* The timezone in which the schedule will be run
* @return timezone
**/
@Schema(description = "The timezone in which the schedule will be run")
public String getTimezone() {
return timezone;
}
public void setTimezone(String timezone) {
this.timezone = timezone;
}
public ScheduledNotebookOutputV1 totalRunTime(Long totalRunTime) {
this.totalRunTime = totalRunTime;
return this;
}
/**
* The total run time of the Notebook, in ms
* @return totalRunTime
**/
@Schema(description = "The total run time of the Notebook, in ms")
public Long getTotalRunTime() {
return totalRunTime;
}
public void setTotalRunTime(Long totalRunTime) {
this.totalRunTime = totalRunTime;
}
public ScheduledNotebookOutputV1 translationKey(String translationKey) {
this.translationKey = translationKey;
return this;
}
/**
* The item's translation key, if any
* @return translationKey
**/
@Schema(description = "The item's translation key, if any")
public String getTranslationKey() {
return translationKey;
}
public void setTranslationKey(String translationKey) {
this.translationKey = translationKey;
}
public ScheduledNotebookOutputV1 type(String type) {
this.type = type;
return this;
}
/**
* The type of the item
* @return type
**/
@Schema(required = true, description = "The type of the item")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ScheduledNotebookOutputV1 scheduledNotebookOutputV1 = (ScheduledNotebookOutputV1) o;
return Objects.equals(this.averageRunTime, scheduledNotebookOutputV1.averageRunTime) &&
Objects.equals(this.description, scheduledNotebookOutputV1.description) &&
Objects.equals(this.effectivePermissions, scheduledNotebookOutputV1.effectivePermissions) &&
Objects.equals(this.enabled, scheduledNotebookOutputV1.enabled) &&
Objects.equals(this.filePath, scheduledNotebookOutputV1.filePath) &&
Objects.equals(this.id, scheduledNotebookOutputV1.id) &&
Objects.equals(this.isArchived, scheduledNotebookOutputV1.isArchived) &&
Objects.equals(this.isRedacted, scheduledNotebookOutputV1.isRedacted) &&
Objects.equals(this.label, scheduledNotebookOutputV1.label) &&
Objects.equals(this.name, scheduledNotebookOutputV1.name) &&
Objects.equals(this.project, scheduledNotebookOutputV1.project) &&
Objects.equals(this.runUser, scheduledNotebookOutputV1.runUser) &&
Objects.equals(this.schedules, scheduledNotebookOutputV1.schedules) &&
Objects.equals(this.statusMessage, scheduledNotebookOutputV1.statusMessage) &&
Objects.equals(this.timezone, scheduledNotebookOutputV1.timezone) &&
Objects.equals(this.totalRunTime, scheduledNotebookOutputV1.totalRunTime) &&
Objects.equals(this.translationKey, scheduledNotebookOutputV1.translationKey) &&
Objects.equals(this.type, scheduledNotebookOutputV1.type);
}
@Override
public int hashCode() {
return Objects.hash(averageRunTime, description, effectivePermissions, enabled, filePath, id, isArchived, isRedacted, label, name, project, runUser, schedules, statusMessage, timezone, totalRunTime, translationKey, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ScheduledNotebookOutputV1 {\n");
sb.append(" averageRunTime: ").append(toIndentedString(averageRunTime)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" filePath: ").append(toIndentedString(filePath)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" isArchived: ").append(toIndentedString(isArchived)).append("\n");
sb.append(" isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
sb.append(" label: ").append(toIndentedString(label)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" project: ").append(toIndentedString(project)).append("\n");
sb.append(" runUser: ").append(toIndentedString(runUser)).append("\n");
sb.append(" schedules: ").append(toIndentedString(schedules)).append("\n");
sb.append(" statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n");
sb.append(" totalRunTime: ").append(toIndentedString(totalRunTime)).append("\n");
sb.append(" translationKey: ").append(toIndentedString(translationKey)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).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 ");
}
}