com.seeq.model.DisplayInputV1 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;
import java.util.UUID;
/**
* DisplayInputV1
*/
public class DisplayInputV1 {
@JsonProperty("dataId")
private String dataId = null;
@JsonProperty("syncToken")
private String syncToken = null;
@JsonProperty("templateId")
private UUID templateId = null;
public DisplayInputV1 dataId(String dataId) {
this.dataId = dataId;
return this;
}
/**
* The data ID of this item. Note: This is not the Seeq ID, but the unique identifier that the remote datasource uses.
* @return dataId
**/
@Schema(description = "The data ID of this item. Note: This is not the Seeq ID, but the unique identifier that the remote datasource uses.")
public String getDataId() {
return dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId;
}
public DisplayInputV1 syncToken(String syncToken) {
this.syncToken = syncToken;
return this;
}
/**
* An arbitrary token (often a date or random ID) that is used during metadata syncs. At the end of a full sync, items with mismatching sync tokens are identified as stale and may be archived using the Datasources clean-up API.
* @return syncToken
**/
@Schema(description = "An arbitrary token (often a date or random ID) that is used during metadata syncs. At the end of a full sync, items with mismatching sync tokens are identified as stale and may be archived using the Datasources clean-up API.")
public String getSyncToken() {
return syncToken;
}
public void setSyncToken(String syncToken) {
this.syncToken = syncToken;
}
public DisplayInputV1 templateId(UUID templateId) {
this.templateId = templateId;
return this;
}
/**
* The template for the display. This is required for new Displays.
* @return templateId
**/
@Schema(description = "The template for the display. This is required for new Displays.")
public UUID getTemplateId() {
return templateId;
}
public void setTemplateId(UUID templateId) {
this.templateId = templateId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DisplayInputV1 displayInputV1 = (DisplayInputV1) o;
return Objects.equals(this.dataId, displayInputV1.dataId) &&
Objects.equals(this.syncToken, displayInputV1.syncToken) &&
Objects.equals(this.templateId, displayInputV1.templateId);
}
@Override
public int hashCode() {
return Objects.hash(dataId, syncToken, templateId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DisplayInputV1 {\n");
sb.append(" dataId: ").append(toIndentedString(dataId)).append("\n");
sb.append(" syncToken: ").append(toIndentedString(syncToken)).append("\n");
sb.append(" templateId: ").append(toIndentedString(templateId)).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 ");
}
}