Class FriendsGetMutualQuery

    • Constructor Detail

      • FriendsGetMutualQuery

        public FriendsGetMutualQuery​(VkApiClient client,
                                     UserActor actor)
        Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
        Parameters:
        client - VK API client
        actor - actor with access token
    • Method Detail

      • sourceUid

        public FriendsGetMutualQuery 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 AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • targetUid

        public FriendsGetMutualQuery 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 AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • order

        public FriendsGetMutualQuery order​(java.lang.String value)
        Sort order: 'random' — random order
        Parameters:
        value - value of "order" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • count

        public FriendsGetMutualQuery 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 AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

        public FriendsGetMutualQuery 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 AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • targetUids

        public FriendsGetMutualQuery 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 AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • targetUids

        public FriendsGetMutualQuery 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 AbstractQueryBuilder object to fulfill the "Builder" pattern.