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

com.seeq.model.AssetGroupAssetInputV1 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.FormulaItemInputV1;
import com.seeq.model.ScalarPropertyV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
 * List of children for the asset tree
 */
@Schema(description = "List of children for the asset tree")
public class AssetGroupAssetInputV1 {
  @JsonProperty("additionalProperties")
  private List additionalProperties = new ArrayList();

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

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

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

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

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

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

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

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

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

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

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

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

  public AssetGroupAssetInputV1 additionalProperties(List additionalProperties) {
    this.additionalProperties = additionalProperties;
    return this;
  }

  public AssetGroupAssetInputV1 addAdditionalPropertiesItem(ScalarPropertyV1 additionalPropertiesItem) {
    if (this.additionalProperties == null) {
      this.additionalProperties = new ArrayList();
    }
    this.additionalProperties.add(additionalPropertiesItem);
    return this;
  }

   /**
   * Get additionalProperties
   * @return additionalProperties
  **/
  @Schema(description = "")
  public List getAdditionalProperties() {
    return additionalProperties;
  }

  public void setAdditionalProperties(List additionalProperties) {
    this.additionalProperties = additionalProperties;
  }

  public AssetGroupAssetInputV1 children(List children) {
    this.children = children;
    return this;
  }

  public AssetGroupAssetInputV1 addChildrenItem(FormulaItemInputV1 childrenItem) {
    if (this.children == null) {
      this.children = new ArrayList();
    }
    this.children.add(childrenItem);
    return this;
  }

   /**
   * List of children associated with an asset for the asset group editor
   * @return children
  **/
  @Schema(description = "List of children associated with an asset for the asset group editor")
  public List getChildren() {
    return children;
  }

  public void setChildren(List children) {
    this.children = children;
  }

  public AssetGroupAssetInputV1 dataId(String dataId) {
    this.dataId = dataId;
    return this;
  }

   /**
   * The data ID of this item. Note: This is not the Seeq ID, but the unique identifier that the remote datasource uses.
   * @return dataId
  **/
  @Schema(description = "The data ID of this item. Note: This is not the Seeq ID, but the unique identifier that the remote datasource uses.")
  public String getDataId() {
    return dataId;
  }

  public void setDataId(String dataId) {
    this.dataId = dataId;
  }

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

   /**
   * The ID of the datasource hosting this item. Note that this is a Seeq-generated ID, not the way that the datasource identifies itself.
   * @return hostId
  **/
  @Schema(description = "The ID of the datasource hosting this item. Note that this is a Seeq-generated ID, not the way that the datasource identifies itself.")
  public String getHostId() {
    return hostId;
  }

  public void setHostId(String hostId) {
    this.hostId = hostId;
  }

  public AssetGroupAssetInputV1 id(String id) {
    this.id = id;
    return this;
  }

   /**
   * The Seeq ID of the item to be updated.  If this is present it means the item needs to be updated
   * @return id
  **/
  @Schema(description = "The Seeq ID of the item to be updated.  If this is present it means the item needs to be updated")
  public String getId() {
    return id;
  }

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

  public AssetGroupAssetInputV1 manuallyAdded(String manuallyAdded) {
    this.manuallyAdded = manuallyAdded;
    return this;
  }

   /**
   * UUID of the user who created the asset
   * @return manuallyAdded
  **/
  @Schema(description = "UUID of the user who created the asset")
  public String getManuallyAdded() {
    return manuallyAdded;
  }

  public void setManuallyAdded(String manuallyAdded) {
    this.manuallyAdded = manuallyAdded;
  }

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

  public AssetGroupAssetInputV1 addPropertiesItem(ScalarPropertyV1 propertiesItem) {
    if (this.properties == null) {
      this.properties = new ArrayList();
    }
    this.properties.add(propertiesItem);
    return this;
  }

   /**
   * Get properties
   * @return properties
  **/
  @Schema(description = "")
  public List getProperties() {
    return properties;
  }

  public void setProperties(List properties) {
    this.properties = properties;
  }

  public AssetGroupAssetInputV1 scopedTo(String scopedTo) {
    this.scopedTo = scopedTo;
    return this;
  }

   /**
   * The ID of the workbook to which this item will be scoped.
   * @return scopedTo
  **/
  @Schema(description = "The ID of the workbook to which this item will be scoped.")
  public String getScopedTo() {
    return scopedTo;
  }

