NIMSDK-AOS
10.4.0-beta
载入中...
搜索中...
未找到
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
param
QChatGetMentionedMeMessagesParam.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.param;
2
3
/**
4
* "分页查询指定频道@我的消息"接口入参
5
*/
6
public
class
QChatGetMentionedMeMessagesParam
{
7
8
/**
9
* 服务器id
10
*/
11
private
long
serverId;
12
/**
13
* 频道id
14
*/
15
private
long
channelId;
16
/**
17
* 查询时间戳
18
*/
19
private
Long timetag;
20
/**
21
* 查询数量限制,默认200
22
*/
23
private
Integer limit;
24
25
/**
26
*
27
* @param serverId 服务器id
28
* @param channelId 频道id
29
*/
30
public
QChatGetMentionedMeMessagesParam
(
long
serverId,
long
channelId) {
31
this.serverId = serverId;
32
this.channelId = channelId;
33
}
34
35
/**
36
* 设置查询数量限制
37
* @param limit
38
*/
39
public
void
setLimit
(Integer limit) {
40
this.limit = limit;
41
}
42
43
/**
44
* 设置查询时间戳
45
* @param timetag
46
*/
47
public
void
setTimetag
(Long timetag) {
48
this.timetag = timetag;
49
}
50
51
/**
52
* 获取服务器id
53
* @return
54
*/
55
public
long
getServerId
() {
56
return
serverId;
57
}
58
59
/**
60
* 获取频道id
61
* @return
62
*/
63
public
long
getChannelId
() {
64
return
channelId;
65
}
66
67
/**
68
* 获取查询时间戳
69
* @return
70
*/
71
public
Long
getTimetag
() {
72
return
timetag;
73
}
74
75
/**
76
* 获取查询数量限制
77
* @return
78
*/
79
public
Integer
getLimit
() {
80
return
limit;
81
}
82
83
/**
84
* 是否合法
85
*/
86
public
boolean
isValid
() {
87
if
(serverId <= 0 || channelId <= 0) {
88
return
false
;
89
}
90
return
true
;
91
}
92
}
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam
"分页查询指定频道@我的消息"接口入参
Definition:
QChatGetMentionedMeMessagesParam.java:6
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam.getChannelId
long getChannelId()
获取频道id
Definition:
QChatGetMentionedMeMessagesParam.java:63
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam.isValid
boolean isValid()
是否合法
Definition:
QChatGetMentionedMeMessagesParam.java:86
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam.getLimit
Integer getLimit()
获取查询数量限制
Definition:
QChatGetMentionedMeMessagesParam.java:79
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam.QChatGetMentionedMeMessagesParam
QChatGetMentionedMeMessagesParam(long serverId, long channelId)
Definition:
QChatGetMentionedMeMessagesParam.java:30
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam.getTimetag
Long getTimetag()
获取查询时间戳
Definition:
QChatGetMentionedMeMessagesParam.java:71
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam.setTimetag
void setTimetag(Long timetag)
设置查询时间戳
Definition:
QChatGetMentionedMeMessagesParam.java:47
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam.getServerId
long getServerId()
获取服务器id
Definition:
QChatGetMentionedMeMessagesParam.java:55
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam.setLimit
void setLimit(Integer limit)
设置查询数量限制
Definition:
QChatGetMentionedMeMessagesParam.java:39
生成于 2024年 八月 21日 星期三 18:18:02 , 为 NIMSDK-AOS使用
1.9.5