public class CustomActivityResponse extends BaseResponse
Constructor and Description |
---|
CustomActivityResponse(boolean success,
ResultCode code,
java.lang.String payload,
java.lang.String failReason,
java.lang.String action)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Get the field value
|
java.lang.String |
getPayload()
Get the field value
|
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccess
public CustomActivityResponse(boolean success, ResultCode code, java.lang.String payload, java.lang.String failReason, java.lang.String action)
success
- If true then the requested operation succeededcode
- The result of the requested operationpayload
- Data for this activityfailReason
- Optional information about resultaction
- The name of the action for this activity