Class PhotosPutTagQuery

    • Constructor Detail

      • PhotosPutTagQuery

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

      • ownerId

        public PhotosPutTagQuery 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.
      • photoId

        protected PhotosPutTagQuery 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.
      • userId

        protected PhotosPutTagQuery userId​(int value)
        ID of the user to be tagged.
        Parameters:
        value - value of "user id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • x

        public PhotosPutTagQuery x​(java.lang.Number value)
        Upper left-corner coordinate of the tagged area (as a percentage of the photo's width).
        Parameters:
        value - value of "x" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • y

        public PhotosPutTagQuery y​(java.lang.Number value)
        Upper left-corner coordinate of the tagged area (as a percentage of the photo's height).
        Parameters:
        value - value of "y" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • x2

        public PhotosPutTagQuery x2​(java.lang.Number value)
        Lower right-corner coordinate of the tagged area (as a percentage of the photo's width).
        Parameters:
        value - value of "x2" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • y2

        public PhotosPutTagQuery y2​(java.lang.Number value)
        Lower right-corner coordinate of the tagged area (as a percentage of the photo's height).
        Parameters:
        value - value of "y2" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.