public class PollsGetByIdQuery extends AbstractQueryBuilder<PollsGetByIdQuery,Poll>
Constructor and Description |
---|
PollsGetByIdQuery(VkApiClient client,
UserActor actor,
int pollId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
protected PollsGetByIdQuery |
getThis()
Get reference to this object
|
PollsGetByIdQuery |
isBoard(java.lang.Boolean value)
"true" - poll is in a board,
"false" - poll is on a wall (by default).
|
PollsGetByIdQuery |
ownerId(java.lang.Integer value)
ID of the user or community that owns the poll.
|
protected PollsGetByIdQuery |
pollId(int value)
Poll ID.
|
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, lang, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
execute, executeAsRaw, executeAsString, getClient, getGson, getResponseClass, getUrl
public PollsGetByIdQuery(VkApiClient client, UserActor actor, int pollId)
client
- VK API clientactor
- actor with access tokenpollId
- value of "poll id" parameter. Minimum is 0.public PollsGetByIdQuery ownerId(java.lang.Integer value)
value
- value of "owner id" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public PollsGetByIdQuery isBoard(java.lang.Boolean value)
value
- value of "is board" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected PollsGetByIdQuery pollId(int value)
value
- value of "poll id" parameter. Minimum is 0.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected PollsGetByIdQuery getThis()
AbstractQueryBuilder
getThis
in class AbstractQueryBuilder<PollsGetByIdQuery,Poll>
AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilder
essentialKeys
in class AbstractQueryBuilder<PollsGetByIdQuery,Poll>