public class DeviceAssignmentCreateRequest extends java.lang.Object implements IDeviceAssignmentCreateRequest, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DeviceAssignmentCreateRequest.Builder |
Constructor and Description |
---|
DeviceAssignmentCreateRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssetId()
Get assigned asset id.
|
java.lang.String |
getAssetModuleId()
Get asset module id.
|
DeviceAssignmentType |
getAssignmentType()
Get assignment type.
|
java.lang.String |
getDeviceHardwareId()
Get the unique device hardware id.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Get metadata values.
|
java.lang.String |
getToken()
Get token for assignment.
|
void |
setAssetId(java.lang.String assetId) |
void |
setAssetModuleId(java.lang.String assetModuleId) |
void |
setAssignmentType(DeviceAssignmentType assignmentType) |
void |
setDeviceHardwareId(java.lang.String deviceHardwareId) |
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata) |
void |
setToken(java.lang.String token) |
public java.lang.String getToken()
IDeviceAssignmentCreateRequest
getToken
in interface IDeviceAssignmentCreateRequest
public void setToken(java.lang.String token)
public java.lang.String getDeviceHardwareId()
IDeviceAssignmentCreateRequest
getDeviceHardwareId
in interface IDeviceAssignmentCreateRequest
public void setDeviceHardwareId(java.lang.String deviceHardwareId)
public DeviceAssignmentType getAssignmentType()
IDeviceAssignmentCreateRequest
getAssignmentType
in interface IDeviceAssignmentCreateRequest
public void setAssignmentType(DeviceAssignmentType assignmentType)
public java.lang.String getAssetModuleId()
IDeviceAssignmentCreateRequest
getAssetModuleId
in interface IDeviceAssignmentCreateRequest
public void setAssetModuleId(java.lang.String assetModuleId)
public java.lang.String getAssetId()
IDeviceAssignmentCreateRequest
getAssetId
in interface IDeviceAssignmentCreateRequest
public void setAssetId(java.lang.String assetId)
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
IDeviceAssignmentCreateRequest
getMetadata
in interface IDeviceAssignmentCreateRequest
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)