Package io.getstream.core.models
Class Paginated<T>
- java.lang.Object
-
- io.getstream.core.models.Paginated<T>
-
- Direct Known Subclasses:
PaginatedNotificationGroup
public class Paginated<T> extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDuration()
java.lang.String
getNext()
java.util.List<T>
getResults()
int
hashCode()
void
setResults(java.util.List<T> results)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Paginated
public Paginated(java.lang.String next, java.util.List<T> results, java.lang.String duration)
-
-
Method Detail
-
getNext
public java.lang.String getNext()
-
getResults
public java.util.List<T> getResults()
-
setResults
public void setResults(java.util.List<T> results)
-
getDuration
public java.lang.String getDuration()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-