Package com.vk.api.sdk.queries.friends
Class FriendsGetMutualQueryWithTargetUids
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<FriendsGetMutualQueryWithTargetUids,java.util.List<GetMutualTargetUidsResponse>>
-
- com.vk.api.sdk.queries.friends.FriendsGetMutualQueryWithTargetUids
-
public class FriendsGetMutualQueryWithTargetUids extends AbstractQueryBuilder<FriendsGetMutualQueryWithTargetUids,java.util.List<GetMutualTargetUidsResponse>>
Query for Friends.getMutual method
-
-
Constructor Summary
Constructors Constructor Description FriendsGetMutualQueryWithTargetUids(VkApiClient client, UserActor actor, java.lang.Integer... targetUids)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersFriendsGetMutualQueryWithTargetUids(VkApiClient client, UserActor actor, java.util.List<java.lang.Integer> targetUids)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 FriendsGetMutualQueryWithTargetUidscount(java.lang.Integer value)Number of mutual friends to return.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected FriendsGetMutualQueryWithTargetUidsgetThis()Get reference to this objectFriendsGetMutualQueryWithTargetUidsoffset(java.lang.Integer value)Offset needed to return a specific subset of mutual friends.FriendsGetMutualQueryWithTargetUidsorder(java.lang.String value)Sort order: 'random' — random orderFriendsGetMutualQueryWithTargetUidssourceUid(java.lang.Integer value)ID of the user whose friends will be checked against the friends of the user specified in 'target_uid'.FriendsGetMutualQueryWithTargetUidstargetUid(java.lang.Integer value)ID of the user whose friends will be checked against the friends of the user specified in 'source_uid'.protected FriendsGetMutualQueryWithTargetUidstargetUids(java.lang.Integer... value)target_uids IDs of the users whose friends will be checked against the friends of the user specified in 'source_uid'.protected FriendsGetMutualQueryWithTargetUidstargetUids(java.util.List<java.lang.Integer> value)IDs of the users whose friends will be checked against the friends of the user specified in 'source_uid'.-
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
-
FriendsGetMutualQueryWithTargetUids
public FriendsGetMutualQueryWithTargetUids(VkApiClient client, UserActor actor, java.lang.Integer... targetUids)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access token
-
FriendsGetMutualQueryWithTargetUids
public FriendsGetMutualQueryWithTargetUids(VkApiClient client, UserActor actor, java.util.List<java.lang.Integer> targetUids)
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
-
sourceUid
public FriendsGetMutualQueryWithTargetUids sourceUid(java.lang.Integer value)
ID of the user whose friends will be checked against the friends of the user specified in 'target_uid'.- Parameters:
value- value of "source uid" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
targetUid
public FriendsGetMutualQueryWithTargetUids targetUid(java.lang.Integer value)
ID of the user whose friends will be checked against the friends of the user specified in 'source_uid'.- Parameters:
value- value of "target uid" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
order
public FriendsGetMutualQueryWithTargetUids order(java.lang.String value)
Sort order: 'random' — random order- Parameters:
value- value of "order" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
count
public FriendsGetMutualQueryWithTargetUids count(java.lang.Integer value)
Number of mutual friends to return.- Parameters:
value- value of "count" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
offset
public FriendsGetMutualQueryWithTargetUids offset(java.lang.Integer value)
Offset needed to return a specific subset of mutual friends.- Parameters:
value- value of "offset" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
targetUids
protected FriendsGetMutualQueryWithTargetUids targetUids(java.lang.Integer... value)
target_uids IDs of the users whose friends will be checked against the friends of the user specified in 'source_uid'.- Parameters:
value- value of "target uids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
targetUids
protected FriendsGetMutualQueryWithTargetUids targetUids(java.util.List<java.lang.Integer> value)
IDs of the users whose friends will be checked against the friends of the user specified in 'source_uid'.- Parameters:
value- value of "target uids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected FriendsGetMutualQueryWithTargetUids getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<FriendsGetMutualQueryWithTargetUids,java.util.List<GetMutualTargetUidsResponse>>- 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<FriendsGetMutualQueryWithTargetUids,java.util.List<GetMutualTargetUidsResponse>>- Returns:
- list of names
-
-