Package com.vk.api.sdk.queries.ads
Class AdsImportTargetContactsQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<AdsImportTargetContactsQuery,java.lang.Integer>
-
- com.vk.api.sdk.queries.ads.AdsImportTargetContactsQuery
-
public class AdsImportTargetContactsQuery extends AbstractQueryBuilder<AdsImportTargetContactsQuery,java.lang.Integer>
Query for Ads.importTargetContacts method
-
-
Constructor Summary
Constructors Constructor Description AdsImportTargetContactsQuery(VkApiClient client, UserActor actor, int accountId, int targetGroupId, java.lang.String contacts)Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AdsImportTargetContactsQueryaccountId(int value)Advertising account ID.AdsImportTargetContactsQueryclientId(java.lang.Integer value)'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.protected AdsImportTargetContactsQuerycontacts(java.lang.String value)List of phone numbers, emails or user IDs separated with a comma.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected AdsImportTargetContactsQuerygetThis()Get reference to this objectprotected AdsImportTargetContactsQuerytargetGroupId(int value)Target group ID.-
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
-
-
-
-
Constructor Detail
-
AdsImportTargetContactsQuery
public AdsImportTargetContactsQuery(VkApiClient client, UserActor actor, int accountId, int targetGroupId, java.lang.String contacts)
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.targetGroupId- value of "target group id" parameter.contacts- value of "contacts" parameter.
-
-
Method Detail
-
accountId
protected AdsImportTargetContactsQuery accountId(int value)
Advertising account ID.- Parameters:
value- value of "account id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
clientId
public AdsImportTargetContactsQuery clientId(java.lang.Integer value)
'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.- Parameters:
value- value of "client id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
targetGroupId
protected AdsImportTargetContactsQuery targetGroupId(int value)
Target group ID.- Parameters:
value- value of "target group id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
contacts
protected AdsImportTargetContactsQuery contacts(java.lang.String value)
List of phone numbers, emails or user IDs separated with a comma.- Parameters:
value- value of "contacts" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected AdsImportTargetContactsQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<AdsImportTargetContactsQuery,java.lang.Integer>- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
essentialKeys
protected java.util.List<java.lang.String> essentialKeys()
Description copied from class:AbstractQueryBuilderGet list of required parameter names- Specified by:
essentialKeysin classAbstractQueryBuilder<AdsImportTargetContactsQuery,java.lang.Integer>- Returns:
- list of names
-
-