Class FriendsEditQuery

    • Constructor Detail

      • FriendsEditQuery

        public FriendsEditQuery​(VkApiClient client,
                                UserActor actor,
                                int userId)
        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
        userId - value of "user id" parameter. Minimum is 1.
    • Method Detail

      • userId

        protected FriendsEditQuery userId​(int value)
        ID of the user whose friend list is to be edited.
        Parameters:
        value - value of "user id" parameter. Minimum is 1.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • listIds

        public FriendsEditQuery listIds​(java.lang.Integer... value)
        list_ids IDs of the friend lists to which to add the user.
        Parameters:
        value - value of "list ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • listIds

        public FriendsEditQuery listIds​(java.util.List<java.lang.Integer> value)
        IDs of the friend lists to which to add the user.
        Parameters:
        value - value of "list ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.