All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.seeq.model.ContextOpaqueOutputV1 Maven / Gradle / Ivy

There is a newer version: 66.0.0-v202410141803
Show newest version
/*
 * Seeq REST API
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 65.1.3-v202408082312
 * 
 *
 * 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;
/**
 * ContextOpaqueOutputV1
 */
public class ContextOpaqueOutputV1 {
  @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("endTime")
  private String endTime = null;

  @JsonProperty("itemId")
  private UUID itemId = null;

  @JsonProperty("key")
  private String key = null;

  @JsonProperty("startTime")
  private String startTime = null;

  @JsonProperty("updatedAt")
  private String updatedAt = null;

  @JsonProperty("updaterId")
  private UUID updaterId = null;

  public ContextOpaqueOutputV1 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 ContextOpaqueOutputV1 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 ContextOpaqueOutputV1 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 ContextOpaqueOutputV1 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 ContextOpaqueOutputV1 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 ContextOpaqueOutputV1 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 ContextOpaqueOutputV1 endTime(String endTime) {
    this.endTime = endTime;
    return this;
  }

   /**
   * The end time of the opaque context in the form of an ISO8601 timestamp
   * @return endTime
  **/
  @Schema(description = "The end time of the opaque context in the form of an ISO8601 timestamp")
  public String getEndTime() {
    return endTime;
  }

  public void setEndTime(String endTime) {
    this.endTime = endTime;
  }

  public ContextOpaqueOutputV1 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 ContextOpaqueOutputV1 key(String key) {
    this.key = key;
    return this;
  }

   /**
   * The identifier of the opaque context
   * @return key
  **/
  @Schema(required = true, description = "The identifier of the opaque context")
  public String getKey() {
    return key;
  }

  public void setKey(String key) {
    this.key = key;
  }

  public ContextOpaqueOutputV1 startTime(String startTime) {
    this.startTime = startTime;
    return this;
  }

   /**
   * The start time of the opaque context in the form of an ISO8601 timestamp
   * @return startTime
  **/
  @Schema(description = "The start time of the opaque context in the form of an ISO8601 timestamp")
  public String getStartTime() {
    return startTime;
  }

  public void setStartTime(String startTime) {
    this.startTime = startTime;
  }

  public ContextOpaqueOutputV1 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;
  }

  public ContextOpaqueOutputV1 updaterId(UUID updaterId) {
    this.updaterId = updaterId;
    return this;
  }

   /**
   * ID of the user that last updated the context
   * @return updaterId
  **/
  @Schema(description = "ID of the user that last updated the context")
  public UUID getUpdaterId() {
    return updaterId;
  }

  public void setUpdaterId(UUID updaterId) {
    this.updaterId = updaterId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ContextOpaqueOutputV1 contextOpaqueOutputV1 = (ContextOpaqueOutputV1) o;
    return Objects.equals(this.archived, contextOpaqueOutputV1.archived) &&
        Objects.equals(this.context, contextOpaqueOutputV1.context) &&
        Objects.equals(this.contextId, contextOpaqueOutputV1.contextId) &&
        Objects.equals(this.createdAt, contextOpaqueOutputV1.createdAt) &&
        Objects.equals(this.creatorId, contextOpaqueOutputV1.creatorId) &&
        Objects.equals(this.datumId, contextOpaqueOutputV1.datumId) &&
        Objects.equals(this.endTime, contextOpaqueOutputV1.endTime) &&
        Objects.equals(this.itemId, contextOpaqueOutputV1.itemId) &&
        Objects.equals(this.key, contextOpaqueOutputV1.key) &&
        Objects.equals(this.startTime, contextOpaqueOutputV1.startTime) &&
        Objects.equals(this.updatedAt, contextOpaqueOutputV1.updatedAt) &&
        Objects.equals(this.updaterId, contextOpaqueOutputV1.updaterId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(archived, context, contextId, createdAt, creatorId, datumId, endTime, itemId, key, startTime, updatedAt, updaterId);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ContextOpaqueOutputV1 {\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("    endTime: ").append(toIndentedString(endTime)).append("\n");
    sb.append("    itemId: ").append(toIndentedString(itemId)).append("\n");
    sb.append("    key: ").append(toIndentedString(key)).append("\n");
    sb.append("    startTime: ").append(toIndentedString(startTime)).append("\n");
    sb.append("    updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
    sb.append("    updaterId: ").append(toIndentedString(updaterId)).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    ");
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy