public class DeviceCommandInvocationCreateRequest extends DeviceEventCreateRequest implements IDeviceCommandInvocationCreateRequest, java.io.Serializable
DeviceCommandInvocation via REST
APIs.| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceCommandInvocationCreateRequest.Builder |
| Constructor and Description |
|---|
DeviceCommandInvocationCreateRequest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandToken()
Get unique token for command to invoke.
|
CommandInitiator |
getInitiator()
Get command initiator type.
|
java.lang.String |
getInitiatorId()
Get unique id of command inititator.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameterValues()
Get the list of parameter names mapped to values.
|
CommandStatus |
getStatus()
Get status of command.
|
CommandTarget |
getTarget()
Get command target type.
|
java.lang.String |
getTargetId()
Get unique id of command target.
|
void |
setCommandToken(java.lang.String commandToken) |
void |
setInitiator(CommandInitiator initiator) |
void |
setInitiatorId(java.lang.String initiatorId) |
void |
setParameterValues(java.util.Map<java.lang.String,java.lang.String> parameterValues) |
void |
setStatus(CommandStatus status) |
void |
setTarget(CommandTarget target) |
void |
setTargetId(java.lang.String targetId) |
getEventDate, getMetadata, isUpdateState, setEventDate, setMetadata, setUpdateStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventDate, getMetadata, isUpdateState, setUpdateStatepublic DeviceCommandInvocationCreateRequest()
public CommandInitiator getInitiator()
IDeviceCommandInvocationCreateRequestgetInitiator in interface IDeviceCommandInvocationCreateRequestpublic void setInitiator(CommandInitiator initiator)
public java.lang.String getInitiatorId()
IDeviceCommandInvocationCreateRequestgetInitiatorId in interface IDeviceCommandInvocationCreateRequestpublic void setInitiatorId(java.lang.String initiatorId)
public CommandTarget getTarget()
IDeviceCommandInvocationCreateRequestgetTarget in interface IDeviceCommandInvocationCreateRequestpublic void setTarget(CommandTarget target)
public java.lang.String getTargetId()
IDeviceCommandInvocationCreateRequestgetTargetId in interface IDeviceCommandInvocationCreateRequestpublic void setTargetId(java.lang.String targetId)
public java.lang.String getCommandToken()
IDeviceCommandInvocationCreateRequestgetCommandToken in interface IDeviceCommandInvocationCreateRequestpublic void setCommandToken(java.lang.String commandToken)
public java.util.Map<java.lang.String,java.lang.String> getParameterValues()
IDeviceCommandInvocationCreateRequestgetParameterValues in interface IDeviceCommandInvocationCreateRequestpublic void setParameterValues(java.util.Map<java.lang.String,java.lang.String> parameterValues)
public CommandStatus getStatus()
IDeviceCommandInvocationCreateRequestgetStatus in interface IDeviceCommandInvocationCreateRequestpublic void setStatus(CommandStatus status)