Package com.vk.api.sdk.queries.wall
Class WallGetQueryWithExtended
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<WallGetQueryWithExtended,GetExtendedResponse>
-
- com.vk.api.sdk.queries.wall.WallGetQueryWithExtended
-
public class WallGetQueryWithExtended extends AbstractQueryBuilder<WallGetQueryWithExtended,GetExtendedResponse>
Query for Wall.get method
-
-
Constructor Summary
Constructors Constructor Description WallGetQueryWithExtended(VkApiClient client, ServiceActor actor)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersWallGetQueryWithExtended(VkApiClient client, UserActor actor)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 WallGetQueryWithExtendedcount(java.lang.Integer value)Number of posts to return (maximum 100).WallGetQueryWithExtendeddomain(java.lang.String value)User or community short address.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected WallGetQueryWithExtendedextended(java.lang.Boolean value)'1' — to return 'wall', 'profiles', and 'groups' fields, '0' — to return no additional fields (default)WallGetQueryWithExtendedfields(UserGroupFields... value)fields Set fieldsWallGetQueryWithExtendedfields(java.util.List<UserGroupFields> value)Set fieldsWallGetQueryWithExtendedfilter(GetFilter value)Set filterprotected WallGetQueryWithExtendedgetThis()Get reference to this objectWallGetQueryWithExtendedoffset(java.lang.Integer value)Offset needed to return a specific subset of posts.WallGetQueryWithExtendedownerId(java.lang.Integer value)ID of the user or community that owns the wall.-
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
-
WallGetQueryWithExtended
public WallGetQueryWithExtended(VkApiClient client, UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access token
-
WallGetQueryWithExtended
public WallGetQueryWithExtended(VkApiClient client, ServiceActor actor)
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 Detail
-
ownerId
public WallGetQueryWithExtended ownerId(java.lang.Integer value)
ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.- Parameters:
value- value of "owner id" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
domain
public WallGetQueryWithExtended domain(java.lang.String value)
User or community short address.- Parameters:
value- value of "domain" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
offset
public WallGetQueryWithExtended offset(java.lang.Integer value)
Offset needed to return a specific subset of posts.- Parameters:
value- value of "offset" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
count
public WallGetQueryWithExtended count(java.lang.Integer value)
Number of posts to return (maximum 100).- Parameters:
value- value of "count" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
filter
public WallGetQueryWithExtended filter(GetFilter value)
Set filter- Parameters:
value- value of "filter" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
extended
protected WallGetQueryWithExtended extended(java.lang.Boolean value)
'1' — to return 'wall', 'profiles', and 'groups' fields, '0' — to return no additional fields (default)- Parameters:
value- value of "extended" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public WallGetQueryWithExtended fields(UserGroupFields... value)
fields Set fields- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public WallGetQueryWithExtended fields(java.util.List<UserGroupFields> value)
Set fields- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected WallGetQueryWithExtended getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<WallGetQueryWithExtended,GetExtendedResponse>- 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<WallGetQueryWithExtended,GetExtendedResponse>- Returns:
- list of names
-
-