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: 63.1.6-v202409101657
*
*
* 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;
/**
* ContextCommentOutputV1
*/
public class ContextCommentOutputV1 {
@JsonProperty("archived")
private Boolean archived = null;
@JsonProperty("context")
private String 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("updatedAt")
private String updatedAt = null;
public ContextCommentOutputV1 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 ContextCommentOutputV1 context(String context) {
this.context = context;
return this;
}
/**
* The content of the context
* @return context
**/
@Schema(required = true, description = "The content of the context")
public String getContext() {
return context;
}
public void setContext(String context) {
this.context = context;
}
public ContextCommentOutputV1 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 ContextCommentOutputV1 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 ContextCommentOutputV1 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 ContextCommentOutputV1 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 ContextCommentOutputV1 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 ContextCommentOutputV1 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;
}
ContextCommentOutputV1 contextCommentOutputV1 = (ContextCommentOutputV1) o;
return Objects.equals(this.archived, contextCommentOutputV1.archived) &&
Objects.equals(this.context, contextCommentOutputV1.context) &&
Objects.equals(this.contextId, contextCommentOutputV1.contextId) &&
Objects.equals(this.createdAt, contextCommentOutputV1.createdAt) &&
Objects.equals(this.creatorId, contextCommentOutputV1.creatorId) &&
Objects.equals(this.datumId, contextCommentOutputV1.datumId) &&
Objects.equals(this.itemId, contextCommentOutputV1.itemId) &&
Objects.equals(this.updatedAt, contextCommentOutputV1.updatedAt);
}
@Override
public int hashCode() {
return Objects.hash(archived, context, contextId, createdAt, creatorId, datumId, itemId, updatedAt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ContextCommentOutputV1 {\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(" 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 ");
}
}