Class Error
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ssl.v20191205.models.Error
-
public class Error extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Get 异常错误码 注意:此字段可能返回 null,表示取不到有效值。StringgetMessage()Get 异常错误信息 注意:此字段可能返回 null,表示取不到有效值。voidsetCode(String Code)Set 异常错误码 注意:此字段可能返回 null,表示取不到有效值。voidsetMessage(String Message)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
-
Error
public Error()
-
Error
public Error(Error 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 String getCode()
Get 异常错误码 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Code 异常错误码 注意:此字段可能返回 null,表示取不到有效值。
-
setCode
public void setCode(String Code)
Set 异常错误码 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Code- 异常错误码 注意:此字段可能返回 null,表示取不到有效值。
-
getMessage
public String getMessage()
Get 异常错误信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Message 异常错误信息 注意:此字段可能返回 null,表示取不到有效值。
-
setMessage
public void setMessage(String Message)
Set 异常错误信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Message- 异常错误信息 注意:此字段可能返回 null,表示取不到有效值。
-
-