/* * SonarQube * Copyright (C) 2009-2025 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ package org.sonarqube.ws.client.issues; import java.util.List; import jakarta.annotation.Generated; /** * This is part of the internal API. * This is a POST request. * @see Further information about this action online (including a response example) * @since 3.7 */ @Generated("sonar-ws-generator") public class BulkChangeRequest { private String addTags; private List assign; private List comment; private String doTransition; private List issues; private String removeTags; private String sendNotifications; private List setSeverity; private List setType; /** * Example value: "security,java8" */ public BulkChangeRequest setAddTags(String addTags) { this.addTags = addTags; return this; } public String getAddTags() { return addTags; } /** * Example value: "john.smith" */ public BulkChangeRequest setAssign(List assign) { this.assign = assign; return this; } public List getAssign() { return assign; } /** * Example value: "Here is my comment" */ public BulkChangeRequest setComment(List comment) { this.comment = comment; return this; } public List getComment() { return comment; } /** * Example value: "reopen" * Possible values: *
    *
  • "confirm"
  • *
  • "unconfirm"
  • *
  • "reopen"
  • *
  • "resolve"
  • *
  • "falsepositive"
  • *
  • "wontfix"
  • *
  • "close"
  • *
*/ public BulkChangeRequest setDoTransition(String doTransition) { this.doTransition = doTransition; return this; } public String getDoTransition() { return doTransition; } /** * This is a mandatory parameter. * Example value: "AU-Tpxb--iU5OvuD2FLy,AU-TpxcA-iU5OvuD2FLz" */ public BulkChangeRequest setIssues(List issues) { this.issues = issues; return this; } public List getIssues() { return issues; } /** * Example value: "security,java8" */ public BulkChangeRequest setRemoveTags(String removeTags) { this.removeTags = removeTags; return this; } public String getRemoveTags() { return removeTags; } /** * Possible values: *
    *
  • "true"
  • *
  • "false"
  • *
  • "yes"
  • *
  • "no"
  • *
*/ public BulkChangeRequest setSendNotifications(String sendNotifications) { this.sendNotifications = sendNotifications; return this; } public String getSendNotifications() { return sendNotifications; } /** * Example value: "BLOCKER" * Possible values: *
    *
  • "INFO"
  • *
  • "MINOR"
  • *
  • "MAJOR"
  • *
  • "CRITICAL"
  • *
  • "BLOCKER"
  • *
*/ public BulkChangeRequest setSetSeverity(List setSeverity) { this.setSeverity = setSeverity; return this; } public List getSetSeverity() { return setSeverity; } /** * Example value: "BUG" * Possible values: *
    *
  • "CODE_SMELL"
  • *
  • "BUG"
  • *
  • "VULNERABILITY"
  • *
*/ public BulkChangeRequest setSetType(List setType) { this.setType = setType; return this; } public List getSetType() { return setType; } }