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 classUnreadCounts.UnreadCountsBatchRequestDatastatic classUnreadCounts.UnreadCountsBatchResponsestatic classUnreadCounts.UnreadCountsChannelstatic classUnreadCounts.UnreadCountsChannelTypestatic classUnreadCounts.UnreadCountsGetRequestDatastatic classUnreadCounts.UnreadCountsResponsestatic classUnreadCounts.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.UnreadCountsBatchRequestbatch()Creates a batch request.protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)static @NotNull UnreadCounts.UnreadCountsGetRequestData.UnreadCountsGetRequestget(@NotNull java.lang.String userId)Creates a get request.inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-