Class PhotosGetQueryWithExtended

    • Constructor Detail

      • PhotosGetQueryWithExtended

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

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

      • ownerId

        public PhotosGetQueryWithExtended ownerId​(java.lang.Integer value)
        ID of the 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.
      • albumId

        public PhotosGetQueryWithExtended albumId​(java.lang.String value)
        Photo album ID. To return information about photos from service albums, use the following string values: 'profile, wall, saved'.
        Parameters:
        value - value of "album id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • rev

        public PhotosGetQueryWithExtended rev​(java.lang.Boolean value)
        Sort order: '1' — reverse chronological, '0' — chronological
        Parameters:
        value - value of "rev" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • extended

        protected PhotosGetQueryWithExtended extended​(java.lang.Boolean value)
        '1' — to return additional 'likes', 'comments', and 'tags' fields, '0' — (default)
        Parameters:
        value - value of "extended" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • feedType

        public PhotosGetQueryWithExtended feedType​(java.lang.String value)
        Type of feed obtained in 'feed' field of the method.
        Parameters:
        value - value of "feed type" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • feed

        public PhotosGetQueryWithExtended feed​(java.lang.Integer value)
        Unixtime, that can be obtained with [vk.com/dev/newsfeed.get|newsfeed.get] method in date field to get all photos uploaded by the user on a specific day, or photos the user has been tagged on. Also, 'uid' parameter of the user the event happened with shall be specified.
        Parameters:
        value - value of "feed" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoSizes

        public PhotosGetQueryWithExtended photoSizes​(java.lang.Boolean value)
        '1' — to return photo sizes in a [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.
      • offset

        public PhotosGetQueryWithExtended offset​(java.lang.Integer value)
        Set offset
        Parameters:
        value - value of "offset" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • count

        public PhotosGetQueryWithExtended count​(java.lang.Integer value)
        Set count
        Parameters:
        value - value of "count" parameter. Maximum is 1000. Minimum is 0. By default 50.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoIds

        public PhotosGetQueryWithExtended photoIds​(java.lang.String... value)
        photo_ids Photo IDs.
        Parameters:
        value - value of "photo ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoIds

        public PhotosGetQueryWithExtended photoIds​(java.util.List<java.lang.String> value)
        Photo IDs.
        Parameters:
        value - value of "photo ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.