public class RootAssetResource
extends Object
implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
RootAssetResource.TwinTypeEnum
Gets or Sets twinType
|
Constructor and Description |
---|
RootAssetResource() |
Modifier and Type | Method and Description |
---|---|
RootAssetResource |
addAspectsItem(Aspect aspectsItem) |
RootAssetResource |
addFileAssignmentsItem(FileAssignmentResource fileAssignmentsItem) |
RootAssetResource |
addHierarchyPathItem(String hierarchyPathItem) |
RootAssetResource |
addLocksItem(LockResource locksItem) |
RootAssetResource |
addVariablesItem(Variable variablesItem) |
RootAssetResource |
aspects(List<Aspect> aspects) |
RootAssetResource |
assetId(String assetId) |
RootAssetResource |
deleted(String deleted) |
RootAssetResource |
description(String description) |
boolean |
equals(Object o) |
RootAssetResource |
etag(Integer etag) |
RootAssetResource |
externalId(String externalId) |
RootAssetResource |
fileAssignments(List<FileAssignmentResource> fileAssignments) |
List<Aspect> |
getAspects()
Get aspects
|
String |
getAssetId()
Get assetId
|
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
|
List<String> |
getHierarchyPath()
Hieararchy path is empty for the root asset
|
AssetLinks |
getLinks()
Get links
|
Location |
getLocation()
Get location
|
List<LockResource> |
getLocks()
Get locks
|
String |
getName()
Name of the asset
|
String |
getParentId()
Get parentId
|
String |
getSubTenant()
The id of the end-customer.
|
String |
getT2Tenant()
The id of the end-customer.
|
String |
getTenantId()
Get tenantId
|
String |
getTimezone()
Get timezone
|
RootAssetResource.TwinTypeEnum |
getTwinType()
Get twinType
|
String |
getTypeId()
Get typeId
|
List<Variable> |
getVariables()
Get variables
|
int |
hashCode() |
RootAssetResource |
hierarchyPath(List<String> hierarchyPath) |
RootAssetResource |
links(AssetLinks links) |
RootAssetResource |
location(Location location) |
RootAssetResource |
locks(List<LockResource> locks) |
RootAssetResource |
name(String name) |
RootAssetResource |
parentId(String 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 |
setHierarchyPath(List<String> hierarchyPath) |
void |
setLinks(AssetLinks links) |
void |
setLocation(Location location) |
void |
setLocks(List<LockResource> locks) |
void |
setName(String name) |
void |
setParentId(String parentId) |
void |
setSubTenant(String subTenant) |
void |
setT2Tenant(String t2Tenant) |
void |
setTenantId(String tenantId) |
void |
setTimezone(String timezone) |
void |
setTwinType(RootAssetResource.TwinTypeEnum twinType) |
void |
setTypeId(String typeId) |
void |
setVariables(List<Variable> variables) |
RootAssetResource |
subTenant(String subTenant) |
RootAssetResource |
t2Tenant(String t2Tenant) |
RootAssetResource |
tenantId(String tenantId) |
RootAssetResource |
timezone(String timezone) |
String |
toString() |
RootAssetResource |
twinType(RootAssetResource.TwinTypeEnum twinType) |
RootAssetResource |
typeId(String typeId) |
RootAssetResource |
variables(List<Variable> variables) |
public RootAssetResource name(String name)
public String getName()
public void setName(String name)
public RootAssetResource externalId(String externalId)
public String getExternalId()
public void setExternalId(String externalId)
public RootAssetResource description(String description)
public String getDescription()
public void setDescription(String description)
public RootAssetResource location(Location location)
public Location getLocation()
public void setLocation(Location location)
public RootAssetResource variables(List<Variable> variables)
public RootAssetResource addVariablesItem(Variable variablesItem)
public List<Variable> getVariables()
public void setVariables(List<Variable> variables)
public RootAssetResource aspects(List<Aspect> aspects)
public RootAssetResource addAspectsItem(Aspect aspectsItem)
public List<Aspect> getAspects()
public void setAspects(List<Aspect> aspects)
public RootAssetResource fileAssignments(List<FileAssignmentResource> fileAssignments)
public RootAssetResource addFileAssignmentsItem(FileAssignmentResource fileAssignmentsItem)
public List<FileAssignmentResource> getFileAssignments()
public void setFileAssignments(List<FileAssignmentResource> fileAssignments)
public RootAssetResource typeId(String typeId)
public String getTypeId()
public void setTypeId(String typeId)
public RootAssetResource parentId(String parentId)
public String getParentId()
public void setParentId(String parentId)
public RootAssetResource timezone(String timezone)
public String getTimezone()
public void setTimezone(String timezone)
public RootAssetResource twinType(RootAssetResource.TwinTypeEnum twinType)
public RootAssetResource.TwinTypeEnum getTwinType()
public void setTwinType(RootAssetResource.TwinTypeEnum twinType)
public RootAssetResource tenantId(String tenantId)
public String getTenantId()
public void setTenantId(String tenantId)
public RootAssetResource subTenant(String subTenant)
public String getSubTenant()
public void setSubTenant(String subTenant)
public RootAssetResource t2Tenant(String t2Tenant)
public String getT2Tenant()
public void setT2Tenant(String t2Tenant)
public RootAssetResource assetId(String assetId)
public String getAssetId()
public void setAssetId(String assetId)
public RootAssetResource locks(List<LockResource> locks)
public RootAssetResource addLocksItem(LockResource locksItem)
public List<LockResource> getLocks()
public void setLocks(List<LockResource> locks)
public RootAssetResource deleted(String deleted)
public String getDeleted()
public void setDeleted(String deleted)
public RootAssetResource etag(Integer etag)
public Integer getEtag()
public void setEtag(Integer etag)
public RootAssetResource links(AssetLinks links)
public AssetLinks getLinks()
public void setLinks(AssetLinks links)
public RootAssetResource hierarchyPath(List<String> hierarchyPath)
public RootAssetResource addHierarchyPathItem(String hierarchyPathItem)
public List<String> getHierarchyPath()
public void setHierarchyPath(List<String> hierarchyPath)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object