public class AssetResource
extends Object
implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AssetResource.TwinTypeEnum
Gets or Sets twinType
|
Constructor and Description |
---|
AssetResource() |
Modifier and Type | Method and Description |
---|---|
AssetResource |
addAspectsItem(Aspect aspectsItem) |
AssetResource |
addFileAssignmentsItem(FileAssignmentResource fileAssignmentsItem) |
AssetResource |
addLocksItem(LockResource locksItem) |
AssetResource |
addVariablesItem(Variable variablesItem) |
AssetResource |
aspects(List<Aspect> aspects) |
AssetResource |
assetId(String assetId) |
AssetResource |
deleted(String deleted) |
AssetResource |
description(String description) |
boolean |
equals(Object o) |
AssetResource |
etag(Integer etag) |
AssetResource |
externalId(String externalId) |
AssetResource |
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
|
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
|
AssetResource.TwinTypeEnum |
getTwinType()
Get twinType
|
String |
getTypeId()
Get typeId
|
List<Variable> |
getVariables()
Get variables
|
int |
hashCode() |
AssetResource |
links(AssetLinks links) |
AssetResource |
location(Location location) |
AssetResource |
locks(List<LockResource> locks) |
AssetResource |
name(String name) |
AssetResource |
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 |
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(AssetResource.TwinTypeEnum twinType) |
void |
setTypeId(String typeId) |
void |
setVariables(List<Variable> variables) |
AssetResource |
subTenant(String subTenant) |
AssetResource |
t2Tenant(String t2Tenant) |
AssetResource |
tenantId(String tenantId) |
AssetResource |
timezone(String timezone) |
String |
toString() |
AssetResource |
twinType(AssetResource.TwinTypeEnum twinType) |
AssetResource |
typeId(String typeId) |
AssetResource |
variables(List<Variable> variables) |
public AssetResource name(String name)
public String getName()
public void setName(String name)
public AssetResource externalId(String externalId)
public String getExternalId()
public void setExternalId(String externalId)
public AssetResource description(String description)
public String getDescription()
public void setDescription(String description)
public AssetResource location(Location location)
public Location getLocation()
public void setLocation(Location location)
public AssetResource variables(List<Variable> variables)
public AssetResource addVariablesItem(Variable variablesItem)
public List<Variable> getVariables()
public void setVariables(List<Variable> variables)
public AssetResource aspects(List<Aspect> aspects)
public AssetResource addAspectsItem(Aspect aspectsItem)
public 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 typeId(String typeId)
public String getTypeId()
public void setTypeId(String typeId)
public AssetResource parentId(String parentId)
public String getParentId()
public void setParentId(String parentId)
public AssetResource timezone(String timezone)
public String getTimezone()
public void setTimezone(String timezone)
public AssetResource twinType(AssetResource.TwinTypeEnum twinType)
public AssetResource.TwinTypeEnum getTwinType()
public void setTwinType(AssetResource.TwinTypeEnum twinType)
public AssetResource tenantId(String tenantId)
public String getTenantId()
public void setTenantId(String tenantId)
public AssetResource subTenant(String subTenant)
public String getSubTenant()
public void setSubTenant(String subTenant)
public AssetResource t2Tenant(String t2Tenant)
public String getT2Tenant()
public void setT2Tenant(String t2Tenant)
public AssetResource assetId(String assetId)
public String getAssetId()
public void setAssetId(String assetId)
public AssetResource locks(List<LockResource> locks)
public AssetResource addLocksItem(LockResource locksItem)
public List<LockResource> getLocks()
public void setLocks(List<LockResource> locks)
public AssetResource deleted(String deleted)
public String getDeleted()
public void setDeleted(String deleted)
public AssetResource etag(Integer etag)
public Integer getEtag()
public void setEtag(Integer etag)
public AssetResource links(AssetLinks links)
public 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