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.ContentOutputV1 Maven / Gradle / Ivy
/*
* 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.AssetSelectionOutputV1;
import com.seeq.model.DateRangeOutputV1;
import com.seeq.model.ItemPreviewV1;
import com.seeq.model.PermissionsV1;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* ContentOutputV1
*/
public class ContentOutputV1 {
@JsonProperty("archived")
private Boolean archived = false;
@JsonProperty("assetSelection")
private AssetSelectionOutputV1 assetSelection = 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("sourceWorkbook")
private String sourceWorkbook = null;
@JsonProperty("sourceWorksheet")
private String sourceWorksheet = null;
@JsonProperty("sourceWorkstep")
private String sourceWorkstep = 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;
public ContentOutputV1 archived(Boolean archived) {
this.archived = archived;
return this;
}
/**
* Whether this content is archived
* @return archived
**/
@Schema(description = "Whether this content is archived")
public Boolean getArchived() {
return archived;
}
public void setArchived(Boolean archived) {
this.archived = archived;
}
public ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 timezone(String timezone) {
this.timezone = timezone;
return this;
}
/**
* Desired content timezone, if present
* @return timezone
**/
@Schema(description = "Desired content timezone, if present")
public String getTimezone() {
return timezone;
}
public void setTimezone(String timezone) {
this.timezone = timezone;
}
public ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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 ContentOutputV1 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;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ContentOutputV1 contentOutputV1 = (ContentOutputV1) o;
return Objects.equals(this.archived, contentOutputV1.archived) &&
Objects.equals(this.assetSelection, contentOutputV1.assetSelection) &&
Objects.equals(this.dateRange, contentOutputV1.dateRange) &&
Objects.equals(this.description, contentOutputV1.description) &&
Objects.equals(this.effectivePermissions, contentOutputV1.effectivePermissions) &&
Objects.equals(this.hashCode, contentOutputV1.hashCode) &&
Objects.equals(this.height, contentOutputV1.height) &&
Objects.equals(this.id, contentOutputV1.id) &&
Objects.equals(this.isArchived, contentOutputV1.isArchived) &&
Objects.equals(this.isRedacted, contentOutputV1.isRedacted) &&
Objects.equals(this.name, contentOutputV1.name) &&
Objects.equals(this.react, contentOutputV1.react) &&
Objects.equals(this.report, contentOutputV1.report) &&
Objects.equals(this.scale, contentOutputV1.scale) &&
Objects.equals(this.selector, contentOutputV1.selector) &&
Objects.equals(this.sourceWorkbook, contentOutputV1.sourceWorkbook) &&
Objects.equals(this.sourceWorksheet, contentOutputV1.sourceWorksheet) &&
Objects.equals(this.sourceWorkstep, contentOutputV1.sourceWorkstep) &&
Objects.equals(this.statusMessage, contentOutputV1.statusMessage) &&
Objects.equals(this.summaryType, contentOutputV1.summaryType) &&
Objects.equals(this.summaryValue, contentOutputV1.summaryValue) &&
Objects.equals(this.timezone, contentOutputV1.timezone) &&
Objects.equals(this.translationKey, contentOutputV1.translationKey) &&
Objects.equals(this.type, contentOutputV1.type) &&
Objects.equals(this.warning, contentOutputV1.warning) &&
Objects.equals(this.width, contentOutputV1.width);
}
@Override
public int hashCode() {
return Objects.hash(archived, assetSelection, dateRange, description, effectivePermissions, hashCode, height, id, isArchived, isRedacted, name, react, report, scale, selector, sourceWorkbook, sourceWorksheet, sourceWorkstep, statusMessage, summaryType, summaryValue, timezone, translationKey, type, warning, width);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ContentOutputV1 {\n");
sb.append(" archived: ").append(toIndentedString(archived)).append("\n");
sb.append(" assetSelection: ").append(toIndentedString(assetSelection)).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(" sourceWorkbook: ").append(toIndentedString(sourceWorkbook)).append("\n");
sb.append(" sourceWorksheet: ").append(toIndentedString(sourceWorksheet)).append("\n");
sb.append(" sourceWorkstep: ").append(toIndentedString(sourceWorkstep)).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("}");
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 ");
}
}