Class DocsDeleteQuery

    • Constructor Detail

      • DocsDeleteQuery

        public DocsDeleteQuery​(VkApiClient client,
                               UserActor actor,
                               int ownerId,
                               int docId)
        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.
        docId - value of "doc id" parameter. Minimum is 0.
    • Method Detail

      • ownerId

        protected DocsDeleteQuery ownerId​(int value)
        ID of the user or community that owns the document. 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.
      • docId

        protected DocsDeleteQuery docId​(int value)
        Document ID.
        Parameters:
        value - value of "doc id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.