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

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

There is a newer version: 66.0.0-v202407310200
Show newest version
/*
 * 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.AnnotationInterestOutputV1;
import com.seeq.model.AnnotationOutputV1;
import com.seeq.model.DocumentBackupOutputV1;
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;
/**
 * The list of items requested
 */
@Schema(description = "The list of items requested")
public class AnnotationOutputV1 {
  @JsonProperty("assetSelectionIds")
  private List assetSelectionIds = new ArrayList();

  @JsonProperty("background")
  private Boolean background = false;

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

  @JsonProperty("ckEnabled")
  private Boolean ckEnabled = false;

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

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

  @JsonProperty("createdBy")
  private ItemPreviewV1 createdBy = null;

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

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

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

  @JsonProperty("discoverable")
  private Boolean discoverable = false;

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

  @JsonProperty("effectivePermissions")
  private PermissionsV1 effectivePermissions = null;

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

  @JsonProperty("fixedWidth")
  private Boolean fixedWidth = false;

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

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

  @JsonProperty("isArchived")
  private Boolean isArchived = false;

  @JsonProperty("isRedacted")
  private Boolean isRedacted = false;

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

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

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

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

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

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

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

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

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

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

  public AnnotationOutputV1 assetSelectionIds(List assetSelectionIds) {
    this.assetSelectionIds = assetSelectionIds;
    return this;
  }

  public AnnotationOutputV1 addAssetSelectionIdsItem(String assetSelectionIdsItem) {
    if (this.assetSelectionIds == null) {
      this.assetSelectionIds = new ArrayList();
    }
    this.assetSelectionIds.add(assetSelectionIdsItem);
    return this;
  }

   /**
   * The IDs of Asset Selections included in this Report. Ignored for Journals
   * @return assetSelectionIds
  **/
  @Schema(description = "The IDs of Asset Selections included in this Report. Ignored for Journals")
  public List getAssetSelectionIds() {
    return assetSelectionIds;
  }

  public void setAssetSelectionIds(List assetSelectionIds) {
    this.assetSelectionIds = assetSelectionIds;
  }

  public AnnotationOutputV1 background(Boolean background) {
    this.background = background;
    return this;
  }

   /**
   * Whether the Report, if scheduled, should continue to update if there are no subscribers (i.e. in the background). Ignored for Journals
   * @return background
  **/
  @Schema(description = "Whether the Report, if scheduled, should continue to update if there are no subscribers (i.e. in the background). Ignored for Journals")
  public Boolean getBackground() {
    return background;
  }

  public void setBackground(Boolean background) {
    this.background = background;
  }

  public AnnotationOutputV1 backups(List backups) {
    this.backups = backups;
    return this;
  }

  public AnnotationOutputV1 addBackupsItem(DocumentBackupOutputV1 backupsItem) {
    if (this.backups == null) {
      this.backups = new ArrayList();
    }
    this.backups.add(backupsItem);
    return this;
  }

   /**
   * The list of backups for this Annotation's Document property
   * @return backups
  **/
  @Schema(description = "The list of backups for this Annotation's Document property")
  public List getBackups() {
    return backups;
  }

  public void setBackups(List backups) {
    this.backups = backups;
  }

  public AnnotationOutputV1 ckEnabled(Boolean ckEnabled) {
    this.ckEnabled = ckEnabled;
    return this;
  }

   /**
   * Whether the Report/Journal is using CKEditor
   * @return ckEnabled
  **/
  @Schema(description = "Whether the Report/Journal is using CKEditor")
  public Boolean getCkEnabled() {
    return ckEnabled;
  }

  public void setCkEnabled(Boolean ckEnabled) {
    this.ckEnabled = ckEnabled;
  }

  public AnnotationOutputV1 contentIds(List contentIds) {
    this.contentIds = contentIds;
    return this;
  }

  public AnnotationOutputV1 addContentIdsItem(String contentIdsItem) {
    if (this.contentIds == null) {
      this.contentIds = new ArrayList();
    }
    this.contentIds.add(contentIdsItem);
    return this;
  }

