Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* 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.ItemPreviewV1;
import com.seeq.model.ItemPreviewWithAssetsV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
* The dependencies of the item, direct and indirect
*/
@Schema(description = "The dependencies of the item, direct and indirect")
public class ItemParameterOfOutputV1 {
@JsonProperty("ancestors")
private List ancestors = new ArrayList();
@JsonProperty("hasChildren")
private Boolean hasChildren = false;
@JsonProperty("id")
private String id = null;
@JsonProperty("isArchived")
private Boolean isArchived = false;
@JsonProperty("isGenerated")
private Boolean isGenerated = false;
@JsonProperty("isRedacted")
private Boolean isRedacted = false;
@JsonProperty("name")
private String name = null;
@JsonProperty("parameterOf")
private List parameterOf = new ArrayList();
@JsonProperty("translationKey")
private String translationKey = null;
@JsonProperty("type")
private String type = null;
public ItemParameterOfOutputV1 ancestors(List ancestors) {
this.ancestors = ancestors;
return this;
}
public ItemParameterOfOutputV1 addAncestorsItem(ItemPreviewV1 ancestorsItem) {
if (this.ancestors == null) {
this.ancestors = new ArrayList();
}
this.ancestors.add(ancestorsItem);
return this;
}
/**
* The list of ancestors in the asset tree, ordered with the root ancestor first, if the item is in an asset tree. If an item is in more than one asset tree an arbitrary one will be chosen.
* @return ancestors
**/
@Schema(description = "The list of ancestors in the asset tree, ordered with the root ancestor first, if the item is in an asset tree. If an item is in more than one asset tree an arbitrary one will be chosen.")
public List getAncestors() {
return ancestors;
}
public void setAncestors(List ancestors) {
this.ancestors = ancestors;
}
public ItemParameterOfOutputV1 hasChildren(Boolean hasChildren) {
this.hasChildren = hasChildren;
return this;
}
/**
* A boolean indicating whether or not child items exist for this item in the asset tree; the value will be true even if the child items are archived unless the tree for this item is deleted.
* @return hasChildren
**/
@Schema(description = "A boolean indicating whether or not child items exist for this item in the asset tree; the value will be true even if the child items are archived unless the tree for this item is deleted.")
public Boolean getHasChildren() {
return hasChildren;
}
public void setHasChildren(Boolean hasChildren) {
this.hasChildren = hasChildren;
}
public ItemParameterOfOutputV1 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 ItemParameterOfOutputV1 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 ItemParameterOfOutputV1 isGenerated(Boolean isGenerated) {
this.isGenerated = isGenerated;
return this;
}
/**
* Whether the item is generated
* @return isGenerated
**/
@Schema(description = "Whether the item is generated")
public Boolean getIsGenerated() {
return isGenerated;
}
public void setIsGenerated(Boolean isGenerated) {
this.isGenerated = isGenerated;
}
public ItemParameterOfOutputV1 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 ItemParameterOfOutputV1 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 ItemParameterOfOutputV1 parameterOf(List parameterOf) {
this.parameterOf = parameterOf;
return this;
}
public ItemParameterOfOutputV1 addParameterOfItem(ItemPreviewWithAssetsV1 parameterOfItem) {
if (this.parameterOf == null) {
this.parameterOf = new ArrayList();
}
this.parameterOf.add(parameterOfItem);
return this;
}
/**
* Formula items in the dependency list that use this item
* @return parameterOf
**/
@Schema(description = "Formula items in the dependency list that use this item")
public List getParameterOf() {
return parameterOf;
}
public void setParameterOf(List parameterOf) {
this.parameterOf = parameterOf;
}
public ItemParameterOfOutputV1 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 ItemParameterOfOutputV1 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;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemParameterOfOutputV1 itemParameterOfOutputV1 = (ItemParameterOfOutputV1) o;
return Objects.equals(this.ancestors, itemParameterOfOutputV1.ancestors) &&
Objects.equals(this.hasChildren, itemParameterOfOutputV1.hasChildren) &&
Objects.equals(this.id, itemParameterOfOutputV1.id) &&
Objects.equals(this.isArchived, itemParameterOfOutputV1.isArchived) &&
Objects.equals(this.isGenerated, itemParameterOfOutputV1.isGenerated) &&
Objects.equals(this.isRedacted, itemParameterOfOutputV1.isRedacted) &&
Objects.equals(this.name, itemParameterOfOutputV1.name) &&
Objects.equals(this.parameterOf, itemParameterOfOutputV1.parameterOf) &&
Objects.equals(this.translationKey, itemParameterOfOutputV1.translationKey) &&
Objects.equals(this.type, itemParameterOfOutputV1.type);
}
@Override
public int hashCode() {
return Objects.hash(ancestors, hasChildren, id, isArchived, isGenerated, isRedacted, name, parameterOf, translationKey, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemParameterOfOutputV1 {\n");
sb.append(" ancestors: ").append(toIndentedString(ancestors)).append("\n");
sb.append(" hasChildren: ").append(toIndentedString(hasChildren)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" isArchived: ").append(toIndentedString(isArchived)).append("\n");
sb.append(" isGenerated: ").append(toIndentedString(isGenerated)).append("\n");
sb.append(" isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" parameterOf: ").append(toIndentedString(parameterOf)).append("\n");
sb.append(" translationKey: ").append(toIndentedString(translationKey)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).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 ");
}
}