public abstract class GenericResult extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
actionStatus
请求处理的结果,OK 表示处理成功,FAIL 表示失败,如果为 FAIL,ErrorInfo 带上失败原因
|
protected Integer |
errorCode
错误码,0为成功,其他为失败,错误码表:https://cloud.tencent.com/document/product/269/1671
|
protected String |
errorInfo
失败原因
|
| 构造器和说明 |
|---|
GenericResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getActionStatus() |
Integer |
getErrorCode() |
String |
getErrorInfo() |
void |
setActionStatus(String actionStatus) |
void |
setErrorCode(Integer errorCode) |
void |
setErrorInfo(String errorInfo) |
String |
toString() |
protected String actionStatus
protected String errorInfo
protected Integer errorCode
public String getActionStatus()
public void setActionStatus(String actionStatus)
public String getErrorInfo()
public void setErrorInfo(String errorInfo)
public Integer getErrorCode()
public void setErrorCode(Integer errorCode)
Copyright © 2021 Doocs Community. All rights reserved.