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.
/*
* 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.DisplayTemplateOutputV1;
import com.seeq.model.PermissionsV1;
import com.seeq.model.SwapOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.UUID;
/**
* DisplayOutputV1
*/
public class DisplayOutputV1 {
@JsonProperty("dataId")
private String dataId = null;
@JsonProperty("datasourceClass")
private String datasourceClass = null;
@JsonProperty("datasourceId")
private String datasourceId = null;
@JsonProperty("description")
private String description = null;
@JsonProperty("effectivePermissions")
private PermissionsV1 effectivePermissions = null;
@JsonProperty("id")
private UUID id = null;
@JsonProperty("isArchived")
private Boolean isArchived = null;
@JsonProperty("name")
private String name = null;
@JsonProperty("scopedTo")
private UUID scopedTo = null;
@JsonProperty("statusMessage")
private String statusMessage = null;
@JsonProperty("swap")
private SwapOutputV1 swap = null;
@JsonProperty("syncToken")
private String syncToken = null;
@JsonProperty("template")
private DisplayTemplateOutputV1 template = null;
@JsonProperty("type")
private String type = null;
public DisplayOutputV1 dataId(String dataId) {
this.dataId = dataId;
return this;
}
/**
* The data ID of this asset. Note: This is not the Seeq ID, but the unique identifier that the remote datasource uses.
* @return dataId
**/
@Schema(required = true, description = "The data ID of this asset. 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 DisplayOutputV1 datasourceClass(String datasourceClass) {
this.datasourceClass = datasourceClass;
return this;
}
/**
* The datasource class, which is the type of system holding the item, such as OSIsoft PI
* @return datasourceClass
**/
@Schema(required = true, description = "The datasource class, which is the type of system holding the item, such as OSIsoft PI")
public String getDatasourceClass() {
return datasourceClass;
}
public void setDatasourceClass(String datasourceClass) {
this.datasourceClass = datasourceClass;
}
public DisplayOutputV1 datasourceId(String datasourceId) {
this.datasourceId = datasourceId;
return this;
}
/**
* The datasource identifier, which is how the datasource holding this item identifies itself
* @return datasourceId
**/
@Schema(required = true, description = "The datasource identifier, which is how the datasource holding this item identifies itself")
public String getDatasourceId() {
return datasourceId;
}
public void setDatasourceId(String datasourceId) {
this.datasourceId = datasourceId;
}
public DisplayOutputV1 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 DisplayOutputV1 effectivePermissions(PermissionsV1 effectivePermissions) {
this.effectivePermissions = effectivePermissions;
return this;
}
/**
* Get effectivePermissions
* @return effectivePermissions
**/
@Schema(required = true, description = "")
public PermissionsV1 getEffectivePermissions() {
return effectivePermissions;
}
public void setEffectivePermissions(PermissionsV1 effectivePermissions) {
this.effectivePermissions = effectivePermissions;
}
public DisplayOutputV1 id(UUID 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 UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
public DisplayOutputV1 isArchived(Boolean isArchived) {
this.isArchived = isArchived;
return this;
}
/**
* Get isArchived
* @return isArchived
**/
@Schema(description = "")
public Boolean getIsArchived() {
return isArchived;
}
public void setIsArchived(Boolean isArchived) {
this.isArchived = isArchived;
}
public DisplayOutputV1 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 DisplayOutputV1 scopedTo(UUID scopedTo) {
this.scopedTo = scopedTo;
return this;
}
/**
* The ID of the workbook to which this item is scoped or null if it is in the global scope.
* @return scopedTo
**/
@Schema(description = "The ID of the workbook to which this item is scoped or null if it is in the global scope.")
public UUID getScopedTo() {
return scopedTo;
}
public void setScopedTo(UUID scopedTo) {
this.scopedTo = scopedTo;
}
public DisplayOutputV1 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(required = true, 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 DisplayOutputV1 swap(SwapOutputV1 swap) {
this.swap = swap;
return this;
}
/**
* Get swap
* @return swap
**/
@Schema(description = "")
public SwapOutputV1 getSwap() {
return swap;
}
public void setSwap(SwapOutputV1 swap) {
this.swap = swap;
}
public DisplayOutputV1 syncToken(String syncToken) {
this.syncToken = syncToken;
return this;
}
/**
* An arbitrary token (often a date or random ID) that is used during metadata syncs.
* @return syncToken
**/
@Schema(required = true, description = "An arbitrary token (often a date or random ID) that is used during metadata syncs.")
public String getSyncToken() {
return syncToken;
}
public void setSyncToken(String syncToken) {
this.syncToken = syncToken;
}
public DisplayOutputV1 template(DisplayTemplateOutputV1 template) {
this.template = template;
return this;
}
/**
* Get template
* @return template
**/
@Schema(required = true, description = "")
public DisplayTemplateOutputV1 getTemplate() {
return template;
}
public void setTemplate(DisplayTemplateOutputV1 template) {
this.template = template;
}
public DisplayOutputV1 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;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DisplayOutputV1 displayOutputV1 = (DisplayOutputV1) o;
return Objects.equals(this.dataId, displayOutputV1.dataId) &&
Objects.equals(this.datasourceClass, displayOutputV1.datasourceClass) &&
Objects.equals(this.datasourceId, displayOutputV1.datasourceId) &&
Objects.equals(this.description, displayOutputV1.description) &&
Objects.equals(this.effectivePermissions, displayOutputV1.effectivePermissions) &&
Objects.equals(this.id, displayOutputV1.id) &&
Objects.equals(this.isArchived, displayOutputV1.isArchived) &&
Objects.equals(this.name, displayOutputV1.name) &&
Objects.equals(this.scopedTo, displayOutputV1.scopedTo) &&
Objects.equals(this.statusMessage, displayOutputV1.statusMessage) &&
Objects.equals(this.swap, displayOutputV1.swap) &&
Objects.equals(this.syncToken, displayOutputV1.syncToken) &&
Objects.equals(this.template, displayOutputV1.template) &&
Objects.equals(this.type, displayOutputV1.type);
}
@Override
public int hashCode() {
return Objects.hash(dataId, datasourceClass, datasourceId, description, effectivePermissions, id, isArchived, name, scopedTo, statusMessage, swap, syncToken, template, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DisplayOutputV1 {\n");
sb.append(" dataId: ").append(toIndentedString(dataId)).append("\n");
sb.append(" datasourceClass: ").append(toIndentedString(datasourceClass)).append("\n");
sb.append(" datasourceId: ").append(toIndentedString(datasourceId)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" isArchived: ").append(toIndentedString(isArchived)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" scopedTo: ").append(toIndentedString(scopedTo)).append("\n");
sb.append(" statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
sb.append(" swap: ").append(toIndentedString(swap)).append("\n");
sb.append(" syncToken: ").append(toIndentedString(syncToken)).append("\n");
sb.append(" template: ").append(toIndentedString(template)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).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 ");
}
}