-
- All Implemented Interfaces:
public final class NERoomGetSessionMessagesHistoryParam
-
-
Field Summary
Fields Modifier and Type Field Description private final String
sessionId
private final NERoomSessionTypeEnum
sessionType
private final Long
fromTime
private final Long
toTime
private final Integer
limit
private final NEMessageSearchOrder
order
-
Constructor Summary
Constructors Constructor Description NERoomGetSessionMessagesHistoryParam(String sessionId, NERoomSessionTypeEnum sessionType, Long fromTime, Long toTime, Integer limit, NEMessageSearchOrder order)
-
Method Summary
Modifier and Type Method Description final String
getSessionId()
会话ID final NERoomSessionTypeEnum
getSessionType()
会话类型 final Long
getFromTime()
查询开始时间点 final Long
getToTime()
查询截止时间点 final Integer
getLimit()
条数限制 限制0~100,否则414。其中0会被转化为100 final NEMessageSearchOrder
getOrder()
查询方向 -
-
Constructor Detail
-
NERoomGetSessionMessagesHistoryParam
NERoomGetSessionMessagesHistoryParam(String sessionId, NERoomSessionTypeEnum sessionType, Long fromTime, Long toTime, Integer limit, NEMessageSearchOrder order)
-
-
Method Detail
-
getSessionId
final String getSessionId()
会话ID
-
getSessionType
final NERoomSessionTypeEnum getSessionType()
会话类型
-
getFromTime
final Long getFromTime()
查询开始时间点
-
getOrder
final NEMessageSearchOrder getOrder()
查询方向
-
-
-
-