Package io.getstream.chat.java.models
Class Thread
- java.lang.Object
-
- io.getstream.chat.java.models.Thread
-
public class Thread extends java.lang.Object
Represents thread functionality in Stream Chat.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Thread.QueryThreadsRequestData
Request data for querying threads.static class
Thread.QueryThreadsResponse
Response for querying threads.static class
Thread.ThreadObject
A thread object containing thread data and metadata.static class
Thread.ThreadParticipant
A thread participant.
-
Constructor Summary
Constructors Constructor Description Thread()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
int
hashCode()
static Thread.QueryThreadsRequestData.QueryThreadsRequest
queryThreads()
Queries threads based on the provided parametersjava.lang.String
toString()
-
-
-
Method Detail
-
queryThreads
@NotNull public static Thread.QueryThreadsRequestData.QueryThreadsRequest queryThreads()
Queries threads based on the provided parameters- Returns:
- the created request
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-