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

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

There is a newer version: 66.0.0-v202407310200
Show newest version
/*
 * 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 com.seeq.model.DatasourcePreviewV1;
import com.seeq.model.IdentityPreviewV1;
import com.seeq.model.ItemPreviewV1;
import com.seeq.model.PermissionsV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
 * FormulaPackageOutputV1
 */
public class FormulaPackageOutputV1 {
  @JsonProperty("createdAt")
  private String createdAt = null;

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

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

  @JsonProperty("datasource")
  private DatasourcePreviewV1 datasource = null;

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

  @JsonProperty("docs")
  private List docs = new ArrayList();

  @JsonProperty("effectivePermissions")
  private PermissionsV1 effectivePermissions = null;

  @JsonProperty("functions")
  private List functions = new ArrayList();

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

  @JsonProperty("installer")
  private IdentityPreviewV1 installer = null;

  @JsonProperty("isArchived")
  private Boolean isArchived = false;

  @JsonProperty("isRedacted")
  private Boolean isRedacted = false;

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

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

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

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

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

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

  public FormulaPackageOutputV1 createdAt(String createdAt) {
    this.createdAt = createdAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the FormulaPackage was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).
   * @return createdAt
  **/
  @Schema(description = "The ISO 8601 date of when the FormulaPackage was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).")
  public String getCreatedAt() {
    return createdAt;
  }

  public void setCreatedAt(String createdAt) {
    this.createdAt = createdAt;
  }

  public FormulaPackageOutputV1 creatorContactInfo(String creatorContactInfo) {
    this.creatorContactInfo = creatorContactInfo;
    return this;
  }

   /**
   * The contact information of the entity that created this FormulaPackage.
   * @return creatorContactInfo
  **/
  @Schema(description = "The contact information of the entity that created this FormulaPackage.")
  public String getCreatorContactInfo() {
    return creatorContactInfo;
  }

  public void setCreatorContactInfo(String creatorContactInfo) {
    this.creatorContactInfo = creatorContactInfo;
  }

  public FormulaPackageOutputV1 creatorName(String creatorName) {
    this.creatorName = creatorName;
    return this;
  }

   /**
   * The name of the entity that created this FormulaPackage.
   * @return creatorName
  **/
  @Schema(description = "The name of the entity that created this FormulaPackage.")
  public String getCreatorName() {
    return creatorName;
  }

  public void setCreatorName(String creatorName) {
    this.creatorName = creatorName;
  }

  public FormulaPackageOutputV1 datasource(DatasourcePreviewV1 datasource) {
    this.datasource = datasource;
    return this;
  }

   /**
   * Get datasource
   * @return datasource
  **/
  @Schema(description = "")
  public DatasourcePreviewV1 getDatasource() {
    return datasource;
  }

  public void setDatasource(DatasourcePreviewV1 datasource) {
    this.datasource = datasource;
  }

  public FormulaPackageOutputV1 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 FormulaPackageOutputV1 docs(List docs) {
    this.docs = docs;
    return this;
  }

  public FormulaPackageOutputV1 addDocsItem(ItemPreviewV1 docsItem) {
    if (this.docs == null) {
      this.docs = new ArrayList();
    }
    this.docs.add(docsItem);
    return this;
  }

   /**
   * The list of formula docs contained in this FormulaPackage.
   * @return docs
  **/
  @Schema(description = "The list of formula docs contained in this FormulaPackage.")
  public List getDocs() {
    return docs;
  }

  public void setDocs(List docs) {
    this.docs = docs;
  }

  public FormulaPackageOutputV1 effectivePermissions(PermissionsV1 effectivePermissions) {
    this.effectivePermissions = effectivePermissions;
    return this;
  }

   /**
   * Get effectivePermissions
   * @return effectivePermissions
  **/
  @Schema(description = "")
  public PermissionsV1 getEffectivePermissions() {
    return effectivePermissions;
  }

  public void setEffectivePermissions(PermissionsV1 effectivePermissions) {
    this.effectivePermissions = effectivePermissions;
  }

  public FormulaPackageOutputV1 functions(List functions) {
    this.functions = functions;
    return this;
  }

  public FormulaPackageOutputV1 addFunctionsItem(ItemPreviewV1 functionsItem) {
    if (this.functions == null) {
      this.functions = new ArrayList();
    }
    this.functions.add(functionsItem);
    return this;
  }

   /**
   * The list of user defined functions contained in this FormulaPackage
   * @return functions
  **/
  @Schema(description = "The list of user defined functions contained in this FormulaPackage")
  public List getFunctions() {
    return functions;
  }

  public void setFunctions(List functions) {
    this.functions = functions;
  }

