public class DeviceRegistrationRequest extends DeviceStateChangeCreateRequest implements IDeviceRegistrationRequest, java.io.Serializable
IDeviceRegistrationRequest
.DeviceEventCreateRequest.Builder<T extends DeviceEventCreateRequest>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_HARDWARE_ID
Data map identifier for hardware id
|
static java.lang.String |
DATA_SITE_TOKEN
Data map identifier for 'reply to' address
|
static java.lang.String |
DATA_SPECIFICATION_TOKEN
Data map identifier for specification token
|
Constructor and Description |
---|
DeviceRegistrationRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHardwareId()
Get hardware id to be registered.
|
java.lang.String |
getSiteToken()
Get token for site to which device should be assigned.
|
java.lang.String |
getSpecificationToken()
Get token for device hardware specification.
|
void |
setHardwareId(java.lang.String hardwareId) |
void |
setSiteToken(java.lang.String token) |
void |
setSpecificationToken(java.lang.String specificationToken) |
getCategory, getData, getNewState, getPreviousState, getType, setCategory, setData, setNewState, setPreviousState, setType
getEventDate, getMetadata, isUpdateState, setEventDate, setMetadata, setUpdateState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCategory, getData, getNewState, getPreviousState, getType
getEventDate, getMetadata, isUpdateState, setUpdateState
public static final java.lang.String DATA_HARDWARE_ID
public static final java.lang.String DATA_SPECIFICATION_TOKEN
public static final java.lang.String DATA_SITE_TOKEN
public java.lang.String getHardwareId()
IDeviceRegistrationRequest
getHardwareId
in interface IDeviceRegistrationRequest
public void setHardwareId(java.lang.String hardwareId)
public java.lang.String getSpecificationToken()
IDeviceRegistrationRequest
getSpecificationToken
in interface IDeviceRegistrationRequest
public void setSpecificationToken(java.lang.String specificationToken)
public java.lang.String getSiteToken()
IDeviceRegistrationRequest
getSiteToken
in interface IDeviceRegistrationRequest
public void setSiteToken(java.lang.String token)