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: 64.3.0-v202405012032
*
*
* 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;
/**
* ContextLabelOutputV1
*/
public class ContextLabelOutputV1 {
@JsonProperty("archived")
private Boolean archived = null;
@JsonProperty("context")
private UUID context = null;
@JsonProperty("contextId")
private UUID contextId = null;
@JsonProperty("createdAt")
private String createdAt = null;
@JsonProperty("creatorId")
private UUID creatorId = null;
@JsonProperty("datumId")
private String datumId = null;
@JsonProperty("itemId")
private UUID itemId = null;
@JsonProperty("label")
private String label = null;
@JsonProperty("labelCategoryId")
private UUID labelCategoryId = null;
@JsonProperty("updatedAt")
private String updatedAt = null;
public ContextLabelOutputV1 archived(Boolean archived) {
this.archived = archived;
return this;
}
/**
* True if the context is archived, false otherwise
* @return archived
**/
@Schema(required = true, description = "True if the context is archived, false otherwise")
public Boolean getArchived() {
return archived;
}
public void setArchived(Boolean archived) {
this.archived = archived;
}
public ContextLabelOutputV1 context(UUID context) {
this.context = context;
return this;
}
/**
* The content of the context
* @return context
**/
@Schema(required = true, description = "The content of the context")
public UUID getContext() {
return context;
}
public void setContext(UUID context) {
this.context = context;
}
public ContextLabelOutputV1 contextId(UUID contextId) {
this.contextId = contextId;
return this;
}
/**
* ID of the context
* @return contextId
**/
@Schema(description = "ID of the context")
public UUID getContextId() {
return contextId;
}
public void setContextId(UUID contextId) {
this.contextId = contextId;
}
public ContextLabelOutputV1 createdAt(String createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* The time, as an ISO-8601 timestamp, when the context was created
* @return createdAt
**/
@Schema(required = true, description = "The time, as an ISO-8601 timestamp, when the context was created")
public String getCreatedAt() {
return createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public ContextLabelOutputV1 creatorId(UUID creatorId) {
this.creatorId = creatorId;
return this;
}
/**
* ID of the user that created the context
* @return creatorId
**/
@Schema(required = true, description = "ID of the user that created the context")
public UUID getCreatorId() {
return creatorId;
}
public void setCreatorId(UUID creatorId) {
this.creatorId = creatorId;
}
public ContextLabelOutputV1 datumId(String datumId) {
this.datumId = datumId;
return this;
}
/**
* If provided, the ID of a more specific aspect of the Item to associate with the context, such as the ID of a capsule
* @return datumId
**/
@Schema(description = "If provided, the ID of a more specific aspect of the Item to associate with the context, such as the ID of a capsule")
public String getDatumId() {
return datumId;
}
public void setDatumId(String datumId) {
this.datumId = datumId;
}
public ContextLabelOutputV1 itemId(UUID itemId) {
this.itemId = itemId;
return this;
}
/**
* ID of the Item that will be associated with this context
* @return itemId
**/
@Schema(required = true, description = "ID of the Item that will be associated with this context")
public UUID getItemId() {
return itemId;
}
public void setItemId(UUID itemId) {
this.itemId = itemId;
}
public ContextLabelOutputV1 label(String label) {
this.label = label;
return this;
}
/**
* The text of the label
* @return label
**/
@Schema(required = true, description = "The text of the label")
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public ContextLabelOutputV1 labelCategoryId(UUID labelCategoryId) {
this.labelCategoryId = labelCategoryId;
return this;
}
/**
* The ID of the label category
* @return labelCategoryId
**/
@Schema(required = true, description = "The ID of the label category")
public UUID getLabelCategoryId() {
return labelCategoryId;
}
public void setLabelCategoryId(UUID labelCategoryId) {
this.labelCategoryId = labelCategoryId;
}
public ContextLabelOutputV1 updatedAt(String updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* The time, as an ISO-8601 timestamp, when the context was last updated
* @return updatedAt
**/
@Schema(description = "The time, as an ISO-8601 timestamp, when the context was last updated")
public String getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(String updatedAt) {
this.updatedAt = updatedAt;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ContextLabelOutputV1 contextLabelOutputV1 = (ContextLabelOutputV1) o;
return Objects.equals(this.archived, contextLabelOutputV1.archived) &&
Objects.equals(this.context, contextLabelOutputV1.context) &&
Objects.equals(this.contextId, contextLabelOutputV1.contextId) &&
Objects.equals(this.createdAt, contextLabelOutputV1.createdAt) &&
Objects.equals(this.creatorId, contextLabelOutputV1.creatorId) &&
Objects.equals(this.datumId, contextLabelOutputV1.datumId) &&
Objects.equals(this.itemId, contextLabelOutputV1.itemId) &&
Objects.equals(this.label, contextLabelOutputV1.label) &&
Objects.equals(this.labelCategoryId, contextLabelOutputV1.labelCategoryId) &&
Objects.equals(this.updatedAt, contextLabelOutputV1.updatedAt);
}
@Override
public int hashCode() {
return Objects.hash(archived, context, contextId, createdAt, creatorId, datumId, itemId, label, labelCategoryId, updatedAt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ContextLabelOutputV1 {\n");
sb.append(" archived: ").append(toIndentedString(archived)).append("\n");
sb.append(" context: ").append(toIndentedString(context)).append("\n");
sb.append(" contextId: ").append(toIndentedString(contextId)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" creatorId: ").append(toIndentedString(creatorId)).append("\n");
sb.append(" datumId: ").append(toIndentedString(datumId)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" label: ").append(toIndentedString(label)).append("\n");
sb.append(" labelCategoryId: ").append(toIndentedString(labelCategoryId)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).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 ");
}
}