   /**
   * The IDs of Content included in this Report. Ignored for Journals
   * @return contentIds
  **/
  @Schema(description = "The IDs of Content included in this Report. Ignored for Journals")
  public List getContentIds() {
    return contentIds;
  }

  public void setContentIds(List contentIds) {
    this.contentIds = contentIds;
  }

  public AnnotationOutputV1 createdAt(String createdAt) {
    this.createdAt = createdAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the annotation was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return createdAt
  **/
  @Schema(description = "The ISO 8601 date of when the annotation was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
  public String getCreatedAt() {
    return createdAt;
  }

  public void setCreatedAt(String createdAt) {
    this.createdAt = createdAt;
  }

  public AnnotationOutputV1 createdBy(ItemPreviewV1 createdBy) {
    this.createdBy = createdBy;
    return this;
  }

   /**
   * Get createdBy
   * @return createdBy
  **/
  @Schema(description = "")
  public ItemPreviewV1 getCreatedBy() {
    return createdBy;
  }

  public void setCreatedBy(ItemPreviewV1 createdBy) {
    this.createdBy = createdBy;
  }

  public AnnotationOutputV1 cronSchedule(List cronSchedule) {
    this.cronSchedule = cronSchedule;
    return this;
  }

  public AnnotationOutputV1 addCronScheduleItem(String cronScheduleItem) {
    if (this.cronSchedule == null) {
      this.cronSchedule = new ArrayList();
    }
    this.cronSchedule.add(cronScheduleItem);
    return this;
  }

   /**
   * Report update period. Ignored for Journals
   * @return cronSchedule
  **/
  @Schema(description = "Report update period. Ignored for Journals")
  public List getCronSchedule() {
    return cronSchedule;
  }

  public void setCronSchedule(List cronSchedule) {
    this.cronSchedule = cronSchedule;
  }

  public AnnotationOutputV1 dateRangeIds(List dateRangeIds) {
    this.dateRangeIds = dateRangeIds;
    return this;
  }

  public AnnotationOutputV1 addDateRangeIdsItem(String dateRangeIdsItem) {
    if (this.dateRangeIds == null) {
      this.dateRangeIds = new ArrayList();
    }
    this.dateRangeIds.add(dateRangeIdsItem);
    return this;
  }

   /**
   * The IDs of Date Ranges included in this Report. Ignored for Journals
   * @return dateRangeIds
  **/
  @Schema(description = "The IDs of Date Ranges included in this Report. Ignored for Journals")
  public List getDateRangeIds() {
    return dateRangeIds;
  }

  public void setDateRangeIds(List dateRangeIds) {
    this.dateRangeIds = dateRangeIds;
  }

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

   /**
   * Flag indicating whether this annotation is discoverable
   * @return discoverable
  **/
  @Schema(description = "Flag indicating whether this annotation is discoverable")
  public Boolean getDiscoverable() {
    return discoverable;
  }

  public void setDiscoverable(Boolean discoverable) {
    this.discoverable = discoverable;
  }

  public AnnotationOutputV1 document(String document) {
    this.document = document;
    return this;
  }

   /**
   * This annotation's document.
   * @return document
  **/
  @Schema(description = "This annotation's document.")
  public String getDocument() {
    return document;
  }

  public void setDocument(String document) {
    this.document = document;
  }

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

   /**
   * Whether the Report is enabled to run jobs. Ignored for Journals
   * @return enabled
  **/
  @Schema(description = "Whether the Report is enabled to run jobs. Ignored for Journals")
  public Boolean getEnabled() {
    return enabled;
  }

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

  public AnnotationOutputV1 fixedWidth(Boolean fixedWidth) {
    this.fixedWidth = fixedWidth;
    return this;
  }

   /**
   * Whether the Report has a fixed width. Ignored for Journals
   * @return fixedWidth
  **/
  @Schema(description = "Whether the Report has a fixed width. Ignored for Journals")
  public Boolean getFixedWidth() {
    return fixedWidth;
  }

  public void setFixedWidth(Boolean fixedWidth) {
    this.fixedWidth = fixedWidth;
  }

  public AnnotationOutputV1 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 AnnotationOutputV1 interests(List interests) {
    this.interests = interests;
    return this;
  }

  public AnnotationOutputV1 addInterestsItem(AnnotationInterestOutputV1 interestsItem) {
    if (this.interests == null) {
      this.interests = new ArrayList();
    }
    this.interests.add(interestsItem);
    return this;
  }

   /**
   * The list of the annotation's items of interest
   * @return interests
  **/
  @Schema(description = "The list of the annotation's items of interest")
  public List getInterests() {
    return interests;
  }

  public void setInterests(List interests) {
    this.interests = interests;
  }

  public AnnotationOutputV1 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 AnnotationOutputV1 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 AnnotationOutputV1 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 AnnotationOutputV1 nextRunTime(String nextRunTime) {
    this.nextRunTime = nextRunTime;
    return this;
  }

   /**
   * The next scheduled runtime for this Report, based on its Date Ranges. Ignored for Journals
   * @return nextRunTime
  **/
  @Schema(description = "The next scheduled runtime for this Report, based on its Date Ranges. Ignored for Journals")
  public String getNextRunTime() {
    return nextRunTime;
  }

  public void setNextRunTime(String nextRunTime) {
    this.nextRunTime = nextRunTime;
  }

  public AnnotationOutputV1 publishedAt(String publishedAt) {
    this.publishedAt = publishedAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the report was published (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return publishedAt
  **/
  @Schema(description = "The ISO 8601 date of when the report was published (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
  public String getPublishedAt() {
    return publishedAt;
  }

  public void setPublishedAt(String publishedAt) {
    this.publishedAt = publishedAt;
  }

  public AnnotationOutputV1 replies(List replies) {
    this.replies = replies;
    return this;
  }

  public AnnotationOutputV1 addRepliesItem(AnnotationOutputV1 repliesItem) {
    if (this.replies == null) {
      this.replies = new ArrayList();
    }
    this.replies.add(repliesItem);
    return this;
  }

   /**
   * The list of Annotations that are replies to this one
   * @return replies
  **/
  @Schema(description = "The list of Annotations that are replies to this one")
  public List getReplies() {
    return replies;
  }

  public void setReplies(List replies) {
    this.replies = replies;
  }

  public AnnotationOutputV1 repliesTo(String repliesTo) {
    this.repliesTo = repliesTo;
    return this;
  }

   /**
   * ID of the Annotation to which this is a reply
   * @return repliesTo
  **/
  @Schema(description = "ID of the Annotation to which this is a reply")
  public String getRepliesTo() {
    return repliesTo;
  }

  public void setRepliesTo(String repliesTo) {
    this.repliesTo = repliesTo;
  }

  public AnnotationOutputV1 reportsOn(String reportsOn) {
    this.reportsOn = reportsOn;
    return this;
  }

   /**
   * The ID of the Worksheet that the Report is associated to
   * @return reportsOn
  **/
  @Schema(description = "The ID of the Worksheet that the Report is associated to")
  public String getReportsOn() {
    return reportsOn;
  }

  public void setReportsOn(String reportsOn) {
    this.reportsOn = reportsOn;
  }

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

  public AnnotationOutputV1 updatedAt(String updatedAt) {
    this.updatedAt = updatedAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the annotation was updated (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return updatedAt
  **/
  @Schema(description = "The ISO 8601 date of when the annotation was updated (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
  public String getUpdatedAt() {
    return updatedAt;
  }

  public void setUpdatedAt(String updatedAt) {
    this.updatedAt = updatedAt;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AnnotationOutputV1 annotationOutputV1 = (AnnotationOutputV1) o;
    return Objects.equals(this.assetSelectionIds, annotationOutputV1.assetSelectionIds) &&
        Objects.equals(this.background, annotationOutputV1.background) &&
        Objects.equals(this.backups, annotationOutputV1.backups) &&
        Objects.equals(this.ckEnabled, annotationOutputV1.ckEnabled) &&
        Objects.equals(this.contentIds, annotationOutputV1.contentIds) &&
        Objects.equals(this.createdAt, annotationOutputV1.createdAt) &&
        Objects.equals(this.createdBy, annotationOutputV1.createdBy) &&
        Objects.equals(this.cronSchedule, annotationOutputV1.cronSchedule) &&
        Objects.equals(this.dateRangeIds, annotationOutputV1.dateRangeIds) &&
        Objects.equals(this.description, annotationOutputV1.description) &&
        Objects.equals(this.discoverable, annotationOutputV1.discoverable) &&
        Objects.equals(this.document, annotationOutputV1.document) &&
        Objects.equals(this.effectivePermissions, annotationOutputV1.effectivePermissions) &&
        Objects.equals(this.enabled, annotationOutputV1.enabled) &&
        Objects.equals(this.fixedWidth, annotationOutputV1.fixedWidth) &&
        Objects.equals(this.id, annotationOutputV1.id) &&
        Objects.equals(this.interests, annotationOutputV1.interests) &&
        Objects.equals(this.isArchived, annotationOutputV1.isArchived) &&
        Objects.equals(this.isRedacted, annotationOutputV1.isRedacted) &&
        Objects.equals(this.name, annotationOutputV1.name) &&
        Objects.equals(this.nextRunTime, annotationOutputV1.nextRunTime) &&
        Objects.equals(this.publishedAt, annotationOutputV1.publishedAt) &&
        Objects.equals(this.replies, annotationOutputV1.replies) &&
        Objects.equals(this.repliesTo, annotationOutputV1.repliesTo) &&
        Objects.equals(this.reportsOn, annotationOutputV1.reportsOn) &&
        Objects.equals(this.statusMessage, annotationOutputV1.statusMessage) &&
        Objects.equals(this.translationKey, annotationOutputV1.translationKey) &&
        Objects.equals(this.type, annotationOutputV1.type) &&
        Objects.equals(this.updatedAt, annotationOutputV1.updatedAt);
  }

  @Override
  public int hashCode() {
    return Objects.hash(assetSelectionIds, background, backups, ckEnabled, contentIds, createdAt, createdBy, cronSchedule, dateRangeIds, description, discoverable, document, effectivePermissions, enabled, fixedWidth, id, interests, isArchived, isRedacted, name, nextRunTime, publishedAt, replies, repliesTo, reportsOn, statusMessage, translationKey, type, updatedAt);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AnnotationOutputV1 {\n");
    
    sb.append("    assetSelectionIds: ").append(toIndentedString(assetSelectionIds)).append("\n");
    sb.append("    background: ").append(toIndentedString(background)).append("\n");
    sb.append("    backups: ").append(toIndentedString(backups)).append("\n");
    sb.append("    ckEnabled: ").append(toIndentedString(ckEnabled)).append("\n");
    sb.append("    contentIds: ").append(toIndentedString(contentIds)).append("\n");
    sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
    sb.append("    createdBy: ").append(toIndentedString(createdBy)).append("\n");
    sb.append("    cronSchedule: ").append(toIndentedString(cronSchedule)).append("\n");
    sb.append("    dateRangeIds: ").append(toIndentedString(dateRangeIds)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    discoverable: ").append(toIndentedString(discoverable)).append("\n");
    sb.append("    document: ").append(toIndentedString(document)).append("\n");
    sb.append("    effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
    sb.append("    enabled: ").append(toIndentedString(enabled)).append("\n");
    sb.append("    fixedWidth: ").append(toIndentedString(fixedWidth)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    interests: ").append(toIndentedString(interests)).append("\n");
    sb.append("    isArchived: ").append(toIndentedString(isArchived)).append("\n");
    sb.append("    isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    nextRunTime: ").append(toIndentedString(nextRunTime)).append("\n");
    sb.append("    publishedAt: ").append(toIndentedString(publishedAt)).append("\n");
    sb.append("    replies: ").append(toIndentedString(replies)).append("\n");
    sb.append("    repliesTo: ").append(toIndentedString(repliesTo)).append("\n");
    sb.append("    reportsOn: ").append(toIndentedString(reportsOn)).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("    updatedAt: ").append(toIndentedString(updatedAt)).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