Class GroupsGetQueryWithObjectExtended

    • Constructor Detail

      • GroupsGetQueryWithObjectExtended

        public GroupsGetQueryWithObjectExtended​(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

      • userId

        public GroupsGetQueryWithObjectExtended userId​(java.lang.Integer value)
        User ID.
        Parameters:
        value - value of "user id" parameter. Minimum is 1.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • extended

        public GroupsGetQueryWithObjectExtended extended​(java.lang.Boolean value)
        '1' — to return complete information about a user's communities, '0' — to return a list of community IDs without any additional fields (default),
        Parameters:
        value - value of "extended" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

        public GroupsGetQueryWithObjectExtended offset​(java.lang.Integer value)
        Offset needed to return a specific subset of communities.
        Parameters:
        value - value of "offset" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • count

        public GroupsGetQueryWithObjectExtended count​(java.lang.Integer value)
        Number of communities to return.
        Parameters:
        value - value of "count" parameter. Maximum is 1000. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • filter

        public GroupsGetQueryWithObjectExtended filter​(Filter... value)
        filter Types of communities to return: 'admin' — to return communities administered by the user , 'editor' — to return communities where the user is an administrator or editor, 'moder' — to return communities where the user is an administrator, editor, or moderator, 'groups' — to return only groups, 'publics' — to return only public pages, 'events' — to return only events
        Parameters:
        value - value of "filter" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • filter

        public GroupsGetQueryWithObjectExtended filter​(java.util.List<Filter> value)
        Types of communities to return: 'admin' — to return communities administered by the user , 'editor' — to return communities where the user is an administrator or editor, 'moder' — to return communities where the user is an administrator, editor, or moderator, 'groups' — to return only groups, 'publics' — to return only public pages, 'events' — to return only events
        Parameters:
        value - value of "filter" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • fields

        public GroupsGetQueryWithObjectExtended fields​(Fields... value)
        fields Profile fields to return.
        Parameters:
        value - value of "fields" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • fields

        public GroupsGetQueryWithObjectExtended fields​(java.util.List<Fields> value)
        Profile fields to return.
        Parameters:
        value - value of "fields" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.