public class DeviceCreateRequest extends java.lang.Object implements IDeviceCreateRequest, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DeviceCreateRequest.Builder |
Constructor and Description |
---|
DeviceCreateRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComments()
Get comments associated with device.
|
java.util.List<IDeviceElementMapping> |
getDeviceElementMappings()
Get the list of device element mappings.
|
java.lang.String |
getHardwareId()
Get the unique device hardware id.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Get metadata values.
|
java.lang.String |
getParentHardwareId()
Get the parent hardware id (if nested).
|
java.lang.String |
getSiteToken()
Get the site token.
|
java.lang.String |
getSpecificationToken()
Get the device specification token.
|
DeviceStatus |
getStatus()
Get device status indicator.
|
java.lang.Boolean |
isRemoveParentHardwareId()
Indicates whether parent reference should be removed.
|
void |
setComments(java.lang.String comments) |
void |
setDeviceElementMappings(java.util.List<DeviceElementMapping> deviceElementMappings) |
void |
setHardwareId(java.lang.String hardwareId) |
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata) |
void |
setParentHardwareId(java.lang.String parentHardwareId) |
void |
setRemoveParentHardwareId(java.lang.Boolean removeParentHardwareId) |
void |
setSiteToken(java.lang.String siteToken) |
void |
setSpecificationToken(java.lang.String specificationToken) |
void |
setStatus(DeviceStatus status) |
public java.lang.String getHardwareId()
IDeviceCreateRequest
getHardwareId
in interface IDeviceCreateRequest
public void setHardwareId(java.lang.String hardwareId)
public java.lang.String getSiteToken()
IDeviceCreateRequest
getSiteToken
in interface IDeviceCreateRequest
public void setSiteToken(java.lang.String siteToken)
public java.lang.String getSpecificationToken()
IDeviceCreateRequest
getSpecificationToken
in interface IDeviceCreateRequest
public void setSpecificationToken(java.lang.String specificationToken)
public java.lang.String getParentHardwareId()
IDeviceCreateRequest
getParentHardwareId
in interface IDeviceCreateRequest
public void setParentHardwareId(java.lang.String parentHardwareId)
public java.lang.Boolean isRemoveParentHardwareId()
IDeviceCreateRequest
isRemoveParentHardwareId
in interface IDeviceCreateRequest
public void setRemoveParentHardwareId(java.lang.Boolean removeParentHardwareId)
public java.util.List<IDeviceElementMapping> getDeviceElementMappings()
IDeviceCreateRequest
getDeviceElementMappings
in interface IDeviceCreateRequest
public void setDeviceElementMappings(java.util.List<DeviceElementMapping> deviceElementMappings)
public java.lang.String getComments()
IDeviceCreateRequest
getComments
in interface IDeviceCreateRequest
public void setComments(java.lang.String comments)
public DeviceStatus getStatus()
IDeviceCreateRequest
getStatus
in interface IDeviceCreateRequest
public void setStatus(DeviceStatus status)
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
IDeviceCreateRequest
getMetadata
in interface IDeviceCreateRequest
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)