public class AssetTypeResource
extends Object
Constructor and Description |
---|
AssetTypeResource() |
Modifier and Type | Method and Description |
---|---|
AssetTypeResource |
addAspectsItem(Aspects aspectsItem)
Adds an aspect to a list of aspects of Asset Type Resource
|
AssetTypeResource |
addFileAssignmentsItem(FileAssignmentResource fileAssignmentsItem) |
AssetTypeResource |
addVariablesItem(VariableDefinition variablesItem)
Adds a variable to a list of variables of the Asset type
|
AssetTypeResource |
aspects(List<Aspects> aspects)
Returns an AssetTypeResource instance initialized with list of aspects
|
AssetTypeResource |
description(String description)
Returns an AssetTypeResource instance initialized with description
|
boolean |
equals(Object o) |
AssetTypeResource |
etag(Integer etag)
Returns an AssetTypeResource instance initialized with etag
|
AssetTypeResource |
fileAssignments(List<FileAssignmentResource> fileAssignments) |
List<Aspects> |
getAspects()
Get aspects
|
String |
getDescription()
description
|
Integer |
getEtag()
Get etag
|
List<FileAssignmentResource> |
getFileAssignments()
Get fileAssignments
|
String |
getId()
Get Asset Type Id
|
AssetTypeLinks |
getLinks()
Get links
|
String |
getName()
The type\\'s name.
|
String |
getParentTypeId()
Get Asset Type Parent Id
|
ScopeEnum |
getScope()
visibility of the assettype
|
String |
getTenantId()
Get Asset Type Tenant Id
|
List<VariableDefinition> |
getVariables()
Get variables
|
int |
hashCode() |
AssetTypeResource |
id(String id)
Returns an AssetTypeResource instance initialized with id
|
Boolean |
isInstantiable()
If instances can be created from this type.
|
AssetTypeResource |
links(AssetTypeLinks links)
Returns an AssetTypeResource instance initialized with AssetTypeLinks
|
AssetTypeResource |
name(String name)
Returns an AssetTypeResource instance initialized with name
|
AssetTypeResource |
parentTypeId(String parentTypeId)
Returns an AssetTypeResource instance initialized with parentTypeId
|
AssetTypeResource |
scope(ScopeEnum scope)
Returns an AssetTypeResource instance initialized with scope
|
void |
setAspects(List<Aspects> aspects) |
void |
setDescription(String description) |
void |
setEtag(Integer etag) |
void |
setFileAssignments(List<FileAssignmentResource> fileAssignments) |
void |
setId(String id) |
void |
setInstantiable(Boolean instantiable) |
void |
setLinks(AssetTypeLinks links) |
void |
setName(String name) |
void |
setParentTypeId(String parentTypeId) |
void |
setScope(ScopeEnum scope) |
void |
setTenantId(String tenantId) |
void |
setVariables(List<VariableDefinition> variables) |
AssetTypeResource |
tenantId(String tenantId)
Returns an AssetTypeResource instance initialized with tenantId
|
String |
toString() |
AssetTypeResource |
variables(List<VariableDefinition> variables)
Returns an AssetTypeResource instance initialized with list of variables
|
public String getId()
public void setId(String id)
public String getParentTypeId()
public void setParentTypeId(String parentTypeId)
public String getTenantId()
public void setTenantId(String tenantId)
public Integer getEtag()
public void setEtag(Integer etag)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public Boolean isInstantiable()
public void setInstantiable(Boolean instantiable)
public ScopeEnum getScope()
public void setScope(ScopeEnum scope)
public List<VariableDefinition> getVariables()
public void setVariables(List<VariableDefinition> variables)
public List<Aspects> getAspects()
public void setAspects(List<Aspects> aspects)
public AssetTypeResource fileAssignments(List<FileAssignmentResource> fileAssignments)
public AssetTypeResource addFileAssignmentsItem(FileAssignmentResource fileAssignmentsItem)
public List<FileAssignmentResource> getFileAssignments()
public void setFileAssignments(List<FileAssignmentResource> fileAssignments)
public AssetTypeLinks getLinks()
public void setLinks(AssetTypeLinks links)
public AssetTypeResource description(String description)
description
- description to be associated with AssetTypeResourcepublic AssetTypeResource scope(ScopeEnum scope)
scope
- scope to be associated with AssetTypeResource (Public or Private)public AssetTypeResource name(String name)
name
- name to be associated with AssetTypeResourcepublic AssetTypeResource etag(Integer etag)
etag
- etag to be associated with AssetTypeResourcepublic AssetTypeResource id(String id)
id
- id to be associated with AssetTypeResourcepublic AssetTypeResource parentTypeId(String parentTypeId)
parentTypeId
- parentTypeId to be associated with AssetTypeResourcepublic AssetTypeResource aspects(List<Aspects> aspects)
aspects
- list of aspects to be associated with AssetTypeResourcepublic AssetTypeResource links(AssetTypeLinks links)
links
- instance of AssetTypeLinks to be associated with AssetTypeResourcepublic AssetTypeResource addAspectsItem(Aspects aspectsItem)
aspectsItem
- aspects to be added to a list of aspects associated with
AssetTypeResourcepublic AssetTypeResource tenantId(String tenantId)
tenantId
- tenantId to be associated with AssetTypeResourcepublic AssetTypeResource variables(List<VariableDefinition> variables)
variables
- list of variables to be associated with AssetTypeResourcepublic AssetTypeResource addVariablesItem(VariableDefinition variablesItem)
variablesItem
- instance of VariableDefinition to be associated with
AssetTypeResourcepublic boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object