public class ChatRoomQueueBatchAddAttachment extends ChatRoomNotificationAttachment
构造器和说明 |
---|
ChatRoomQueueBatchAddAttachment() |
限定符和类型 | 方法和说明 |
---|---|
ChatRoomQueueChangeType |
getChatRoomQueueChangeType() |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getContentMapList() |
void |
parse(JSONObject json)
通过json为当前对象赋值
|
java.lang.String |
toString() |
getExtension, getOperator, getOperatorNick, getTags, getTargetNicks, getTargets
fromJson, getType, setType, toJson
public void parse(JSONObject json)
parse
在类中 ChatRoomNotificationAttachment
json
- 示例:{"opeNick":"myRole","operator":"cjl","queueChange":"{\"_e\":\"BATCH_OFFER\",\"elements\":[{\"nick\":\"cjl0的昵称\",\"accid\":\"cjl0\",\"value\":\"value is 0\",\"key\":\"key0\"},{\"nick\":\"cjl0的昵称\",\"accid\":\"cjl0\",\"value\":\"value is 1\",\"key\":\"key1\"},{\"nick\":\"cjl0的昵称\",\"accid\":\"cjl0\",\"value\":\"value is 2\",\"key\":\"key2\"}]}"}public ChatRoomQueueChangeType getChatRoomQueueChangeType()
public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getContentMapList()
public java.lang.String toString()