Class ResetDeviceResponse
java.lang.Object
com.clover.remote.client.messages.BaseResponse
com.clover.remote.client.messages.ResetDeviceResponse
Response object for a reset device request
-
Constructor Summary
ConstructorsConstructorDescriptionResetDeviceResponse(boolean result, ResultCode code, com.clover.remote.ExternalDeviceState state) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncom.clover.remote.ExternalDeviceStategetState()Get the field valueMethods inherited from class com.clover.remote.client.messages.BaseResponse
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccess
-
Constructor Details
-
ResetDeviceResponse
public ResetDeviceResponse(boolean result, ResultCode code, com.clover.remote.ExternalDeviceState state) Constructor- Parameters:
result- If true then the requested operation succeededcode- The result of the requested operationstate- The state of the device
-
-
Method Details
-
getState
public com.clover.remote.ExternalDeviceState getState()Get the field value- Returns:
- state of the device
-