Class AppsGetQuery

    • Constructor Detail

      • AppsGetQuery

        public AppsGetQuery​(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
      • AppsGetQuery

        public AppsGetQuery​(VkApiClient client,
                            ServiceActor 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

      • appId

        public AppsGetQuery appId​(java.lang.Integer value)
        Application ID
        Parameters:
        value - value of "app id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • platform

        public AppsGetQuery platform​(GetPlatform value)
        Platform. Possible values: *'ios' — iOS,, *'android' — Android,, *'winphone' — Windows Phone,, *'web' — приложения на vk.com. By default: 'web'.
        Parameters:
        value - value of "platform" parameter. By default web.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • extended

        public AppsGetQuery extended​(java.lang.Boolean value)
        Set extended
        Parameters:
        value - value of "extended" parameter. By default 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • returnFriends

        public AppsGetQuery returnFriends​(java.lang.Boolean value)
        Set return friends
        Parameters:
        value - value of "return friends" parameter. By default 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • nameCase

        public AppsGetQuery nameCase​(GetNameCase value)
        Case for declension of user name and surname: 'nom' — nominative (default),, 'gen' — genitive,, 'dat' — dative,, 'acc' — accusative,, 'ins' — instrumental,, 'abl' — prepositional. (only if 'return_friends' = '1')
        Parameters:
        value - value of "name case" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • appIds

        public AppsGetQuery appIds​(java.lang.String... value)
        app_ids List of application ID
        Parameters:
        value - value of "app ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • appIds

        public AppsGetQuery appIds​(java.util.List<java.lang.String> value)
        List of application ID
        Parameters:
        value - value of "app ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • fields

        public AppsGetQuery fields​(Fields... value)
        fields Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity', 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities', (only if return_friends - 1)
        Parameters:
        value - value of "fields" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • fields

        public AppsGetQuery fields​(java.util.List<Fields> value)
        Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity', 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities', (only if return_friends - 1)
        Parameters:
        value - value of "fields" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.