Class ReviewerGroupUpdateRequest

java.lang.Object
com.atlassian.bitbucket.pull.reviewer.ReviewerGroupUpdateRequest

public class ReviewerGroupUpdateRequest extends Object
Since:
7.13 Request object used for updating a reviewer group.
  • Method Details

    • getDescription

      @Nullable public String getDescription()
      Returns:
      the new description of a reviewer group. Passing an empty string ("") will set the reviewer group description to be null. If the description in this object is null then the reviewer group description will not be updated.
    • getId

      public long getId()
      Returns:
      the id of the reviewer group
    • getName

      @Nonnull public String getName()
      Returns:
      the new name of a reviewer group
    • getUsers

      @Nonnull public Set<ApplicationUser> getUsers()
      Returns:
      a new set of reviewers that would replace the existing set. Since reviewer groups must contain at least one reviewer, an empty set would indicate that no changes are made to the existing set of reviewers.