-
public final class PollListQuery
A class representing query to retrieve the list of polls.
since 3.0.171
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PollListQuery.Companion
-
Method Summary
Modifier and Type Method Description final Boolean
hasNext()
Checks if there is a next page. final Unit
setHasNext(Boolean hasNext)
final Boolean
getIsLoading()
final String
getChannelUrl()
Url of the channel that this poll belongs to. final Integer
getLimit()
The maximum number of polls per queried page. final Unit
setLimit(Integer limit)
The maximum number of polls per queried page. final Unit
next(PollListQueryResultHandler pollListQueryResultHandler)
List all polls that belong to a channel specified by channelUrl. -
-
Method Detail
-
setHasNext
final Unit setHasNext(Boolean hasNext)
-
getIsLoading
final Boolean getIsLoading()
-
getChannelUrl
final String getChannelUrl()
Url of the channel that this poll belongs to.
since 3.0.171
-
setLimit
final Unit setLimit(Integer limit)
The maximum number of polls per queried page.
since 3.0.171
-
next
final Unit next(PollListQueryResultHandler pollListQueryResultHandler)
List all polls that belong to a channel specified by channelUrl. The response will be paginated and if there are more values available, hasNext will be
true
.The default value for the limit parameter is
20
and this parameter's value should be between1
and20
.since 3.0.171
-
-
-
-