Package com.vk.api.sdk.queries.pages
Class PagesGetTitlesQuery
java.lang.Object
com.vk.api.sdk.client.ApiRequest<R>
com.vk.api.sdk.client.AbstractQueryBuilder<PagesGetTitlesQuery,java.util.List<GetTitlesResponse>>
com.vk.api.sdk.queries.pages.PagesGetTitlesQuery
public class PagesGetTitlesQuery extends AbstractQueryBuilder<PagesGetTitlesQuery,java.util.List<GetTitlesResponse>>
Query for Pages.getTitles method
-
Constructor Summary
Constructors Constructor Description PagesGetTitlesQuery(VkApiClient client, UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters -
Method Summary
Modifier and Type Method Description protected java.util.List<java.lang.String>
essentialKeys()
Get list of required parameter namesprotected PagesGetTitlesQuery
getThis()
Get reference to this objectPagesGetTitlesQuery
groupId(java.lang.Integer value)
ID of the community that owns the wiki page.Methods inherited from class com.vk.api.sdk.client.AbstractQueryBuilder
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, getParams, lang, toString, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
Methods inherited from class com.vk.api.sdk.client.ApiRequest
execute, executeAsRaw, executeAsString, getClient, getGson, getHeaders, getResponseClass, getUrl, setHeaders
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
PagesGetTitlesQuery
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client
- VK API clientactor
- actor with access token
-
-
Method Details
-
groupId
ID of the community that owns the wiki page.- Parameters:
value
- value of "group id" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
getThis
Description copied from class:AbstractQueryBuilder
Get reference to this object- Specified by:
getThis
in classAbstractQueryBuilder<PagesGetTitlesQuery,java.util.List<GetTitlesResponse>>
- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
essentialKeys
protected java.util.List<java.lang.String> essentialKeys()Description copied from class:AbstractQueryBuilder
Get list of required parameter names- Specified by:
essentialKeys
in classAbstractQueryBuilder<PagesGetTitlesQuery,java.util.List<GetTitlesResponse>>
- Returns:
- list of names
-