Package com.symphony.bdk.gen.api.model
Class MessageSearchQuery
java.lang.Object
com.symphony.bdk.gen.api.model.MessageSearchQuery
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-26T16:14:53.869723549Z[Etc/UTC]")
public class MessageSearchQuery
extends Object
MessageSearchQuery
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this MessageSearchQuery object is equal to o.Search for messages sent by this user IDSearch for messages containing this cashtagSearch for messages sent on or after this timestampSearch for messages containing this hashtagSearch for messages mentioning this user IDSearch for messages matching this signal.Search for messages sent to this streamSearch for messages sent to this type of streams.getText()
Search for messages containing this text.Search for messages sent before this timestampint
hashCode()
void
void
setCashtag
(String cashtag) void
setFromDate
(Long fromDate) void
setHashtag
(String hashtag) void
setMention
(Long mention) void
void
setStreamId
(String streamId) void
setStreamType
(String streamType) void
void
streamType
(String streamType) toString()
-
Field Details
-
JSON_PROPERTY_TEXT
- See Also:
-
JSON_PROPERTY_STREAM_ID
- See Also:
-
JSON_PROPERTY_STREAM_TYPE
- See Also:
-
JSON_PROPERTY_AUTHOR
- See Also:
-
JSON_PROPERTY_HASHTAG
- See Also:
-
JSON_PROPERTY_CASHTAG
- See Also:
-
JSON_PROPERTY_MENTION
- See Also:
-
JSON_PROPERTY_SIGNAL
- See Also:
-
JSON_PROPERTY_FROM_DATE
- See Also:
-
JSON_PROPERTY_TO_DATE
- See Also:
-
-
Constructor Details
-
MessageSearchQuery
public MessageSearchQuery()
-
-
Method Details
-
text
-
getText
Search for messages containing this text. Requires streamId to be specified.- Returns:
- text
-
setText
-
streamId
-
getStreamId
Search for messages sent to this stream- Returns:
- streamId
-
setStreamId
-
streamType
-
getStreamType
Search for messages sent to this type of streams. Accepted values are CHAT, IM, MIM, ROOM, POST.- Returns:
- streamType
-
setStreamType
-
author
-
getAuthor
Search for messages sent by this user ID- Returns:
- author
-
setAuthor
-
hashtag
-
getHashtag
Search for messages containing this hashtag- Returns:
- hashtag
-
setHashtag
-
cashtag
-
getCashtag
Search for messages containing this cashtag- Returns:
- cashtag
-
setCashtag
-
mention
-
getMention
Search for messages mentioning this user ID- Returns:
- mention
-
setMention
-
signal
-
getSignal
Search for messages matching this signal. Can only be combined with date filtering and paging parameters.- Returns:
- signal
-
setSignal
-
fromDate
-
getFromDate
Search for messages sent on or after this timestamp- Returns:
- fromDate
-
setFromDate
-
toDate
-
getToDate
Search for messages sent before this timestamp- Returns:
- toDate
-
setToDate
-
equals
Return true if this MessageSearchQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-