Class PhotosRestoreQuery

    • Constructor Detail

      • PhotosRestoreQuery

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

      • ownerId

        public PhotosRestoreQuery 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 PhotosRestoreQuery 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.