com.seeq.model.ReportInputItemV1 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 io.swagger.v3.oas.annotations.media.Schema;
/**
* A list of Worksheets to include in the report
*/
@Schema(description = "A list of Worksheets to include in the report")
public class ReportInputItemV1 {
@JsonProperty("linkURL")
private String linkURL = null;
@JsonProperty("screenshotURL")
private String screenshotURL = null;
@JsonProperty("worksheetId")
private String worksheetId = null;
public ReportInputItemV1 linkURL(String linkURL) {
this.linkURL = linkURL;
return this;
}
/**
* Link URL to use for this Worksheet. If empty, no link will be included
* @return linkURL
**/
@Schema(description = "Link URL to use for this Worksheet. If empty, no link will be included")
public String getLinkURL() {
return linkURL;
}
public void setLinkURL(String linkURL) {
this.linkURL = linkURL;
}
public ReportInputItemV1 screenshotURL(String screenshotURL) {
this.screenshotURL = screenshotURL;
return this;
}
/**
* URL from which to generate a screenshot for this Worksheet. If empty, no screenshot will be included
* @return screenshotURL
**/
@Schema(description = "URL from which to generate a screenshot for this Worksheet. If empty, no screenshot will be included")
public String getScreenshotURL() {
return screenshotURL;
}
public void setScreenshotURL(String screenshotURL) {
this.screenshotURL = screenshotURL;
}
public ReportInputItemV1 worksheetId(String worksheetId) {
this.worksheetId = worksheetId;
return this;
}
/**
* Worksheet ID to include in the report
* @return worksheetId
**/
@Schema(required = true, description = "Worksheet ID to include in the report")
public String getWorksheetId() {
return worksheetId;
}
public void setWorksheetId(String worksheetId) {
this.worksheetId = worksheetId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ReportInputItemV1 reportInputItemV1 = (ReportInputItemV1) o;
return Objects.equals(this.linkURL, reportInputItemV1.linkURL) &&
Objects.equals(this.screenshotURL, reportInputItemV1.screenshotURL) &&
Objects.equals(this.worksheetId, reportInputItemV1.worksheetId);
}
@Override
public int hashCode() {
return Objects.hash(linkURL, screenshotURL, worksheetId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ReportInputItemV1 {\n");
sb.append(" linkURL: ").append(toIndentedString(linkURL)).append("\n");
sb.append(" screenshotURL: ").append(toIndentedString(screenshotURL)).append("\n");
sb.append(" worksheetId: ").append(toIndentedString(worksheetId)).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 ");
}
}