Class PhotosGetAllQuery

    • Constructor Detail

      • PhotosGetAllQuery

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

      • ownerId

        public PhotosGetAllQuery ownerId​(java.lang.Integer value)
        ID of a user or community that owns the photos. Use a negative value to designate a community ID.
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • extended

        public PhotosGetAllQuery extended​(java.lang.Boolean value)
        '1' — to return detailed information about photos
        Parameters:
        value - value of "extended" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

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

        public PhotosGetAllQuery count​(java.lang.Integer value)
        Number of photos to return.
        Parameters:
        value - value of "count" parameter. Maximum is 200. Minimum is 0. By default 20.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoSizes

        public PhotosGetAllQuery photoSizes​(java.lang.Boolean value)
        '1' - to return image sizes in [vk.com/dev/photo_sizes|special format].
        Parameters:
        value - value of "photo sizes" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • noServiceAlbums

        public PhotosGetAllQuery noServiceAlbums​(java.lang.Boolean value)
        '1' - to return photos only from standard albums, '0' - to return all photos including those in service albums, e.g., 'My wall photos' (default)
        Parameters:
        value - value of "no service albums" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • needHidden

        public PhotosGetAllQuery needHidden​(java.lang.Boolean value)
        '1' - to show information about photos being hidden from the block above the wall.
        Parameters:
        value - value of "need hidden" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • skipHidden

        public PhotosGetAllQuery skipHidden​(java.lang.Boolean value)
        '1' - not to return photos being hidden from the block above the wall. Works only with owner_id>0, no_service_albums is ignored.
        Parameters:
        value - value of "skip hidden" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.