public class BaseResponseResult extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
action
操作名称 = 请求参数Action+"Response"
|
protected String |
message
提示信息,发生错误时
|
protected String |
responseContent
response content 不进行 JsonSerDe
|
protected Integer |
retCode
返回码 0 成功,其他失败
|
| 构造器和说明 |
|---|
BaseResponseResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAction() |
String |
getMessage() |
String |
getResponseContent() |
Integer |
getRetCode() |
void |
setAction(String action) |
void |
setMessage(String message) |
void |
setResponseContent(String responseContent) |
void |
setRetCode(Integer retCode) |
String |
toString() |
@SerializedName(value="RetCode") protected Integer retCode
@SerializedName(value="Action") protected String action
@SerializedName(value="Message") protected String message
protected transient String responseContent
public String getResponseContent()
public void setResponseContent(String responseContent)
public Integer getRetCode()
public void setRetCode(Integer retCode)
public String getAction()
public void setAction(String action)
public String getMessage()
public void setMessage(String message)
Copyright © 2019. All rights reserved.