Class ErrorCodes
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.apigateway.v20180808.models.ErrorCodes
-
public class ErrorCodes extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ErrorCodes()ErrorCodes(ErrorCodes 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCode()Get 自定义响应配置错误码。 注意:此字段可能返回 null,表示取不到有效值。LonggetConvertedCode()Get 自定义错误码转换。 注意:此字段可能返回 null,表示取不到有效值。StringgetDesc()Get 自定义响应配置错误码备注。 注意:此字段可能返回 null,表示取不到有效值。StringgetMsg()Get 自定义响应配置错误信息。 注意:此字段可能返回 null,表示取不到有效值。BooleangetNeedConvert()Get 是否需要开启错误码转换。 注意:此字段可能返回 null,表示取不到有效值。voidsetCode(Long Code)Set 自定义响应配置错误码。 注意:此字段可能返回 null,表示取不到有效值。voidsetConvertedCode(Long ConvertedCode)Set 自定义错误码转换。 注意:此字段可能返回 null,表示取不到有效值。voidsetDesc(String Desc)Set 自定义响应配置错误码备注。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsg(String Msg)Set 自定义响应配置错误信息。 注意:此字段可能返回 null,表示取不到有效值。voidsetNeedConvert(Boolean NeedConvert)Set 是否需要开启错误码转换。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ErrorCodes
public ErrorCodes()
-
ErrorCodes
public ErrorCodes(ErrorCodes 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.
-
-
Method Detail
-
getCode
public Long getCode()
Get 自定义响应配置错误码。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Code 自定义响应配置错误码。 注意:此字段可能返回 null,表示取不到有效值。
-
setCode
public void setCode(Long Code)
Set 自定义响应配置错误码。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Code- 自定义响应配置错误码。 注意:此字段可能返回 null,表示取不到有效值。
-
getMsg
public String getMsg()
Get 自定义响应配置错误信息。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Msg 自定义响应配置错误信息。 注意:此字段可能返回 null,表示取不到有效值。
-
setMsg
public void setMsg(String Msg)
Set 自定义响应配置错误信息。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Msg- 自定义响应配置错误信息。 注意:此字段可能返回 null,表示取不到有效值。
-
getDesc
public String getDesc()
Get 自定义响应配置错误码备注。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Desc 自定义响应配置错误码备注。 注意:此字段可能返回 null,表示取不到有效值。
-
setDesc
public void setDesc(String Desc)
Set 自定义响应配置错误码备注。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Desc- 自定义响应配置错误码备注。 注意:此字段可能返回 null,表示取不到有效值。
-
getConvertedCode
public Long getConvertedCode()
Get 自定义错误码转换。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ConvertedCode 自定义错误码转换。 注意:此字段可能返回 null,表示取不到有效值。
-
setConvertedCode
public void setConvertedCode(Long ConvertedCode)
Set 自定义错误码转换。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ConvertedCode- 自定义错误码转换。 注意:此字段可能返回 null,表示取不到有效值。
-
getNeedConvert
public Boolean getNeedConvert()
Get 是否需要开启错误码转换。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- NeedConvert 是否需要开启错误码转换。 注意:此字段可能返回 null,表示取不到有效值。
-
setNeedConvert
public void setNeedConvert(Boolean NeedConvert)
Set 是否需要开启错误码转换。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
NeedConvert- 是否需要开启错误码转换。 注意:此字段可能返回 null,表示取不到有效值。
-
-