Class ReviewInput


  • public class ReviewInput
    extends Object
    Input passed to POST /changes/[id]/revisions/[id]/review.
    • Field Detail

      • message

        public String message
      • drafts

        public ReviewInput.DraftHandling drafts
        How to process draft comments already in the database that were not also described in this input request.

        Defaults to DELETE, unless onBehalfOf is set, in which case it defaults to KEEP and any other value is disallowed.

      • notify

        public NotifyHandling notify
        Who to send email notifications to after review is stored.
      • omitDuplicateComments

        public boolean omitDuplicateComments
        If true check to make sure that the comments being posted aren't already present.
      • onBehalfOf

        public String onBehalfOf
        Account ID, name, email address or username of another user. The review will be posted/updated on behalf of this named user instead of the caller. Caller must have the labelAs-$NAME permission granted for each label that appears in labels. This is in addition to the named user also needing to have permission to use the labels.
      • workInProgress

        public boolean workInProgress
        If true mark the change as work in progress. It is an error for both workInProgress and ready to be true.
      • ready

        public boolean ready
        If true mark the change as ready for review. It is an error for both workInProgress and ready to be true.
    • Constructor Detail

      • ReviewInput

        public ReviewInput()