public class DeviceCommandCreateRequest extends java.lang.Object implements IDeviceCommandCreateRequest, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DeviceCommandCreateRequest.Builder |
Constructor and Description |
---|
DeviceCommandCreateRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get command description.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Get metadata values.
|
java.lang.String |
getName()
Get command name.
|
java.lang.String |
getNamespace()
Optional namespace for distinguishing commands.
|
java.util.List<ICommandParameter> |
getParameters()
Get list of parameters.
|
java.lang.String |
getToken()
Get unique command token.
|
void |
setDescription(java.lang.String description) |
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata) |
void |
setName(java.lang.String name) |
void |
setNamespace(java.lang.String namespace) |
void |
setParameters(java.util.List<CommandParameter> parameters) |
void |
setToken(java.lang.String token) |
public java.lang.String getToken()
IDeviceCommandCreateRequest
getToken
in interface IDeviceCommandCreateRequest
public void setToken(java.lang.String token)
public java.lang.String getNamespace()
IDeviceCommandCreateRequest
getNamespace
in interface IDeviceCommandCreateRequest
public void setNamespace(java.lang.String namespace)
public java.lang.String getName()
IDeviceCommandCreateRequest
getName
in interface IDeviceCommandCreateRequest
public void setName(java.lang.String name)
public java.lang.String getDescription()
IDeviceCommandCreateRequest
getDescription
in interface IDeviceCommandCreateRequest
public void setDescription(java.lang.String description)
public java.util.List<ICommandParameter> getParameters()
IDeviceCommandCreateRequest
getParameters
in interface IDeviceCommandCreateRequest
public void setParameters(java.util.List<CommandParameter> parameters)
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
IDeviceCommandCreateRequest
getMetadata
in interface IDeviceCommandCreateRequest
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)