Class DocsEditQuery

    • Constructor Detail

      • DocsEditQuery

        public DocsEditQuery​(VkApiClient client,
                             UserActor actor,
                             int ownerId,
                             int docId,
                             java.lang.String title)
        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.
        title - value of "title" parameter.
    • Method Detail

      • ownerId

        protected DocsEditQuery ownerId​(int value)
        User ID or community ID. 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 DocsEditQuery 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.
      • title

        protected DocsEditQuery title​(java.lang.String value)
        Document title.
        Parameters:
        value - value of "title" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • tags

        public DocsEditQuery tags​(java.lang.String... value)
        tags Document tags.
        Parameters:
        value - value of "tags" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • tags

        public DocsEditQuery tags​(java.util.List<java.lang.String> value)
        Document tags.
        Parameters:
        value - value of "tags" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.