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

com.seeq.model.ContentWithMetadataOutputV1 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: 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.AssetSelectionOutputV1;
import com.seeq.model.DateRangeOutputV1;
import com.seeq.model.ItemPreviewV1;
import com.seeq.model.PermissionsV1;
import com.seeq.model.WorkstepOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
/**
 * A list of content items
 */
@Schema(description = "A list of content items")
public class ContentWithMetadataOutputV1 {
  @JsonProperty("assetSelection")
  private AssetSelectionOutputV1 assetSelection = null;

  @JsonProperty("currentWorkstepBlob")
  private WorkstepOutputV1 currentWorkstepBlob = null;

  @JsonProperty("dateRange")
  private DateRangeOutputV1 dateRange = null;

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

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

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

  @JsonProperty("height")
  private Long height = null;

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

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

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

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

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

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

  @JsonProperty("scale")
  private Double scale = null;

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

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

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

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

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

  @JsonProperty("sourceWorkstepBlob")
  private WorkstepOutputV1 sourceWorkstepBlob = null;

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

  /**
   * The summary type for this screenshot if a summary is being applied. One of DISCRETE, AUTO
   */
  public enum SummaryTypeEnum {
    DISCRETE("DISCRETE"),
    AUTO("AUTO"),
    NONE("NONE");

    private String value;

