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, setUpdateState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventDate, getMetadata, isUpdateState, setUpdateState
public DeviceCommandInvocationCreateRequest()
public CommandInitiator getInitiator()
IDeviceCommandInvocationCreateRequest
getInitiator
in interface IDeviceCommandInvocationCreateRequest
public void setInitiator(CommandInitiator initiator)
public java.lang.String getInitiatorId()
IDeviceCommandInvocationCreateRequest
getInitiatorId
in interface IDeviceCommandInvocationCreateRequest
public void setInitiatorId(java.lang.String initiatorId)
public CommandTarget getTarget()
IDeviceCommandInvocationCreateRequest
getTarget
in interface IDeviceCommandInvocationCreateRequest
public void setTarget(CommandTarget target)
public java.lang.String getTargetId()
IDeviceCommandInvocationCreateRequest
getTargetId
in interface IDeviceCommandInvocationCreateRequest
public void setTargetId(java.lang.String targetId)
public java.lang.String getCommandToken()
IDeviceCommandInvocationCreateRequest
getCommandToken
in interface IDeviceCommandInvocationCreateRequest
public void setCommandToken(java.lang.String commandToken)
public java.util.Map<java.lang.String,java.lang.String> getParameterValues()
IDeviceCommandInvocationCreateRequest
getParameterValues
in interface IDeviceCommandInvocationCreateRequest
public void setParameterValues(java.util.Map<java.lang.String,java.lang.String> parameterValues)
public CommandStatus getStatus()
IDeviceCommandInvocationCreateRequest
getStatus
in interface IDeviceCommandInvocationCreateRequest
public void setStatus(CommandStatus status)