  public FormulaPackageOutputV1 id(String 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 String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public FormulaPackageOutputV1 installer(IdentityPreviewV1 installer) {
    this.installer = installer;
    return this;
  }

   /**
   * Get installer
   * @return installer
  **/
  @Schema(description = "")
  public IdentityPreviewV1 getInstaller() {
    return installer;
  }

  public void setInstaller(IdentityPreviewV1 installer) {
    this.installer = installer;
  }

  public FormulaPackageOutputV1 isArchived(Boolean isArchived) {
    this.isArchived = isArchived;
    return this;
  }

   /**
   * Whether item is archived
   * @return isArchived
  **/
  @Schema(description = "Whether item is archived")
  public Boolean getIsArchived() {
    return isArchived;
  }

  public void setIsArchived(Boolean isArchived) {
    this.isArchived = isArchived;
  }

  public FormulaPackageOutputV1 isRedacted(Boolean isRedacted) {
    this.isRedacted = isRedacted;
    return this;
  }

   /**
   * Whether item is redacted
   * @return isRedacted
  **/
  @Schema(description = "Whether item is redacted")
  public Boolean getIsRedacted() {
    return isRedacted;
  }

  public void setIsRedacted(Boolean isRedacted) {
    this.isRedacted = isRedacted;
  }

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

   /**
   * The item's translation key, if any
   * @return translationKey
  **/
  @Schema(description = "The item's translation key, if any")
  public String getTranslationKey() {
    return translationKey;
  }

  public void setTranslationKey(String translationKey) {
    this.translationKey = translationKey;
  }

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

  public FormulaPackageOutputV1 updatedAt(String updatedAt) {
    this.updatedAt = updatedAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the FormulaPackage was updated (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).
   * @return updatedAt
  **/
  @Schema(description = "The ISO 8601 date of when the FormulaPackage was updated (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).")
  public String getUpdatedAt() {
    return updatedAt;
  }

  public void setUpdatedAt(String updatedAt) {
    this.updatedAt = updatedAt;
  }

  public FormulaPackageOutputV1 versionString(String versionString) {
    this.versionString = versionString;
    return this;
  }

   /**
   * The version of this FormulaPackage.
   * @return versionString
  **/
  @Schema(description = "The version of this FormulaPackage.")
  public String getVersionString() {
    return versionString;
  }

  public void setVersionString(String versionString) {
    this.versionString = versionString;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    FormulaPackageOutputV1 formulaPackageOutputV1 = (FormulaPackageOutputV1) o;
    return Objects.equals(this.createdAt, formulaPackageOutputV1.createdAt) &&
        Objects.equals(this.creatorContactInfo, formulaPackageOutputV1.creatorContactInfo) &&
        Objects.equals(this.creatorName, formulaPackageOutputV1.creatorName) &&
        Objects.equals(this.datasource, formulaPackageOutputV1.datasource) &&
        Objects.equals(this.description, formulaPackageOutputV1.description) &&
        Objects.equals(this.docs, formulaPackageOutputV1.docs) &&
        Objects.equals(this.effectivePermissions, formulaPackageOutputV1.effectivePermissions) &&
        Objects.equals(this.functions, formulaPackageOutputV1.functions) &&
        Objects.equals(this.id, formulaPackageOutputV1.id) &&
        Objects.equals(this.installer, formulaPackageOutputV1.installer) &&
        Objects.equals(this.isArchived, formulaPackageOutputV1.isArchived) &&
        Objects.equals(this.isRedacted, formulaPackageOutputV1.isRedacted) &&
        Objects.equals(this.name, formulaPackageOutputV1.name) &&
        Objects.equals(this.statusMessage, formulaPackageOutputV1.statusMessage) &&
        Objects.equals(this.translationKey, formulaPackageOutputV1.translationKey) &&
        Objects.equals(this.type, formulaPackageOutputV1.type) &&
        Objects.equals(this.updatedAt, formulaPackageOutputV1.updatedAt) &&
        Objects.equals(this.versionString, formulaPackageOutputV1.versionString);
  }

  @Override
  public int hashCode() {
    return Objects.hash(createdAt, creatorContactInfo, creatorName, datasource, description, docs, effectivePermissions, functions, id, installer, isArchived, isRedacted, name, statusMessage, translationKey, type, updatedAt, versionString);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class FormulaPackageOutputV1 {\n");
    
    sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
    sb.append("    creatorContactInfo: ").append(toIndentedString(creatorContactInfo)).append("\n");
    sb.append("    creatorName: ").append(toIndentedString(creatorName)).append("\n");
    sb.append("    datasource: ").append(toIndentedString(datasource)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    docs: ").append(toIndentedString(docs)).append("\n");
    sb.append("    effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
    sb.append("    functions: ").append(toIndentedString(functions)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    installer: ").append(toIndentedString(installer)).append("\n");
    sb.append("    isArchived: ").append(toIndentedString(isArchived)).append("\n");
    sb.append("    isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
    sb.append("    translationKey: ").append(toIndentedString(translationKey)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
    sb.append("    updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
    sb.append("    versionString: ").append(toIndentedString(versionString)).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