Class FriendsAreFriendsQuery

    • Constructor Detail

      • FriendsAreFriendsQuery

        public FriendsAreFriendsQuery​(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 client
        actor - actor with access token
        userIds - value of "user ids" parameter.
      • FriendsAreFriendsQuery

        public FriendsAreFriendsQuery​(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 client
        actor - actor with access token
        userIds - value of "user ids" parameter.
    • Method Detail

      • needSign

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

        public FriendsAreFriendsQuery extended​(java.lang.Boolean value)
        Return friend request read_state field
        Parameters:
        value - value of "extended" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • userIds

        protected FriendsAreFriendsQuery 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 AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • userIds

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