Class MessageBody
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ccc.v20200210.models.MessageBody
-
public class MessageBody extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MessageBody()MessageBody(MessageBody 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 StringgetFrom()Get 发消息的用户IDMessage[]getMessages()Get 消息列表LonggetTimestamp()Get 消息时间戳voidsetFrom(String From)Set 发消息的用户IDvoidsetMessages(Message[] Messages)Set 消息列表voidsetTimestamp(Long Timestamp)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
-
MessageBody
public MessageBody()
-
MessageBody
public MessageBody(MessageBody 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
-
getTimestamp
public Long getTimestamp()
Get 消息时间戳- Returns:
- Timestamp 消息时间戳
-
setTimestamp
public void setTimestamp(Long Timestamp)
Set 消息时间戳- Parameters:
Timestamp- 消息时间戳
-
getFrom
public String getFrom()
Get 发消息的用户ID- Returns:
- From 发消息的用户ID
-
setFrom
public void setFrom(String From)
Set 发消息的用户ID- Parameters:
From- 发消息的用户ID
-
getMessages
public Message[] getMessages()
Get 消息列表- Returns:
- Messages 消息列表
-
setMessages
public void setMessages(Message[] Messages)
Set 消息列表- Parameters:
Messages- 消息列表
-
-