Class PhotosCopyQuery

    • Constructor Detail

      • PhotosCopyQuery

        public PhotosCopyQuery​(VkApiClient client,
                               UserActor actor,
                               int ownerId,
                               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
        ownerId - value of "owner id" parameter.
        photoId - value of "photo id" parameter. Minimum is 0.
    • Method Detail

      • ownerId

        protected PhotosCopyQuery ownerId​(int value)
        Photo's owner ID
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoId

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

        public PhotosCopyQuery accessKey​(java.lang.String value)
        For private photos
        Parameters:
        value - value of "access key" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.