Skip to content

Commit 00ecddd

Browse files
committed
feat: update QueryChatroomHistoryMessagesResponseV2 field
1 parent b65f23d commit 00ecddd

File tree

1 file changed

+22
-133
lines changed

1 file changed

+22
-133
lines changed

src/main/java/com/netease/nim/server/sdk/im/v2/chatroom_message/response/QueryChatroomHistoryMessagesResponseV2.java

Lines changed: 22 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -42,33 +42,21 @@ public void setItems(List<MessageItem> items) {
4242

4343
public static class MessageItem {
4444

45-
@JSONField(name = "message_server_id")
46-
private Long messageServerId;
47-
48-
@JSONField(name = "message_client_id")
49-
private String messageClientId;
50-
5145
@JSONField(name = "sender_id")
5246
private String senderId;
5347

54-
@JSONField(name = "conversation_type")
55-
private Integer conversationType;
56-
57-
@JSONField(name = "receiver_id")
58-
private String receiverId;
59-
60-
@JSONField(name = "team_id")
61-
private Long teamId;
62-
6348
@JSONField(name = "message_type")
6449
private Integer messageType;
6550

66-
@JSONField(name = "sub_type")
67-
private Integer subType;
68-
6951
@JSONField(name = "create_time")
7052
private Long createTime;
7153

54+
@JSONField(name = "message_client_id")
55+
private String messageClientId;
56+
57+
@JSONField(name = "sender_client_type")
58+
private Integer senderClientType;
59+
7260
@JSONField(name = "text")
7361
private String text;
7462

@@ -78,41 +66,6 @@ public static class MessageItem {
7866
@JSONField(name = "extension")
7967
private String extension;
8068

81-
@JSONField(name = "modify_account_id")
82-
private String modifyAccountId;
83-
84-
@JSONField(name = "modify_time")
85-
private Long modifyTime;
86-
87-
@JSONField(name = "sender_client_type")
88-
private Integer senderClientType;
89-
90-
@JSONField(name = "receiver_account_ids")
91-
private List<String> receiverAccountIds;
92-
93-
@JSONField(name = "inclusive")
94-
private Boolean inclusive;
95-
96-
@JSONField(name = "new_member_visible")
97-
private Boolean newMemberVisible;
98-
99-
100-
public Long getMessageServerId() {
101-
return messageServerId;
102-
}
103-
104-
public void setMessageServerId(Long messageServerId) {
105-
this.messageServerId = messageServerId;
106-
}
107-
108-
public String getMessageClientId() {
109-
return messageClientId;
110-
}
111-
112-
public void setMessageClientId(String messageClientId) {
113-
this.messageClientId = messageClientId;
114-
}
115-
11669
public String getSenderId() {
11770
return senderId;
11871
}
@@ -121,30 +74,6 @@ public void setSenderId(String senderId) {
12174
this.senderId = senderId;
12275
}
12376

124-
public Integer getConversationType() {
125-
return conversationType;
126-
}
127-
128-
public void setConversationType(Integer conversationType) {
129-
this.conversationType = conversationType;
130-
}
131-
132-
public String getReceiverId() {
133-
return receiverId;
134-
}
135-
136-
public void setReceiverId(String receiverId) {
137-
this.receiverId = receiverId;
138-
}
139-
140-
public Long getTeamId() {
141-
return teamId;
142-
}
143-
144-
public void setTeamId(Long teamId) {
145-
this.teamId = teamId;
146-
}
147-
14877
public Integer getMessageType() {
14978
return messageType;
15079
}
@@ -153,14 +82,6 @@ public void setMessageType(Integer messageType) {
15382
this.messageType = messageType;
15483
}
15584

156-
public Integer getSubType() {
157-
return subType;
158-
}
159-
160-
public void setSubType(Integer subType) {
161-
this.subType = subType;
162-
}
163-
16485
public Long getCreateTime() {
16586
return createTime;
16687
}
@@ -169,44 +90,12 @@ public void setCreateTime(Long createTime) {
16990
this.createTime = createTime;
17091
}
17192

172-
public String getText() {
173-
return text;
174-
}
175-
176-
public void setText(String text) {
177-
this.text = text;
178-
}
179-
180-
public Map<? , ? > getAttachment() {
181-
return attachment;
182-
}
183-
184-
public void setAttachment(Map<? , ? > attachment) {
185-
this.attachment = attachment;
186-
}
187-
188-
public String getExtension() {
189-
return extension;
190-
}
191-
192-
public void setExtension(String extension) {
193-
this.extension = extension;
194-
}
195-
196-
public String getModifyAccountId() {
197-
return modifyAccountId;
198-
}
199-
200-
public void setModifyAccountId(String modifyAccountId) {
201-
this.modifyAccountId = modifyAccountId;
202-
}
203-
204-
public Long getModifyTime() {
205-
return modifyTime;
93+
public String getMessageClientId() {
94+
return messageClientId;
20695
}
20796

208-
public void setModifyTime(Long modifyTime) {
209-
this.modifyTime = modifyTime;
97+
public void setMessageClientId(String messageClientId) {
98+
this.messageClientId = messageClientId;
21099
}
211100

212101
public Integer getSenderClientType() {
@@ -217,28 +106,28 @@ public void setSenderClientType(Integer senderClientType) {
217106
this.senderClientType = senderClientType;
218107
}
219108

220-
public List<String> getReceiverAccountIds() {
221-
return receiverAccountIds;
109+
public String getText() {
110+
return text;
222111
}
223112

224-
public void setReceiverAccountIds(List<String> receiverAccountIds) {
225-
this.receiverAccountIds = receiverAccountIds;
113+
public void setText(String text) {
114+
this.text = text;
226115
}
227116

228-
public Boolean getInclusive() {
229-
return inclusive;
117+
public Map<?, ?> getAttachment() {
118+
return attachment;
230119
}
231120

232-
public void setInclusive(Boolean inclusive) {
233-
this.inclusive = inclusive;
121+
public void setAttachment(Map<?, ?> attachment) {
122+
this.attachment = attachment;
234123
}
235124

236-
public Boolean getNewMemberVisible() {
237-
return newMemberVisible;
125+
public String getExtension() {
126+
return extension;
238127
}
239128

240-
public void setNewMemberVisible(Boolean newMemberVisible) {
241-
this.newMemberVisible = newMemberVisible;
129+
public void setExtension(String extension) {
130+
this.extension = extension;
242131
}
243132
}
244133

0 commit comments

Comments
 (0)