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

com.seeq.model.AssetSelectionInputV1 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;
/**
 * AssetSelectionInputV1
 */
public class AssetSelectionInputV1 {
  @JsonProperty("archived")
  private Boolean archived = false;

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

  @JsonProperty("assetPathDepth")
  private Long assetPathDepth = null;

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

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

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

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

  public AssetSelectionInputV1 archived(Boolean archived) {
    this.archived = archived;
    return this;
  }

   /**
   * Whether the assetSelection should be archived
   * @return archived
  **/
  @Schema(description = "Whether the assetSelection should be archived")
  public Boolean getArchived() {
    return archived;
  }

  public void setArchived(Boolean archived) {
    this.archived = archived;
  }

  public AssetSelectionInputV1 assetId(String assetId) {
    this.assetId = assetId;
    return this;
  }

   /**
   * The asset selected
   * @return assetId
  **/
  @Schema(required = true, description = "The asset selected")
  public String getAssetId() {
    return assetId;
  }

  public void setAssetId(String assetId) {
    this.assetId = assetId;
  }

  public AssetSelectionInputV1 assetPathDepth(Long assetPathDepth) {
    this.assetPathDepth = assetPathDepth;
    return this;
  }

   /**
   * Max depth for asset path name for this selection
   * @return assetPathDepth
  **/
  @Schema(description = "Max depth for asset path name for this selection")
  public Long getAssetPathDepth() {
    return assetPathDepth;
  }

  public void setAssetPathDepth(Long assetPathDepth) {
    this.assetPathDepth = assetPathDepth;
  }

  public AssetSelectionInputV1 description(String description) {
    this.description = description;
    return this;
  }

   /**
   * Clarifying information or other plain language description of this item. An input of just whitespaces is equivalent to a null input.
   * @return description
  **/
  @Schema(description = "Clarifying information or other plain language description of this item. An input of just whitespaces is equivalent to a null input.")
  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public AssetSelectionInputV1 name(String name) {
    this.name = name;
    return this;
  }

   /**
   * Human readable name. Required during creation. An input of just whitespaces is equivalent to a null input.
   * @return name
  **/
  @Schema(required = true, description = "Human readable name. Required during creation. An input of just whitespaces is equivalent to a null input.")
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public AssetSelectionInputV1 reportId(String reportId) {
    this.reportId = reportId;
    return this;
  }

   /**
   * The asset selection's report
   * @return reportId
  **/
  @Schema(description = "The asset selection's report")
  public String getReportId() {
    return reportId;
  }

  public void setReportId(String reportId) {
    this.reportId = reportId;
  }

  public AssetSelectionInputV1 selectionId(String selectionId) {
    this.selectionId = selectionId;
    return this;
  }

   /**
   * Seeq Id for the asset selection
   * @return selectionId
  **/
  @Schema(description = "Seeq Id for the asset selection")
  public String getSelectionId() {
    return selectionId;
  }

  public void setSelectionId(String selectionId) {
    this.selectionId = selectionId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AssetSelectionInputV1 assetSelectionInputV1 = (AssetSelectionInputV1) o;
    return Objects.equals(this.archived, assetSelectionInputV1.archived) &&
        Objects.equals(this.assetId, assetSelectionInputV1.assetId) &&
        Objects.equals(this.assetPathDepth, assetSelectionInputV1.assetPathDepth) &&
        Objects.equals(this.description, assetSelectionInputV1.description) &&
        Objects.equals(this.name, assetSelectionInputV1.name) &&
        Objects.equals(this.reportId, assetSelectionInputV1.reportId) &&
        Objects.equals(this.selectionId, assetSelectionInputV1.selectionId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(archived, assetId, assetPathDepth, description, name, reportId, selectionId);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AssetSelectionInputV1 {\n");
    
    sb.append("    archived: ").append(toIndentedString(archived)).append("\n");
    sb.append("    assetId: ").append(toIndentedString(assetId)).append("\n");
    sb.append("    assetPathDepth: ").append(toIndentedString(assetPathDepth)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    reportId: ").append(toIndentedString(reportId)).append("\n");
    sb.append("    selectionId: ").append(toIndentedString(selectionId)).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