public class InvalidStateTransitionResponse extends BaseResponse
Constructor and Description |
---|
InvalidStateTransitionResponse(boolean result,
ResultCode code,
java.lang.String reason,
java.lang.String requestedTransition,
com.clover.remote.ExternalDeviceState state,
com.clover.remote.ExternalDeviceStateData data)
Constructor
|
Modifier and Type | Method and Description |
---|---|
com.clover.remote.ExternalDeviceStateData |
getData()
Get the field value
|
java.lang.String |
getRequestedTransition()
Get the field value
|
com.clover.remote.ExternalDeviceState |
getState()
Get the field value
|
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccess
public InvalidStateTransitionResponse(boolean result, ResultCode code, java.lang.String reason, java.lang.String requestedTransition, com.clover.remote.ExternalDeviceState state, com.clover.remote.ExternalDeviceStateData data)
result
- If true then the requested operation succeededcode
- The result of the requested operationstate
- The state of the devicedata
- Additional optional relevant information for the statepublic java.lang.String getRequestedTransition()
public com.clover.remote.ExternalDeviceState getState()
public com.clover.remote.ExternalDeviceStateData getData()