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 boolean
canEqual(java.lang.Object other)
boolean
equals(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.Integer
getTotalUnreadCount()
@NotNull java.lang.Integer
getTotalUnreadThreadsCount()
int
hashCode()
void
setChannels(@Nullable java.util.List<UnreadCounts.UnreadCountsChannel> channels)
void
setChannelType(@Nullable java.util.List<UnreadCounts.UnreadCountsChannelType> channelType)
void
setThreads(@Nullable java.util.List<UnreadCounts.UnreadCountsThread> threads)
void
setTotalUnreadCount(@NotNull java.lang.Integer totalUnreadCount)
void
setTotalUnreadThreadsCount(@NotNull java.lang.Integer totalUnreadThreadsCount)
java.lang.String
toString()
-
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:
toString
in classStreamResponseObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classStreamResponseObject
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqual
in classStreamResponseObject
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classStreamResponseObject
-
-