Class PhotosMoveQuery

    • Constructor Detail

      • PhotosMoveQuery

        public PhotosMoveQuery​(VkApiClient client,
                               UserActor actor,
                               int targetAlbumId,
                               int photoId)
        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
        targetAlbumId - value of "target album id" parameter.
        photoId - value of "photo id" parameter.
    • Method Detail

      • ownerId

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

        protected PhotosMoveQuery targetAlbumId​(int value)
        ID of the album to which the photo will be moved.
        Parameters:
        value - value of "target album id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoId

        protected PhotosMoveQuery photoId​(int value)
        Photo ID.
        Parameters:
        value - value of "photo id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.