public class ResponseCode extends AbstractModel
Constructor and Description |
---|
ResponseCode() |
ResponseCode(ResponseCode source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Get 如果成功则返回Success,失败则返回yunapi定义的错误码
|
String |
getMessage()
Get 如果成功则返回Success,失败则返回WAF定义的二级错误码
|
void |
setCode(String Code)
Set 如果成功则返回Success,失败则返回yunapi定义的错误码
|
void |
setMessage(String Message)
Set 如果成功则返回Success,失败则返回WAF定义的二级错误码
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ResponseCode()
public ResponseCode(ResponseCode source)
public String getCode()
public void setCode(String Code)
Code
- 如果成功则返回Success,失败则返回yunapi定义的错误码public String getMessage()
public void setMessage(String Message)
Message
- 如果成功则返回Success,失败则返回WAF定义的二级错误码Copyright © 2021. All rights reserved.