Package io.getstream.chat.java.models
Class UnreadCounts
- java.lang.Object
-
- io.getstream.chat.java.models.UnreadCounts
-
public class UnreadCounts extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnreadCounts.UnreadCountsBatchRequestData
static class
UnreadCounts.UnreadCountsBatchResponse
static class
UnreadCounts.UnreadCountsChannel
static class
UnreadCounts.UnreadCountsChannelType
static class
UnreadCounts.UnreadCountsGetRequestData
static class
UnreadCounts.UnreadCountsResponse
static class
UnreadCounts.UnreadCountsThread
-
Constructor Summary
Constructors Constructor Description UnreadCounts()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull UnreadCounts.UnreadCountsBatchRequestData.UnreadCountsBatchRequest
batch()
Creates a batch request.protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
static @NotNull UnreadCounts.UnreadCountsGetRequestData.UnreadCountsGetRequest
get(@NotNull java.lang.String userId)
Creates a get request.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
get
@NotNull public static @NotNull UnreadCounts.UnreadCountsGetRequestData.UnreadCountsGetRequest get(@NotNull @NotNull java.lang.String userId)
Creates a get request.- Parameters:
userId
- the user id- Returns:
- the created request
-
batch
@NotNull public static @NotNull UnreadCounts.UnreadCountsBatchRequestData.UnreadCountsBatchRequest batch()
Creates a batch request.- 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
-
-