  public void setScopedTo(String scopedTo) {
    this.scopedTo = scopedTo;
  }

  public AssetGroupAssetInputV1 securityString(String securityString) {
    this.securityString = securityString;
    return this;
  }

   /**
   * Security string containing all identities and their permissions for the item. If set, permissions can only be managed by the connector and not in Seeq.
   * @return securityString
  **/
  @Schema(description = "Security string containing all identities and their permissions for the item. If set, permissions can only be managed by the connector and not in Seeq.")
  public String getSecurityString() {
    return securityString;
  }

  public void setSecurityString(String securityString) {
    this.securityString = securityString;
  }

  public AssetGroupAssetInputV1 sourceSecurityString(String sourceSecurityString) {
    this.sourceSecurityString = sourceSecurityString;
    return this;
  }

   /**
   * The security string as it was originally found on the source (for debugging ACLs only)
   * @return sourceSecurityString
  **/
  @Schema(description = "The security string as it was originally found on the source (for debugging ACLs only)")
  public String getSourceSecurityString() {
    return sourceSecurityString;
  }

  public void setSourceSecurityString(String sourceSecurityString) {
    this.sourceSecurityString = sourceSecurityString;
  }

  public AssetGroupAssetInputV1 syncToken(String syncToken) {
    this.syncToken = syncToken;
    return this;
  }

   /**
   * An arbitrary token (often a date or random ID) that is used during metadata syncs. At the end of a full sync, items with mismatching sync tokens are identified as stale and may be archived using the Datasources clean-up API.
   * @return syncToken
  **/
  @Schema(description = "An arbitrary token (often a date or random ID) that is used during metadata syncs. At the end of a full sync, items with mismatching sync tokens are identified as stale and may be archived using the Datasources clean-up API.")
  public String getSyncToken() {
    return syncToken;
  }

  public void setSyncToken(String syncToken) {
    this.syncToken = syncToken;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AssetGroupAssetInputV1 assetGroupAssetInputV1 = (AssetGroupAssetInputV1) o;
    return Objects.equals(this.additionalProperties, assetGroupAssetInputV1.additionalProperties) &&
        Objects.equals(this.children, assetGroupAssetInputV1.children) &&
        Objects.equals(this.dataId, assetGroupAssetInputV1.dataId) &&
        Objects.equals(this.description, assetGroupAssetInputV1.description) &&
        Objects.equals(this.hostId, assetGroupAssetInputV1.hostId) &&
        Objects.equals(this.id, assetGroupAssetInputV1.id) &&
        Objects.equals(this.manuallyAdded, assetGroupAssetInputV1.manuallyAdded) &&
        Objects.equals(this.name, assetGroupAssetInputV1.name) &&
        Objects.equals(this.properties, assetGroupAssetInputV1.properties) &&
        Objects.equals(this.scopedTo, assetGroupAssetInputV1.scopedTo) &&
        Objects.equals(this.securityString, assetGroupAssetInputV1.securityString) &&
        Objects.equals(this.sourceSecurityString, assetGroupAssetInputV1.sourceSecurityString) &&
        Objects.equals(this.syncToken, assetGroupAssetInputV1.syncToken);
  }

  @Override
  public int hashCode() {
    return Objects.hash(additionalProperties, children, dataId, description, hostId, id, manuallyAdded, name, properties, scopedTo, securityString, sourceSecurityString, syncToken);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AssetGroupAssetInputV1 {\n");
    
    sb.append("    additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n");
    sb.append("    children: ").append(toIndentedString(children)).append("\n");
    sb.append("    dataId: ").append(toIndentedString(dataId)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    hostId: ").append(toIndentedString(hostId)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    manuallyAdded: ").append(toIndentedString(manuallyAdded)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    properties: ").append(toIndentedString(properties)).append("\n");
    sb.append("    scopedTo: ").append(toIndentedString(scopedTo)).append("\n");
    sb.append("    securityString: ").append(toIndentedString(securityString)).append("\n");
    sb.append("    sourceSecurityString: ").append(toIndentedString(sourceSecurityString)).append("\n");
    sb.append("    syncToken: ").append(toIndentedString(syncToken)).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