Package com.vk.api.sdk.queries.market
Class MarketGetByIdQueryWithExtended
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<MarketGetByIdQueryWithExtended,GetByIdExtendedResponse>
-
- com.vk.api.sdk.queries.market.MarketGetByIdQueryWithExtended
-
public class MarketGetByIdQueryWithExtended extends AbstractQueryBuilder<MarketGetByIdQueryWithExtended,GetByIdExtendedResponse>
Query for Market.getById method
-
-
Constructor Summary
Constructors Constructor Description MarketGetByIdQueryWithExtended(VkApiClient client, UserActor actor, java.lang.String... itemIds)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersMarketGetByIdQueryWithExtended(VkApiClient client, UserActor actor, java.util.List<java.lang.String> itemIds)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 java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected MarketGetByIdQueryWithExtendedextended(java.lang.Boolean value)'1' - to return additional fields: 'likes, can_comment, car_repost, photos'.protected MarketGetByIdQueryWithExtendedgetThis()Get reference to this objectprotected MarketGetByIdQueryWithExtendeditemIds(java.lang.String... value)item_ids Comma-separated ids list: {user id}_{item id}.protected MarketGetByIdQueryWithExtendeditemIds(java.util.List<java.lang.String> value)Comma-separated ids list: {user id}_{item 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
-
MarketGetByIdQueryWithExtended
public MarketGetByIdQueryWithExtended(VkApiClient client, UserActor actor, java.lang.String... itemIds)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenitemIds- value of "item ids" parameter.
-
MarketGetByIdQueryWithExtended
public MarketGetByIdQueryWithExtended(VkApiClient client, UserActor actor, java.util.List<java.lang.String> itemIds)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenitemIds- value of "item ids" parameter.
-
-
Method Detail
-
extended
protected MarketGetByIdQueryWithExtended extended(java.lang.Boolean value)
'1' - to return additional fields: 'likes, can_comment, car_repost, photos'. By default: '0'.- Parameters:
value- value of "extended" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
itemIds
protected MarketGetByIdQueryWithExtended itemIds(java.lang.String... value)
item_ids Comma-separated ids list: {user id}_{item id}. If an item belongs to a community -{community id} is used. " 'Videos' value example: , '-4363_136089719,13245770_137352259'"- Parameters:
value- value of "item ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
itemIds
protected MarketGetByIdQueryWithExtended itemIds(java.util.List<java.lang.String> value)
Comma-separated ids list: {user id}_{item id}. If an item belongs to a community -{community id} is used. " 'Videos' value example: , '-4363_136089719,13245770_137352259'"- Parameters:
value- value of "item ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected MarketGetByIdQueryWithExtended getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<MarketGetByIdQueryWithExtended,GetByIdExtendedResponse>- 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<MarketGetByIdQueryWithExtended,GetByIdExtendedResponse>- Returns:
- list of names
-
-