All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
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.
com.seeq.model.DateRangeOutputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 64.3.0-v202405012032
*
*
* 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.CapsuleV1;
import com.seeq.model.ItemPreviewV1;
import com.seeq.model.PermissionsV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
* DateRangeOutputV1
*/
public class DateRangeOutputV1 {
@JsonProperty("condition")
private ItemPreviewV1 condition = null;
@JsonProperty("content")
private List content = new ArrayList();
@JsonProperty("cronSchedule")
private List cronSchedule = new ArrayList();
@JsonProperty("dateRange")
private CapsuleV1 dateRange = null;
@JsonProperty("description")
private String description = null;
@JsonProperty("effectivePermissions")
private PermissionsV1 effectivePermissions = null;
@JsonProperty("formula")
private String formula = null;
@JsonProperty("id")
private String id = null;
@JsonProperty("isArchived")
private Boolean isArchived = false;
@JsonProperty("isAutoUpdating")
private Boolean isAutoUpdating = null;
@JsonProperty("isBackground")
private Boolean isBackground = false;
@JsonProperty("isEnabled")
private Boolean isEnabled = true;
@JsonProperty("isRedacted")
private Boolean isRedacted = false;
@JsonProperty("name")
private String name = null;
@JsonProperty("report")
private ItemPreviewV1 report = null;
@JsonProperty("statusMessage")
private String statusMessage = null;
@JsonProperty("translationKey")
private String translationKey = null;
@JsonProperty("type")
private String type = null;
public DateRangeOutputV1 condition(ItemPreviewV1 condition) {
this.condition = condition;
return this;
}
/**
* Get condition
* @return condition
**/
@Schema(description = "")
public ItemPreviewV1 getCondition() {
return condition;
}
public void setCondition(ItemPreviewV1 condition) {
this.condition = condition;
}
public DateRangeOutputV1 content(List content) {
this.content = content;
return this;
}
public DateRangeOutputV1 addContentItem(ItemPreviewV1 contentItem) {
if (this.content == null) {
this.content = new ArrayList();
}
this.content.add(contentItem);
return this;
}
/**
* Content using this date range
* @return content
**/
@Schema(description = "Content using this date range")
public List getContent() {
return content;
}
public void setContent(List content) {
this.content = content;
}
public DateRangeOutputV1 cronSchedule(List cronSchedule) {
this.cronSchedule = cronSchedule;
return this;
}
public DateRangeOutputV1 addCronScheduleItem(String cronScheduleItem) {
if (this.cronSchedule == null) {
this.cronSchedule = new ArrayList();
}
this.cronSchedule.add(cronScheduleItem);
return this;
}
/**
* Date range update period
* @return cronSchedule
**/
@Schema(description = "Date range update period")
public List getCronSchedule() {
return cronSchedule;
}
public void setCronSchedule(List cronSchedule) {
this.cronSchedule = cronSchedule;
}
public DateRangeOutputV1 dateRange(CapsuleV1 dateRange) {
this.dateRange = dateRange;
return this;
}
/**
* Get dateRange
* @return dateRange
**/
@Schema(description = "")
public CapsuleV1 getDateRange() {
return dateRange;
}
public void setDateRange(CapsuleV1 dateRange) {
this.dateRange = dateRange;
}
public DateRangeOutputV1 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 DateRangeOutputV1 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 DateRangeOutputV1 formula(String formula) {
this.formula = formula;
return this;
}
/**
* Date range formula
* @return formula
**/
@Schema(description = "Date range formula")
public String getFormula() {
return formula;
}
public void setFormula(String formula) {
this.formula = formula;
}
public DateRangeOutputV1 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 DateRangeOutputV1 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 DateRangeOutputV1 isAutoUpdating(Boolean isAutoUpdating) {
this.isAutoUpdating = isAutoUpdating;
return this;
}
/**
* Whether this date range is auto updating
* @return isAutoUpdating
**/
@Schema(description = "Whether this date range is auto updating")
public Boolean getIsAutoUpdating() {
return isAutoUpdating;
}
public void setIsAutoUpdating(Boolean isAutoUpdating) {
this.isAutoUpdating = isAutoUpdating;
}
public DateRangeOutputV1 isBackground(Boolean isBackground) {
this.isBackground = isBackground;
return this;
}
/**
* Whether the date range, if scheduled, should continue to update if there are no subscribers (i.e. in the background)
* @return isBackground
**/
@Schema(description = "Whether the date range, if scheduled, should continue to update if there are no subscribers (i.e. in the background)")
public Boolean getIsBackground() {
return isBackground;
}
public void setIsBackground(Boolean isBackground) {
this.isBackground = isBackground;
}
public DateRangeOutputV1 isEnabled(Boolean isEnabled) {
this.isEnabled = isEnabled;
return this;
}
/**
* Whether this date range is enabled to run jobs
* @return isEnabled
**/
@Schema(description = "Whether this date range is enabled to run jobs")
public Boolean getIsEnabled() {
return isEnabled;
}
public void setIsEnabled(Boolean isEnabled) {
this.isEnabled = isEnabled;
}
public DateRangeOutputV1 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 DateRangeOutputV1 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 DateRangeOutputV1 report(ItemPreviewV1 report) {
this.report = report;
return this;
}
/**
* Get report
* @return report
**/
@Schema(description = "")
public ItemPreviewV1 getReport() {
return report;
}
public void setReport(ItemPreviewV1 report) {
this.report = report;
}
public DateRangeOutputV1 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 DateRangeOutputV1 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 DateRangeOutputV1 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;
}
DateRangeOutputV1 dateRangeOutputV1 = (DateRangeOutputV1) o;
return Objects.equals(this.condition, dateRangeOutputV1.condition) &&
Objects.equals(this.content, dateRangeOutputV1.content) &&
Objects.equals(this.cronSchedule, dateRangeOutputV1.cronSchedule) &&
Objects.equals(this.dateRange, dateRangeOutputV1.dateRange) &&
Objects.equals(this.description, dateRangeOutputV1.description) &&
Objects.equals(this.effectivePermissions, dateRangeOutputV1.effectivePermissions) &&
Objects.equals(this.formula, dateRangeOutputV1.formula) &&
Objects.equals(this.id, dateRangeOutputV1.id) &&
Objects.equals(this.isArchived, dateRangeOutputV1.isArchived) &&
Objects.equals(this.isAutoUpdating, dateRangeOutputV1.isAutoUpdating) &&
Objects.equals(this.isBackground, dateRangeOutputV1.isBackground) &&
Objects.equals(this.isEnabled, dateRangeOutputV1.isEnabled) &&
Objects.equals(this.isRedacted, dateRangeOutputV1.isRedacted) &&
Objects.equals(this.name, dateRangeOutputV1.name) &&
Objects.equals(this.report, dateRangeOutputV1.report) &&
Objects.equals(this.statusMessage, dateRangeOutputV1.statusMessage) &&
Objects.equals(this.translationKey, dateRangeOutputV1.translationKey) &&
Objects.equals(this.type, dateRangeOutputV1.type);
}
@Override
public int hashCode() {
return Objects.hash(condition, content, cronSchedule, dateRange, description, effectivePermissions, formula, id, isArchived, isAutoUpdating, isBackground, isEnabled, isRedacted, name, report, statusMessage, translationKey, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DateRangeOutputV1 {\n");
sb.append(" condition: ").append(toIndentedString(condition)).append("\n");
sb.append(" content: ").append(toIndentedString(content)).append("\n");
sb.append(" cronSchedule: ").append(toIndentedString(cronSchedule)).append("\n");
sb.append(" dateRange: ").append(toIndentedString(dateRange)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
sb.append(" formula: ").append(toIndentedString(formula)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" isArchived: ").append(toIndentedString(isArchived)).append("\n");
sb.append(" isAutoUpdating: ").append(toIndentedString(isAutoUpdating)).append("\n");
sb.append(" isBackground: ").append(toIndentedString(isBackground)).append("\n");
sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
sb.append(" isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" report: ").append(toIndentedString(report)).append("\n");
sb.append(" statusMessage: ").append(toIndentedString(statusMessage)).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 ");
}
}