Package io.getstream.chat.java.models
Class UnreadCounts.UnreadCountsResponse
- java.lang.Object
-
- io.getstream.chat.java.models.framework.StreamResponseObject
-
- io.getstream.chat.java.models.UnreadCounts.UnreadCountsResponse
-
- All Implemented Interfaces:
StreamResponse,StreamResponseWithRateLimit
- Enclosing class:
- UnreadCounts
public static class UnreadCounts.UnreadCountsResponse extends StreamResponseObject
-
-
Constructor Summary
Constructors Constructor Description UnreadCountsResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)@Nullable java.util.List<UnreadCounts.UnreadCountsChannel>getChannels()@Nullable java.util.List<UnreadCounts.UnreadCountsChannelType>getChannelType()@Nullable java.util.List<UnreadCounts.UnreadCountsThread>getThreads()@NotNull java.lang.IntegergetTotalUnreadCount()@NotNull java.lang.IntegergetTotalUnreadThreadsCount()inthashCode()voidsetChannels(@Nullable java.util.List<UnreadCounts.UnreadCountsChannel> channels)voidsetChannelType(@Nullable java.util.List<UnreadCounts.UnreadCountsChannelType> channelType)voidsetThreads(@Nullable java.util.List<UnreadCounts.UnreadCountsThread> threads)voidsetTotalUnreadCount(@NotNull java.lang.Integer totalUnreadCount)voidsetTotalUnreadThreadsCount(@NotNull java.lang.Integer totalUnreadThreadsCount)java.lang.StringtoString()-
Methods inherited from class io.getstream.chat.java.models.framework.StreamResponseObject
getDuration, getRateLimit, setDuration, setRateLimit
-
-
-
-
Method Detail
-
getTotalUnreadCount
@NotNull public @NotNull java.lang.Integer getTotalUnreadCount()
-
getTotalUnreadThreadsCount
@NotNull public @NotNull java.lang.Integer getTotalUnreadThreadsCount()
-
getChannels
@Nullable public @Nullable java.util.List<UnreadCounts.UnreadCountsChannel> getChannels()
-
getChannelType
@Nullable public @Nullable java.util.List<UnreadCounts.UnreadCountsChannelType> getChannelType()
-
getThreads
@Nullable public @Nullable java.util.List<UnreadCounts.UnreadCountsThread> getThreads()
-
setTotalUnreadCount
public void setTotalUnreadCount(@NotNull @NotNull java.lang.Integer totalUnreadCount)
-
setTotalUnreadThreadsCount
public void setTotalUnreadThreadsCount(@NotNull @NotNull java.lang.Integer totalUnreadThreadsCount)
-
setChannels
public void setChannels(@Nullable @Nullable java.util.List<UnreadCounts.UnreadCountsChannel> channels)
-
setChannelType
public void setChannelType(@Nullable @Nullable java.util.List<UnreadCounts.UnreadCountsChannelType> channelType)
-
setThreads
public void setThreads(@Nullable @Nullable java.util.List<UnreadCounts.UnreadCountsThread> threads)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classStreamResponseObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classStreamResponseObject
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classStreamResponseObject
-
hashCode
public int hashCode()
- Overrides:
hashCodein classStreamResponseObject
-
-