Package com.vk.api.sdk.queries.ads
Class AdsGetOfficeUsersQuery
java.lang.Object
com.vk.api.sdk.client.ApiRequest<R>
com.vk.api.sdk.client.AbstractQueryBuilder<AdsGetOfficeUsersQuery,java.util.List<GetOfficeUsersResponse>>
com.vk.api.sdk.queries.ads.AdsGetOfficeUsersQuery
public class AdsGetOfficeUsersQuery extends AbstractQueryBuilder<AdsGetOfficeUsersQuery,java.util.List<GetOfficeUsersResponse>>
Query for Ads.getOfficeUsers method
-
Constructor Summary
Constructors Constructor Description AdsGetOfficeUsersQuery(VkApiClient client, UserActor actor, int accountId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters -
Method Summary
Modifier and Type Method Description protected AdsGetOfficeUsersQuery
accountId(int value)
Advertising account ID.protected java.util.List<java.lang.String>
essentialKeys()
Get list of required parameter namesprotected AdsGetOfficeUsersQuery
getThis()
Get reference to this objectMethods 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
-
AdsGetOfficeUsersQuery
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client
- VK API clientactor
- actor with access tokenaccountId
- value of "account id" parameter.
-
-
Method Details
-
accountId
Advertising account ID.- Parameters:
value
- value of "account 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<AdsGetOfficeUsersQuery,java.util.List<GetOfficeUsersResponse>>
- 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<AdsGetOfficeUsersQuery,java.util.List<GetOfficeUsersResponse>>
- Returns:
- list of names
-