Package com.vk.api.sdk.queries.friends
Class FriendsAreFriendsQueryWithExtended
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<FriendsAreFriendsQueryWithExtended,java.util.List<AreFriendsExtendedResponse>>
-
- com.vk.api.sdk.queries.friends.FriendsAreFriendsQueryWithExtended
-
public class FriendsAreFriendsQueryWithExtended extends AbstractQueryBuilder<FriendsAreFriendsQueryWithExtended,java.util.List<AreFriendsExtendedResponse>>
Query for Friends.areFriends method
-
-
Constructor Summary
Constructors Constructor Description FriendsAreFriendsQueryWithExtended(VkApiClient client, UserActor actor, java.lang.Integer... userIds)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersFriendsAreFriendsQueryWithExtended(VkApiClient client, UserActor actor, java.util.List<java.lang.Integer> userIds)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 FriendsAreFriendsQueryWithExtendedextended(java.lang.Boolean value)Return friend request read_state fieldprotected FriendsAreFriendsQueryWithExtendedgetThis()Get reference to this objectFriendsAreFriendsQueryWithExtendedneedSign(java.lang.Boolean value)'1' — to return 'sign' field.protected FriendsAreFriendsQueryWithExtendeduserIds(java.lang.Integer... value)user_ids IDs of the users whose friendship status to check.protected FriendsAreFriendsQueryWithExtendeduserIds(java.util.List<java.lang.Integer> value)IDs of the users whose friendship status to check.-
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
-
FriendsAreFriendsQueryWithExtended
public FriendsAreFriendsQueryWithExtended(VkApiClient client, UserActor actor, java.lang.Integer... userIds)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenuserIds- value of "user ids" parameter.
-
FriendsAreFriendsQueryWithExtended
public FriendsAreFriendsQueryWithExtended(VkApiClient client, UserActor actor, java.util.List<java.lang.Integer> userIds)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenuserIds- value of "user ids" parameter.
-
-
Method Detail
-
needSign
public FriendsAreFriendsQueryWithExtended needSign(java.lang.Boolean value)
'1' — to return 'sign' field. 'sign' is md5("{id}_{user_id}_{friends_status}_{application_secret}"), where id is current user ID. This field allows to check that data has not been modified by the client. By default: '0'.- Parameters:
value- value of "need sign" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
extended
protected FriendsAreFriendsQueryWithExtended extended(java.lang.Boolean value)
Return friend request read_state field- Parameters:
value- value of "extended" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
userIds
protected FriendsAreFriendsQueryWithExtended userIds(java.lang.Integer... value)
user_ids IDs of the users whose friendship status to check.- Parameters:
value- value of "user ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
userIds
protected FriendsAreFriendsQueryWithExtended userIds(java.util.List<java.lang.Integer> value)
IDs of the users whose friendship status to check.- Parameters:
value- value of "user ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected FriendsAreFriendsQueryWithExtended getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<FriendsAreFriendsQueryWithExtended,java.util.List<AreFriendsExtendedResponse>>- 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<FriendsAreFriendsQueryWithExtended,java.util.List<AreFriendsExtendedResponse>>- Returns:
- list of names
-
-