Class MessageList
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.lcic.v20220817.models.MessageList
-
public class MessageList extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MessageList()MessageList(MessageList 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 StringgetFromAccount()Get 消息发送者 注意:此字段可能返回 null,表示取不到有效值。MessageItem[]getMessageBody()Get 历史消息列表 注意:此字段可能返回 null,表示取不到有效值。LonggetSeq()Get 消息序列号,当前课堂内唯一且单调递增 注意:此字段可能返回 null,表示取不到有效值。LonggetTimestamp()Get 消息时间戳 注意:此字段可能返回 null,表示取不到有效值。voidsetFromAccount(String FromAccount)Set 消息发送者 注意:此字段可能返回 null,表示取不到有效值。voidsetMessageBody(MessageItem[] MessageBody)Set 历史消息列表 注意:此字段可能返回 null,表示取不到有效值。voidsetSeq(Long Seq)Set 消息序列号,当前课堂内唯一且单调递增 注意:此字段可能返回 null,表示取不到有效值。voidsetTimestamp(Long Timestamp)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
-
MessageList
public MessageList()
-
MessageList
public MessageList(MessageList 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 消息时间戳 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Timestamp 消息时间戳 注意:此字段可能返回 null,表示取不到有效值。
-
setTimestamp
public void setTimestamp(Long Timestamp)
Set 消息时间戳 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Timestamp- 消息时间戳 注意:此字段可能返回 null,表示取不到有效值。
-
getFromAccount
public String getFromAccount()
Get 消息发送者 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FromAccount 消息发送者 注意:此字段可能返回 null,表示取不到有效值。
-
setFromAccount
public void setFromAccount(String FromAccount)
Set 消息发送者 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FromAccount- 消息发送者 注意:此字段可能返回 null,表示取不到有效值。
-
getSeq
public Long getSeq()
Get 消息序列号,当前课堂内唯一且单调递增 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Seq 消息序列号,当前课堂内唯一且单调递增 注意:此字段可能返回 null,表示取不到有效值。
-
setSeq
public void setSeq(Long Seq)
Set 消息序列号,当前课堂内唯一且单调递增 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Seq- 消息序列号,当前课堂内唯一且单调递增 注意:此字段可能返回 null,表示取不到有效值。
-
getMessageBody
public MessageItem[] getMessageBody()
Get 历史消息列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MessageBody 历史消息列表 注意:此字段可能返回 null,表示取不到有效值。
-
setMessageBody
public void setMessageBody(MessageItem[] MessageBody)
Set 历史消息列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MessageBody- 历史消息列表 注意:此字段可能返回 null,表示取不到有效值。
-
-