Package io.gopluslabs.client.model
Class ResponseWrapperJSONObject
- java.lang.Object
-
- io.gopluslabs.client.model.ResponseWrapperJSONObject
-
public class ResponseWrapperJSONObject extends Object
ResponseWrapperJSONObject
-
-
Constructor Summary
Constructors Constructor Description ResponseWrapperJSONObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseWrapperJSONObjectcode(Integer code)booleanequals(Object o)IntegergetCode()Code 1: SuccessStringgetMessage()Response messageMap<String,Object>getResult()Response resultinthashCode()ResponseWrapperJSONObjectmessage(String message)ResponseWrapperJSONObjectputResultItem(String key, Object resultItem)ResponseWrapperJSONObjectresult(Map<String,Object> result)voidsetCode(Integer code)voidsetMessage(String message)voidsetResult(Map<String,Object> result)private StringtoIndentedString(Object o)Convert the given object to string with each line indented by 4 spaces (except the first line).StringtoString()
-
-
-
Method Detail
-
code
public ResponseWrapperJSONObject code(Integer code)
-
getCode
public Integer getCode()
Code 1: Success- Returns:
- code
-
setCode
public void setCode(Integer code)
-
message
public ResponseWrapperJSONObject message(String message)
-
getMessage
public String getMessage()
Response message- Returns:
- message
-
setMessage
public void setMessage(String message)
-
result
public ResponseWrapperJSONObject result(Map<String,Object> result)
-
putResultItem
public ResponseWrapperJSONObject putResultItem(String key, Object resultItem)
-
-