public class ChatRoomQueueBatchAddAttachment extends ChatRoomNotificationAttachment
Constructor and Description |
---|
ChatRoomQueueBatchAddAttachment() |
Modifier and Type | Method and Description |
---|---|
ChatRoomQueueChangeType |
getChatRoomQueueChangeType() |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getContentMapList() |
void |
parse(JSONObject json)
Assign values to the current object using JSON
|
java.lang.String |
toString() |
getExtension, getOperator, getOperatorNick, getTargetNicks, getTargets
fromJson, getType, setType, toJson
public void parse(JSONObject json)
parse
in class ChatRoomNotificationAttachment
json
- example: {"opeNick":"myRole","operator":"cjl","queueChange":"{\"_e\":\"BATCH_OFFER\",\"elements\":[{\"nick\":\"cjl0 nickname\",\"accid\":\"cjl0\",\"value\":\"value is 0\",\"key\":\"key0\"},{\"nick\":\"cjl0 nickname\",\"accid\":\"cjl0\",\"value\":\"value is 1\",\"key\":\"key1\"},{\"nick\":\"cjl0 nickname\",\"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()
toString
in class ChatRoomNotificationAttachment