Class NotesCreateCommentQuery

    • Constructor Detail

      • NotesCreateCommentQuery

        public NotesCreateCommentQuery​(VkApiClient client,
                                       UserActor actor,
                                       int noteId,
                                       java.lang.String message)
        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
        noteId - value of "note id" parameter. Minimum is 0.
        message - value of "message" parameter.
    • Method Detail

      • noteId

        protected NotesCreateCommentQuery noteId​(int value)
        Note ID.
        Parameters:
        value - value of "note id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • ownerId

        public NotesCreateCommentQuery ownerId​(java.lang.Integer value)
        Note owner ID.
        Parameters:
        value - value of "owner id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • replyTo

        public NotesCreateCommentQuery replyTo​(java.lang.Integer value)
        ID of the user to whom the reply is addressed (if the comment is a reply to another comment).
        Parameters:
        value - value of "reply to" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • message

        protected NotesCreateCommentQuery message​(java.lang.String value)
        Comment text.
        Parameters:
        value - value of "message" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • guid

        public NotesCreateCommentQuery guid​(java.lang.String value)
        Set guid
        Parameters:
        value - value of "guid" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.