Class Message
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ccc.v20200210.models.Message
-
public class Message 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 StringgetContent()Get 消息内容StringgetType()Get 消息类型voidsetContent(String Content)Set 消息内容voidsetType(String Type)Set 消息类型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
-
Message
public Message()
-
Message
public Message(Message 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
-
getType
public String getType()
Get 消息类型- Returns:
- Type 消息类型
-
setType
public void setType(String Type)
Set 消息类型- Parameters:
Type- 消息类型
-
getContent
public String getContent()
Get 消息内容- Returns:
- Content 消息内容
-
setContent
public void setContent(String Content)
Set 消息内容- Parameters:
Content- 消息内容
-
-