public class AssetResource
extends Object
Constructor and Description |
---|
AssetResource() |
Modifier and Type | Method and Description |
---|---|
AssetResource |
addAspectsItem(Aspect aspectsItem)
Adds a aspect to a list of aspects of the asset
|
AssetResource |
addFileAssignmentsItem(FileAssignmentResource fileAssignmentsItem) |
AssetResource |
addVariablesItem(Variable variablesItem)
Add a variable to list of variables os Asset
|
AssetResource |
aspects(List<Aspect> aspects)
Returns an AssetResource instance initialized with list of aspects
|
AssetResource |
assetId(String assetId)
Returns an AssetResource instance initialized with assetId
|
AssetResource |
deleted(String deleted)
Returns an AssetResource instance initialized with deleted
|
AssetResource |
description(String description)
Returns an AssetResource instance initialized with description
|
boolean |
equals(Object o) |
AssetResource |
etag(Integer etag)
Returns an AssetResource instance initialized with Etag
|
AssetResource |
externalId(String externalId)
Returns an AssetResource instance initialized with externalId
|
AssetResource |
fileAssignments(List<FileAssignmentResource> fileAssignments) |
List<Aspect> |
getAspects()
Get aspects
|
String |
getAssetId() |
String |
getDeleted()
Get deleted
|
String |
getDescription()
The description of the asset
|
Integer |
getEtag()
Get etag
|
String |
getExternalId()
The id given by the user
|
List<FileAssignmentResource> |
getFileAssignments()
Get fileAssignments
|
AssetLinks |
getLinks()
Get links
|
Location |
getLocation()
Get location
|
String |
getName()
Name of the asset
|
String |
getParentId()
Get parentId
|
String |
getT2Tenant()
The id of the end-customer
|
String |
getTenantId() |
String |
getTypeId()
Get typeId
|
List<Variable> |
getVariables()
Get variables
|
int |
hashCode() |
AssetResource |
links(AssetLinks links)
Returns an AssetResource instance initialized with AssetLinks
|
AssetResource |
location(Location location)
Returns an AssetResource instance initialized with location
|
AssetResource |
name(String name)
Returns an AssetResource instance initialized with name
|
AssetResource |
parentId(String parentId)
Returns an AssetResource instance initialized with parentId
|
void |
setAspects(List<Aspect> aspects) |
void |
setAssetId(String assetId) |
void |
setDeleted(String deleted) |
void |
setDescription(String description) |
void |
setEtag(Integer etag) |
void |
setExternalId(String externalId) |
void |
setFileAssignments(List<FileAssignmentResource> fileAssignments) |
void |
setLinks(AssetLinks links) |
void |
setLocation(Location location) |
void |
setName(String name) |
void |
setParentId(String parentId) |
void |
setT2Tenant(String t2Tenant) |
void |
setTenantId(String tenantId) |
void |
setTypeId(String typeId) |
void |
setVariables(List<Variable> variables) |
AssetResource |
t2Tenant(String t2Tenant)
Returns an AssetResource instance initialized with t2Tenant
|
AssetResource |
tenantId(String tenantId)
Returns an AssetResource instance initialized with tenantId
|
String |
toString() |
AssetResource |
typeId(String typeId)
Returns an AssetResource instance initialized with typeId
|
AssetResource |
variables(List<Variable> variables)
Returns an AssetResource instance initialized with list of variables
|
public AssetResource typeId(String typeId)
typeId
- typeId to be associated with AssetResourcepublic String getTypeId()
public void setTypeId(String typeId)
public AssetResource assetId(String assetId)
assetId
- assetId to be associated with AssetResourcepublic String getAssetId()
public void setAssetId(String assetId)
public AssetResource tenantId(String tenantId)
tenantId
- tenantId to be associated with AssetResourcepublic String getTenantId()
public void setTenantId(String tenantId)
public AssetResource t2Tenant(String t2Tenant)
t2Tenant
- t2Tenant to be associated with AssetResourcepublic String getT2Tenant()
public void setT2Tenant(String t2Tenant)
public AssetResource parentId(String parentId)
parentId
- parentId to be associated with AssetResourcepublic String getParentId()
public void setParentId(String parentId)
public AssetResource name(String name)
name
- name to be associated with AssetResourcepublic String getName()
public void setName(String name)
public AssetResource externalId(String externalId)
externalId
- externalId to be associated with AssetResourcepublic String getExternalId()
public void setExternalId(String externalId)
public AssetResource description(String description)
description
- description to be associated with AssetResourcepublic String getDescription()
public void setDescription(String description)
public AssetResource location(Location location)
location
- instance of Location to be associated with AssetResourcepublic Location getLocation()
public void setLocation(Location location)
public AssetResource variables(List<Variable> variables)
variables
- list of variablespublic AssetResource addVariablesItem(Variable variablesItem)
variablesItem
- variable to be associated with AssetResourcepublic List<Variable> getVariables()
public void setVariables(List<Variable> variables)
public AssetResource aspects(List<Aspect> aspects)
aspects
- list of aspectspublic AssetResource addAspectsItem(Aspect aspectsItem)
aspectsItem
- instance of Aspect to be associated with AssetResourcepublic List<Aspect> getAspects()
public void setAspects(List<Aspect> aspects)
public AssetResource fileAssignments(List<FileAssignmentResource> fileAssignments)
public AssetResource addFileAssignmentsItem(FileAssignmentResource fileAssignmentsItem)
public List<FileAssignmentResource> getFileAssignments()
public void setFileAssignments(List<FileAssignmentResource> fileAssignments)
public AssetResource deleted(String deleted)
deleted
- deleted to be associated with AssetResourcepublic String getDeleted()
public void setDeleted(String deleted)
public AssetResource etag(Integer etag)
etag
- etag to be associated with AssetResourcepublic Integer getEtag()
public void setEtag(Integer etag)
public AssetResource links(AssetLinks links)
links
- instance of AssetLinks to be associated with AssetResourcepublic AssetLinks getLinks()
public void setLinks(AssetLinks links)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object