    SummaryTypeEnum(String value) {
      this.value = value;
    }
    @JsonValue
    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }
    @JsonCreator
    public static SummaryTypeEnum fromValue(String input) {
      for (SummaryTypeEnum b : SummaryTypeEnum.values()) {
        if (b.value.equals(input)) {
          return b;
        }
      }
      return null;
    }

  }  @JsonProperty("summaryType")
  private SummaryTypeEnum summaryType = null;

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

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

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

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

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

  @JsonProperty("width")
  private Long width = null;

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

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

  public ContentWithMetadataOutputV1 assetSelection(AssetSelectionOutputV1 assetSelection) {
    this.assetSelection = assetSelection;
    return this;
  }

   /**
   * Get assetSelection
   * @return assetSelection
  **/
  @Schema(description = "")
  public AssetSelectionOutputV1 getAssetSelection() {
    return assetSelection;
  }

  public void setAssetSelection(AssetSelectionOutputV1 assetSelection) {
    this.assetSelection = assetSelection;
  }

  public ContentWithMetadataOutputV1 currentWorkstepBlob(WorkstepOutputV1 currentWorkstepBlob) {
    this.currentWorkstepBlob = currentWorkstepBlob;
    return this;
  }

   /**
   * Get currentWorkstepBlob
   * @return currentWorkstepBlob
  **/
  @Schema(description = "")
  public WorkstepOutputV1 getCurrentWorkstepBlob() {
    return currentWorkstepBlob;
  }

  public void setCurrentWorkstepBlob(WorkstepOutputV1 currentWorkstepBlob) {
    this.currentWorkstepBlob = currentWorkstepBlob;
  }

  public ContentWithMetadataOutputV1 dateRange(DateRangeOutputV1 dateRange) {
    this.dateRange = dateRange;
    return this;
  }

   /**
   * Get dateRange
   * @return dateRange
  **/
  @Schema(description = "")
  public DateRangeOutputV1 getDateRange() {
    return dateRange;
  }

  public void setDateRange(DateRangeOutputV1 dateRange) {
    this.dateRange = dateRange;
  }

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

   /**
   * A unique identifier that identifies the current variant of the image, if it has been generated, otherwise null
   * @return hashCode
  **/
  @Schema(description = "A unique identifier that identifies the current variant of the image, if it has been generated, otherwise null")
  public String getHashCode() {
    return hashCode;
  }

  public void setHashCode(String hashCode) {
    this.hashCode = hashCode;
  }

  public ContentWithMetadataOutputV1 height(Long height) {
    this.height = height;
    return this;
  }

   /**
   * Desired content height
   * @return height
  **/
  @Schema(description = "Desired content height")
  public Long getHeight() {
    return height;
  }

  public void setHeight(Long height) {
    this.height = height;
  }

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

   /**
   * Whether or not the content is for a react component
   * @return react
  **/
  @Schema(description = "Whether or not the content is for a react component")
  public Boolean getReact() {
    return react;
  }

  public void setReact(Boolean react) {
    this.react = react;
  }

  public ContentWithMetadataOutputV1 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 ContentWithMetadataOutputV1 scale(Double scale) {
    this.scale = scale;
    return this;
  }

   /**
   * Desired content scale
   * @return scale
  **/
  @Schema(description = "Desired content scale")
  public Double getScale() {
    return scale;
  }

  public void setScale(Double scale) {
    this.scale = scale;
  }

  public ContentWithMetadataOutputV1 selector(String selector) {
    this.selector = selector;
    return this;
  }

   /**
   * Desired content selector, if present
   * @return selector
  **/
  @Schema(description = "Desired content selector, if present")
  public String getSelector() {
    return selector;
  }

  public void setSelector(String selector) {
    this.selector = selector;
  }

  public ContentWithMetadataOutputV1 sourceUrl(String sourceUrl) {
    this.sourceUrl = sourceUrl;
    return this;
  }

   /**
   * A URL that will redirect to the source worksheet used to generate the content
   * @return sourceUrl
  **/
  @Schema(description = "A URL that will redirect to the source worksheet used to generate the content")
  public String getSourceUrl() {
    return sourceUrl;
  }

  public void setSourceUrl(String sourceUrl) {
    this.sourceUrl = sourceUrl;
  }

  public ContentWithMetadataOutputV1 sourceWorkbook(String sourceWorkbook) {
    this.sourceWorkbook = sourceWorkbook;
    return this;
  }

   /**
   * Source workbook of the content
   * @return sourceWorkbook
  **/
  @Schema(description = "Source workbook of the content")
  public String getSourceWorkbook() {
    return sourceWorkbook;
  }

  public void setSourceWorkbook(String sourceWorkbook) {
    this.sourceWorkbook = sourceWorkbook;
  }

  public ContentWithMetadataOutputV1 sourceWorksheet(String sourceWorksheet) {
    this.sourceWorksheet = sourceWorksheet;
    return this;
  }

   /**
   * Source worksheet of the content
   * @return sourceWorksheet
  **/
  @Schema(description = "Source worksheet of the content")
  public String getSourceWorksheet() {
    return sourceWorksheet;
  }

  public void setSourceWorksheet(String sourceWorksheet) {
    this.sourceWorksheet = sourceWorksheet;
  }

  public ContentWithMetadataOutputV1 sourceWorkstep(String sourceWorkstep) {
    this.sourceWorkstep = sourceWorkstep;
    return this;
  }

   /**
   * Source workstep of the content
   * @return sourceWorkstep
  **/
  @Schema(description = "Source workstep of the content")
  public String getSourceWorkstep() {
    return sourceWorkstep;
  }

  public void setSourceWorkstep(String sourceWorkstep) {
    this.sourceWorkstep = sourceWorkstep;
  }

  public ContentWithMetadataOutputV1 sourceWorkstepBlob(WorkstepOutputV1 sourceWorkstepBlob) {
    this.sourceWorkstepBlob = sourceWorkstepBlob;
    return this;
  }

   /**
   * Get sourceWorkstepBlob
   * @return sourceWorkstepBlob
  **/
  @Schema(description = "")
  public WorkstepOutputV1 getSourceWorkstepBlob() {
    return sourceWorkstepBlob;
  }

  public void setSourceWorkstepBlob(WorkstepOutputV1 sourceWorkstepBlob) {
    this.sourceWorkstepBlob = sourceWorkstepBlob;
  }

  public ContentWithMetadataOutputV1 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 ContentWithMetadataOutputV1 summaryType(SummaryTypeEnum summaryType) {
    this.summaryType = summaryType;
    return this;
  }

   /**
   * The summary type for this screenshot if a summary is being applied. One of DISCRETE, AUTO
   * @return summaryType
  **/
  @Schema(description = "The summary type for this screenshot if a summary is being applied. One of DISCRETE, AUTO")
  public SummaryTypeEnum getSummaryType() {
    return summaryType;
  }

  public void setSummaryType(SummaryTypeEnum summaryType) {
    this.summaryType = summaryType;
  }

  public ContentWithMetadataOutputV1 summaryValue(String summaryValue) {
    this.summaryValue = summaryValue;
    return this;
  }

   /**
   * The value for the given summary type. If discrete, a time + unit pairing (1min, 2days). If auto, a fixed value (1-10).
   * @return summaryValue
  **/
  @Schema(description = "The value for the given summary type. If discrete, a time + unit pairing (1min, 2days). If auto, a fixed value (1-10).")
  public String getSummaryValue() {
    return summaryValue;
  }

  public void setSummaryValue(String summaryValue) {
    this.summaryValue = summaryValue;
  }

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

   /**
   * IANA name of the desired content time zone, if present
   * @return timezone
  **/
  @Schema(description = "IANA name of the desired content time zone, if present")
  public String getTimezone() {
    return timezone;
  }

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

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

   /**
   * A warning if one was attached to this content while rendering
   * @return warning
  **/
  @Schema(description = "A warning if one was attached to this content while rendering")
  public String getWarning() {
    return warning;
  }

  public void setWarning(String warning) {
    this.warning = warning;
  }

  public ContentWithMetadataOutputV1 width(Long width) {
    this.width = width;
    return this;
  }

   /**
   * Desired content width
   * @return width
  **/
  @Schema(description = "Desired content width")
  public Long getWidth() {
    return width;
  }

  public void setWidth(Long width) {
    this.width = width;
  }

  public ContentWithMetadataOutputV1 workbookPreview(ItemPreviewV1 workbookPreview) {
    this.workbookPreview = workbookPreview;
    return this;
  }

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

  public void setWorkbookPreview(ItemPreviewV1 workbookPreview) {
    this.workbookPreview = workbookPreview;
  }

  public ContentWithMetadataOutputV1 worksheetPreview(ItemPreviewV1 worksheetPreview) {
    this.worksheetPreview = worksheetPreview;
    return this;
  }

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

  public void setWorksheetPreview(ItemPreviewV1 worksheetPreview) {
    this.worksheetPreview = worksheetPreview;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ContentWithMetadataOutputV1 contentWithMetadataOutputV1 = (ContentWithMetadataOutputV1) o;
    return Objects.equals(this.assetSelection, contentWithMetadataOutputV1.assetSelection) &&
        Objects.equals(this.currentWorkstepBlob, contentWithMetadataOutputV1.currentWorkstepBlob) &&
        Objects.equals(this.dateRange, contentWithMetadataOutputV1.dateRange) &&
        Objects.equals(this.description, contentWithMetadataOutputV1.description) &&
        Objects.equals(this.effectivePermissions, contentWithMetadataOutputV1.effectivePermissions) &&
        Objects.equals(this.hashCode, contentWithMetadataOutputV1.hashCode) &&
        Objects.equals(this.height, contentWithMetadataOutputV1.height) &&
        Objects.equals(this.id, contentWithMetadataOutputV1.id) &&
        Objects.equals(this.isArchived, contentWithMetadataOutputV1.isArchived) &&
        Objects.equals(this.isRedacted, contentWithMetadataOutputV1.isRedacted) &&
        Objects.equals(this.name, contentWithMetadataOutputV1.name) &&
        Objects.equals(this.react, contentWithMetadataOutputV1.react) &&
        Objects.equals(this.report, contentWithMetadataOutputV1.report) &&
        Objects.equals(this.scale, contentWithMetadataOutputV1.scale) &&
        Objects.equals(this.selector, contentWithMetadataOutputV1.selector) &&
        Objects.equals(this.sourceUrl, contentWithMetadataOutputV1.sourceUrl) &&
        Objects.equals(this.sourceWorkbook, contentWithMetadataOutputV1.sourceWorkbook) &&
        Objects.equals(this.sourceWorksheet, contentWithMetadataOutputV1.sourceWorksheet) &&
        Objects.equals(this.sourceWorkstep, contentWithMetadataOutputV1.sourceWorkstep) &&
        Objects.equals(this.sourceWorkstepBlob, contentWithMetadataOutputV1.sourceWorkstepBlob) &&
        Objects.equals(this.statusMessage, contentWithMetadataOutputV1.statusMessage) &&
        Objects.equals(this.summaryType, contentWithMetadataOutputV1.summaryType) &&
        Objects.equals(this.summaryValue, contentWithMetadataOutputV1.summaryValue) &&
        Objects.equals(this.timezone, contentWithMetadataOutputV1.timezone) &&
        Objects.equals(this.translationKey, contentWithMetadataOutputV1.translationKey) &&
        Objects.equals(this.type, contentWithMetadataOutputV1.type) &&
        Objects.equals(this.warning, contentWithMetadataOutputV1.warning) &&
        Objects.equals(this.width, contentWithMetadataOutputV1.width) &&
        Objects.equals(this.workbookPreview, contentWithMetadataOutputV1.workbookPreview) &&
        Objects.equals(this.worksheetPreview, contentWithMetadataOutputV1.worksheetPreview);
  }

  @Override
  public int hashCode() {
    return Objects.hash(assetSelection, currentWorkstepBlob, dateRange, description, effectivePermissions, hashCode, height, id, isArchived, isRedacted, name, react, report, scale, selector, sourceUrl, sourceWorkbook, sourceWorksheet, sourceWorkstep, sourceWorkstepBlob, statusMessage, summaryType, summaryValue, timezone, translationKey, type, warning, width, workbookPreview, worksheetPreview);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ContentWithMetadataOutputV1 {\n");
    
    sb.append("    assetSelection: ").append(toIndentedString(assetSelection)).append("\n");
    sb.append("    currentWorkstepBlob: ").append(toIndentedString(currentWorkstepBlob)).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("    hashCode: ").append(toIndentedString(hashCode)).append("\n");
    sb.append("    height: ").append(toIndentedString(height)).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("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    react: ").append(toIndentedString(react)).append("\n");
    sb.append("    report: ").append(toIndentedString(report)).append("\n");
    sb.append("    scale: ").append(toIndentedString(scale)).append("\n");
    sb.append("    selector: ").append(toIndentedString(selector)).append("\n");
    sb.append("    sourceUrl: ").append(toIndentedString(sourceUrl)).append("\n");
    sb.append("    sourceWorkbook: ").append(toIndentedString(sourceWorkbook)).append("\n");
    sb.append("    sourceWorksheet: ").append(toIndentedString(sourceWorksheet)).append("\n");
    sb.append("    sourceWorkstep: ").append(toIndentedString(sourceWorkstep)).append("\n");
    sb.append("    sourceWorkstepBlob: ").append(toIndentedString(sourceWorkstepBlob)).append("\n");
    sb.append("    statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
    sb.append("    summaryType: ").append(toIndentedString(summaryType)).append("\n");
    sb.append("    summaryValue: ").append(toIndentedString(summaryValue)).append("\n");
    sb.append("    timezone: ").append(toIndentedString(timezone)).append("\n");
    sb.append("    translationKey: ").append(toIndentedString(translationKey)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
    sb.append("    warning: ").append(toIndentedString(warning)).append("\n");
    sb.append("    width: ").append(toIndentedString(width)).append("\n");
    sb.append("    workbookPreview: ").append(toIndentedString(workbookPreview)).append("\n");
    sb.append("    worksheetPreview: ").append(toIndentedString(worksheetPreview)).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