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

com.seeq.model.ProjectOutputV1 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: 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.IdentityPreviewV1;
import com.seeq.model.ItemPreviewV1;
import com.seeq.model.PermissionsV1;
import com.seeq.model.ScalarPropertyV1;
import com.seeq.model.ScheduledNotebookOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
 * ProjectOutputV1
 */
public class ProjectOutputV1 {
  @JsonProperty("ancestors")
  private List ancestors = new ArrayList();

  @JsonProperty("configuration")
  private List _configuration = new ArrayList();

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

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

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

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

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

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

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

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

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

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

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

  /**
   * The type of project. One of DATA_LAB (default) or DATA_LAB_FUNCTIONS.
   */
  public enum ProjectTypeEnum {
    LAB("DATA_LAB"),
    LAB_FUNCTIONS("DATA_LAB_FUNCTIONS");

    private String value;

    ProjectTypeEnum(String value) {
      this.value = value;
    }
    @JsonValue
    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }
    @JsonCreator
    public static ProjectTypeEnum fromValue(String input) {
      for (ProjectTypeEnum b : ProjectTypeEnum.values()) {
        if (b.value.equals(input)) {
          return b;
        }
      }
      return null;
    }

  }  @JsonProperty("projectType")
  private ProjectTypeEnum projectType = null;

  /**
   * The size of the resources provisioned for this project. One of UI_S, GP_S (default), GP_M, ML_L, or ML_XL.   The values represent a combination of Purpose (represents the use-case and workload) and Size.  Purposes: UI = User Interaction, GP = General Purpose, ML = Machine Learning.  Sizes: S = Small, M = Medium, L = Large, XL = Extra Large.
   */
  public enum ResourceSizeEnum {
    UI_S("UI_S"),
    GP_S("GP_S"),
    GP_M("GP_M"),
    ML_L("ML_L"),
    ML_XL("ML_XL");

    private String value;

    ResourceSizeEnum(String value) {
      this.value = value;
    }
    @JsonValue
    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }
    @JsonCreator
    public static ResourceSizeEnum fromValue(String input) {
      for (ResourceSizeEnum b : ResourceSizeEnum.values()) {
        if (b.value.equals(input)) {
          return b;
        }
      }
      return null;
    }

  }  @JsonProperty("resourceSize")
  private ResourceSizeEnum resourceSize = null;

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

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

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

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

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

  public ProjectOutputV1 ancestors(List ancestors) {
    this.ancestors = ancestors;
    return this;
  }

  public ProjectOutputV1 addAncestorsItem(ItemPreviewV1 ancestorsItem) {
    if (this.ancestors == null) {
      this.ancestors = new ArrayList();
    }
    this.ancestors.add(ancestorsItem);
    return this;
  }

   /**
   * The list of folder ancestors, starting at the topmost folder to which the user has access
   * @return ancestors
  **/
  @Schema(description = "The list of folder ancestors, starting at the topmost folder to which the user has access")
  public List getAncestors() {
    return ancestors;
  }

  public void setAncestors(List ancestors) {
    this.ancestors = ancestors;
  }

  public ProjectOutputV1 _configuration(List _configuration) {
    this._configuration = _configuration;
    return this;
  }

  public ProjectOutputV1 addConfigurationItem(ScalarPropertyV1 _configurationItem) {
    if (this._configuration == null) {
      this._configuration = new ArrayList();
    }
    this._configuration.add(_configurationItem);
    return this;
  }

   /**
   * The list of configuration settings for the project.
   * @return _configuration
  **/
  @Schema(description = "The list of configuration settings for the project.")
  public List getConfiguration() {
    return _configuration;
  }

  public void setConfiguration(List _configuration) {
    this._configuration = _configuration;
  }

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

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

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

  public ProjectOutputV1 creator(IdentityPreviewV1 creator) {
    this.creator = creator;
    return this;
  }

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

  public void setCreator(IdentityPreviewV1 creator) {
    this.creator = creator;
  }

  public ProjectOutputV1 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 ProjectOutputV1 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 ProjectOutputV1 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 ProjectOutputV1 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 ProjectOutputV1 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 ProjectOutputV1 markedAsFavorite(Boolean markedAsFavorite) {
    this.markedAsFavorite = markedAsFavorite;
    return this;
  }

   /**
   * Flag indicating whether this folder, analysis, topic, or project has been marked as a favorite by the current user
   * @return markedAsFavorite
  **/
  @Schema(description = "Flag indicating whether this folder, analysis, topic, or project has been marked as a favorite by the current user")
  public Boolean getMarkedAsFavorite() {
    return markedAsFavorite;
  }

  public void setMarkedAsFavorite(Boolean markedAsFavorite) {
    this.markedAsFavorite = markedAsFavorite;
  }

  public ProjectOutputV1 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 ProjectOutputV1 owner(IdentityPreviewV1 owner) {
    this.owner = owner;
    return this;
  }

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

  public void setOwner(IdentityPreviewV1 owner) {
    this.owner = owner;
  }

  public ProjectOutputV1 parentFolderId(String parentFolderId) {
    this.parentFolderId = parentFolderId;
    return this;
  }

   /**
   * The ID of the parent folder which this folder, analysis, topic, or project is a subfolder of
   * @return parentFolderId
  **/
  @Schema(description = "The ID of the parent folder which this folder, analysis, topic, or project is a subfolder of")
  public String getParentFolderId() {
    return parentFolderId;
  }

  public void setParentFolderId(String parentFolderId) {
    this.parentFolderId = parentFolderId;
  }

  public ProjectOutputV1 projectType(ProjectTypeEnum projectType) {
    this.projectType = projectType;
    return this;
  }

   /**
   * The type of project. One of DATA_LAB (default) or DATA_LAB_FUNCTIONS.
   * @return projectType
  **/
  @Schema(description = "The type of project. One of DATA_LAB (default) or DATA_LAB_FUNCTIONS.")
  public ProjectTypeEnum getProjectType() {
    return projectType;
  }

  public void setProjectType(ProjectTypeEnum projectType) {
    this.projectType = projectType;
  }

  public ProjectOutputV1 resourceSize(ResourceSizeEnum resourceSize) {
    this.resourceSize = resourceSize;
    return this;
  }

   /**
   * The size of the resources provisioned for this project. One of UI_S, GP_S (default), GP_M, ML_L, or ML_XL.   The values represent a combination of Purpose (represents the use-case and workload) and Size.  Purposes: UI = User Interaction, GP = General Purpose, ML = Machine Learning.  Sizes: S = Small, M = Medium, L = Large, XL = Extra Large.
   * @return resourceSize
  **/
  @Schema(description = "The size of the resources provisioned for this project. One of UI_S, GP_S (default), GP_M, ML_L, or ML_XL.   The values represent a combination of Purpose (represents the use-case and workload) and Size.  Purposes: UI = User Interaction, GP = General Purpose, ML = Machine Learning.  Sizes: S = Small, M = Medium, L = Large, XL = Extra Large.")
  public ResourceSizeEnum getResourceSize() {
    return resourceSize;
  }

  public void setResourceSize(ResourceSizeEnum resourceSize) {
    this.resourceSize = resourceSize;
  }

  public ProjectOutputV1 scheduledNotebooks(List scheduledNotebooks) {
    this.scheduledNotebooks = scheduledNotebooks;
    return this;
  }

  public ProjectOutputV1 addScheduledNotebooksItem(ScheduledNotebookOutputV1 scheduledNotebooksItem) {
    if (this.scheduledNotebooks == null) {
      this.scheduledNotebooks = new ArrayList();
    }
    this.scheduledNotebooks.add(scheduledNotebooksItem);
    return this;
  }

   /**
   * The scheduled notebooks within this Project
   * @return scheduledNotebooks
  **/
  @Schema(description = "The scheduled notebooks within this Project")
  public List getScheduledNotebooks() {
    return scheduledNotebooks;
  }

  public void setScheduledNotebooks(List scheduledNotebooks) {
    this.scheduledNotebooks = scheduledNotebooks;
  }

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

   /**
   * The ISO 8601 date of when the folder, analysis, topic, or project was updated (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return updatedAt
  **/
  @Schema(description = "The ISO 8601 date of when the folder, analysis, topic, or project was updated (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
  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;
    }
    ProjectOutputV1 projectOutputV1 = (ProjectOutputV1) o;
    return Objects.equals(this.ancestors, projectOutputV1.ancestors) &&
        Objects.equals(this._configuration, projectOutputV1._configuration) &&
        Objects.equals(this.createdAt, projectOutputV1.createdAt) &&
        Objects.equals(this.creator, projectOutputV1.creator) &&
        Objects.equals(this.description, projectOutputV1.description) &&
        Objects.equals(this.effectivePermissions, projectOutputV1.effectivePermissions) &&
        Objects.equals(this.id, projectOutputV1.id) &&
        Objects.equals(this.isArchived, projectOutputV1.isArchived) &&
        Objects.equals(this.isRedacted, projectOutputV1.isRedacted) &&
        Objects.equals(this.markedAsFavorite, projectOutputV1.markedAsFavorite) &&
        Objects.equals(this.name, projectOutputV1.name) &&
        Objects.equals(this.owner, projectOutputV1.owner) &&
        Objects.equals(this.parentFolderId, projectOutputV1.parentFolderId) &&
        Objects.equals(this.projectType, projectOutputV1.projectType) &&
        Objects.equals(this.resourceSize, projectOutputV1.resourceSize) &&
        Objects.equals(this.scheduledNotebooks, projectOutputV1.scheduledNotebooks) &&
        Objects.equals(this.statusMessage, projectOutputV1.statusMessage) &&
        Objects.equals(this.translationKey, projectOutputV1.translationKey) &&
        Objects.equals(this.type, projectOutputV1.type) &&
        Objects.equals(this.updatedAt, projectOutputV1.updatedAt);
  }

  @Override
  public int hashCode() {
    return Objects.hash(ancestors, _configuration, createdAt, creator, description, effectivePermissions, id, isArchived, isRedacted, markedAsFavorite, name, owner, parentFolderId, projectType, resourceSize, scheduledNotebooks, statusMessage, translationKey, type, updatedAt);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ProjectOutputV1 {\n");
    
    sb.append("    ancestors: ").append(toIndentedString(ancestors)).append("\n");
    sb.append("    _configuration: ").append(toIndentedString(_configuration)).append("\n");
    sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
    sb.append("    creator: ").append(toIndentedString(creator)).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("    isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
    sb.append("    markedAsFavorite: ").append(toIndentedString(markedAsFavorite)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    owner: ").append(toIndentedString(owner)).append("\n");
    sb.append("    parentFolderId: ").append(toIndentedString(parentFolderId)).append("\n");
    sb.append("    projectType: ").append(toIndentedString(projectType)).append("\n");
    sb.append("    resourceSize: ").append(toIndentedString(resourceSize)).append("\n");
    sb.append("    scheduledNotebooks: ").append(toIndentedString(scheduledNotebooks)).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("}");
    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