Package im.getsocial.sdk.communities
Class VotesQuery
- java.lang.Object
-
- im.getsocial.sdk.communities.VotesQuery
-
public class VotesQuery extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VotesQuery
filterByPollOptionId(java.lang.String pollOptionId)
Get only users reacted with specific reaction.static VotesQuery
forActivity(java.lang.String activityId)
Get all users voted to activity with ID.java.lang.String
getPollOptionId()
-
-
-
Method Detail
-
forActivity
public static VotesQuery forActivity(java.lang.String activityId)
Get all users voted to activity with ID.- Parameters:
activityId
- ID of activity.- Returns:
- new query object.
-
filterByPollOptionId
public VotesQuery filterByPollOptionId(java.lang.String pollOptionId)
Get only users reacted with specific reaction.- Parameters:
pollOptionId
- Id of the poll option to filter by.- Returns:
- the same query instance.
-
getPollOptionId
public java.lang.String getPollOptionId()
-
-