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.ContentInputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 64.4.1-v202409112255
*
*
* 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 io.swagger.v3.oas.annotations.media.Schema;
/**
* ContentInputV1
*/
public class ContentInputV1 {
@JsonProperty("archived")
private Boolean archived = false;
@JsonProperty("assetSelectionId")
private String assetSelectionId = null;
@JsonProperty("dateRangeId")
private String dateRangeId = null;
@JsonProperty("description")
private String description = null;
@JsonProperty("height")
private Long height = null;
@JsonProperty("name")
private String name = null;
@JsonProperty("react")
private Boolean react = false;
@JsonProperty("reportId")
private String reportId = null;
@JsonProperty("scale")
private Double scale = null;
@JsonProperty("selector")
private String selector = null;
/**
* The summary type for this screenshot if a summary is being applied. One of DISCRETE, AUTO, NONE
*/
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("width")
private Long width = null;
@JsonProperty("worksheetId")
private String worksheetId = null;
@JsonProperty("workstepId")
private String workstepId = null;
public ContentInputV1 archived(Boolean archived) {
this.archived = archived;
return this;
}
/**
* Whether the content should be archived
* @return archived
**/
@Schema(description = "Whether the content should be archived")
public Boolean getArchived() {
return archived;
}
public void setArchived(Boolean archived) {
this.archived = archived;
}
public ContentInputV1 assetSelectionId(String assetSelectionId) {
this.assetSelectionId = assetSelectionId;
return this;
}
/**
* The content's asset selection
* @return assetSelectionId
**/
@Schema(description = "The content's asset selection")
public String getAssetSelectionId() {
return assetSelectionId;
}
public void setAssetSelectionId(String assetSelectionId) {
this.assetSelectionId = assetSelectionId;
}
public ContentInputV1 dateRangeId(String dateRangeId) {
this.dateRangeId = dateRangeId;
return this;
}
/**
* The content's date range
* @return dateRangeId
**/
@Schema(description = "The content's date range")
public String getDateRangeId() {
return dateRangeId;
}
public void setDateRangeId(String dateRangeId) {
this.dateRangeId = dateRangeId;
}
public ContentInputV1 description(String description) {
this.description = description;
return this;
}
/**
* The content's description
* @return description
**/
@Schema(description = "The content's description")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public ContentInputV1 height(Long height) {
this.height = height;
return this;
}
/**
* The content's desired height
* @return height
**/
@Schema(required = true, description = "The content's desired height")
public Long getHeight() {
return height;
}
public void setHeight(Long height) {
this.height = height;
}
public ContentInputV1 name(String name) {
this.name = name;
return this;
}
/**
* The content's name
* @return name
**/
@Schema(required = true, description = "The content's name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ContentInputV1 react(Boolean react) {
this.react = react;
return this;
}
/**
* Whether the content is for a react component.
* @return react
**/
@Schema(description = "Whether the content is for a react component.")
public Boolean getReact() {
return react;
}
public void setReact(Boolean react) {
this.react = react;
}
public ContentInputV1 reportId(String reportId) {
this.reportId = reportId;
return this;
}
/**
* The content's report
* @return reportId
**/
@Schema(description = "The content's report")
public String getReportId() {
return reportId;
}
public void setReportId(String reportId) {
this.reportId = reportId;
}
public ContentInputV1 scale(Double scale) {
this.scale = scale;
return this;
}
/**
* The content's desired scale. A value greater than 1 will increase the size of elements within the screenshot. A value less than 1 will shrink the size of elements within the screenshot.
* @return scale
**/
@Schema(description = "The content's desired scale. A value greater than 1 will increase the size of elements within the screenshot. A value less than 1 will shrink the size of elements within the screenshot.")
public Double getScale() {
return scale;
}
public void setScale(Double scale) {
this.scale = scale;
}
public ContentInputV1 selector(String selector) {
this.selector = selector;
return this;
}
/**
* The content's desired selector
* @return selector
**/
@Schema(description = "The content's desired selector")
public String getSelector() {
return selector;
}
public void setSelector(String selector) {
this.selector = selector;
}
public ContentInputV1 summaryType(SummaryTypeEnum summaryType) {
this.summaryType = summaryType;
return this;
}
/**
* The summary type for this screenshot if a summary is being applied. One of DISCRETE, AUTO, NONE
* @return summaryType
**/
@Schema(description = "The summary type for this screenshot if a summary is being applied. One of DISCRETE, AUTO, NONE")
public SummaryTypeEnum getSummaryType() {
return summaryType;
}
public void setSummaryType(SummaryTypeEnum summaryType) {
this.summaryType = summaryType;
}
public ContentInputV1 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 (0-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 (0-10).")
public String getSummaryValue() {
return summaryValue;
}
public void setSummaryValue(String summaryValue) {
this.summaryValue = summaryValue;
}
public ContentInputV1 timezone(String timezone) {
this.timezone = timezone;
return this;
}
/**
* The IANA name of the content's desired time zone
* @return timezone
**/
@Schema(description = "The IANA name of the content's desired time zone")
public String getTimezone() {
return timezone;
}
public void setTimezone(String timezone) {
this.timezone = timezone;
}
public ContentInputV1 width(Long width) {
this.width = width;
return this;
}
/**
* The content's desired width
* @return width
**/
@Schema(required = true, description = "The content's desired width")
public Long getWidth() {
return width;
}
public void setWidth(Long width) {
this.width = width;
}
public ContentInputV1 worksheetId(String worksheetId) {
this.worksheetId = worksheetId;
return this;
}
/**
* The content's source worksheet
* @return worksheetId
**/
@Schema(required = true, description = "The content's source worksheet")
public String getWorksheetId() {
return worksheetId;
}
public void setWorksheetId(String worksheetId) {
this.worksheetId = worksheetId;
}
public ContentInputV1 workstepId(String workstepId) {
this.workstepId = workstepId;
return this;
}
/**
* The content's source workstep
* @return workstepId
**/
@Schema(required = true, description = "The content's source workstep")
public String getWorkstepId() {
return workstepId;
}
public void setWorkstepId(String workstepId) {
this.workstepId = workstepId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ContentInputV1 contentInputV1 = (ContentInputV1) o;
return Objects.equals(this.archived, contentInputV1.archived) &&
Objects.equals(this.assetSelectionId, contentInputV1.assetSelectionId) &&
Objects.equals(this.dateRangeId, contentInputV1.dateRangeId) &&
Objects.equals(this.description, contentInputV1.description) &&
Objects.equals(this.height, contentInputV1.height) &&
Objects.equals(this.name, contentInputV1.name) &&
Objects.equals(this.react, contentInputV1.react) &&
Objects.equals(this.reportId, contentInputV1.reportId) &&
Objects.equals(this.scale, contentInputV1.scale) &&
Objects.equals(this.selector, contentInputV1.selector) &&
Objects.equals(this.summaryType, contentInputV1.summaryType) &&
Objects.equals(this.summaryValue, contentInputV1.summaryValue) &&
Objects.equals(this.timezone, contentInputV1.timezone) &&
Objects.equals(this.width, contentInputV1.width) &&
Objects.equals(this.worksheetId, contentInputV1.worksheetId) &&
Objects.equals(this.workstepId, contentInputV1.workstepId);
}
@Override
public int hashCode() {
return Objects.hash(archived, assetSelectionId, dateRangeId, description, height, name, react, reportId, scale, selector, summaryType, summaryValue, timezone, width, worksheetId, workstepId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ContentInputV1 {\n");
sb.append(" archived: ").append(toIndentedString(archived)).append("\n");
sb.append(" assetSelectionId: ").append(toIndentedString(assetSelectionId)).append("\n");
sb.append(" dateRangeId: ").append(toIndentedString(dateRangeId)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" height: ").append(toIndentedString(height)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" react: ").append(toIndentedString(react)).append("\n");
sb.append(" reportId: ").append(toIndentedString(reportId)).append("\n");
sb.append(" scale: ").append(toIndentedString(scale)).append("\n");
sb.append(" selector: ").append(toIndentedString(selector)).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(" width: ").append(toIndentedString(width)).append("\n");
sb.append(" worksheetId: ").append(toIndentedString(worksheetId)).append("\n");
sb.append(" workstepId: ").append(toIndentedString(workstepId)).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 ");
}
}