Package com.vk.api.sdk.queries.newsfeed
Class NewsfeedSaveListQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<NewsfeedSaveListQuery,java.lang.Integer>
-
- com.vk.api.sdk.queries.newsfeed.NewsfeedSaveListQuery
-
public class NewsfeedSaveListQuery extends AbstractQueryBuilder<NewsfeedSaveListQuery,java.lang.Integer>
Query for Newsfeed.saveList method
-
-
Constructor Summary
Constructors Constructor Description NewsfeedSaveListQuery(VkApiClient client, UserActor actor, java.lang.String title)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 NewsfeedSaveListQuerygetThis()Get reference to this objectNewsfeedSaveListQuerylistId(java.lang.Integer value)Numeric list identifier (if not sent, will be set automatically).NewsfeedSaveListQuerynoReposts(java.lang.Boolean value)Reposts display on and off ('1' is for off).NewsfeedSaveListQuerysourceIds(java.lang.Integer... value)source_ids Users and communities identifiers to be added to the list.NewsfeedSaveListQuerysourceIds(java.util.List<java.lang.Integer> value)Users and communities identifiers to be added to the list.protected NewsfeedSaveListQuerytitle(java.lang.String value)List name.-
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
-
NewsfeedSaveListQuery
public NewsfeedSaveListQuery(VkApiClient client, UserActor actor, java.lang.String title)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokentitle- value of "title" parameter.
-
-
Method Detail
-
listId
public NewsfeedSaveListQuery listId(java.lang.Integer value)
Numeric list identifier (if not sent, will be set automatically).- Parameters:
value- value of "list id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
title
protected NewsfeedSaveListQuery title(java.lang.String value)
List name.- Parameters:
value- value of "title" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
noReposts
public NewsfeedSaveListQuery noReposts(java.lang.Boolean value)
Reposts display on and off ('1' is for off).- Parameters:
value- value of "no reposts" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
sourceIds
public NewsfeedSaveListQuery sourceIds(java.lang.Integer... value)
source_ids Users and communities identifiers to be added to the list. Community identifiers must be negative numbers.- Parameters:
value- value of "source ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
sourceIds
public NewsfeedSaveListQuery sourceIds(java.util.List<java.lang.Integer> value)
Users and communities identifiers to be added to the list. Community identifiers must be negative numbers.- Parameters:
value- value of "source ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected NewsfeedSaveListQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<NewsfeedSaveListQuery,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<NewsfeedSaveListQuery,java.lang.Integer>- Returns:
- list of names
-
-