12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- /*
- * SonarQube
- * Copyright (C) 2009-2021 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.projects;
-
- import javax.annotation.Generated;
-
- /**
- * This is part of the internal API.
- * This is a POST request.
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/projects/bulk_update_key">Further information about this action online (including a response example)</a>
- * @since 6.1
- */
- @Generated("sonar-ws-generator")
- public class BulkUpdateKeyRequest {
-
- private String dryRun;
- private String from;
- private String project;
- private String to;
-
- /**
- * Possible values:
- * <ul>
- * <li>"true"</li>
- * <li>"false"</li>
- * <li>"yes"</li>
- * <li>"no"</li>
- * </ul>
- */
- public BulkUpdateKeyRequest setDryRun(String dryRun) {
- this.dryRun = dryRun;
- return this;
- }
-
- public String getDryRun() {
- return dryRun;
- }
-
- /**
- * This is a mandatory parameter.
- * Example value: "_old"
- */
- public BulkUpdateKeyRequest setFrom(String from) {
- this.from = from;
- return this;
- }
-
- public String getFrom() {
- return from;
- }
-
- /**
- * This is a mandatory parameter.
- * Example value: "my_old_project"
- */
- public BulkUpdateKeyRequest setProject(String project) {
- this.project = project;
- return this;
- }
-
- public String getProject() {
- return project;
- }
-
- /**
- * This is a mandatory parameter.
- * Example value: "_new"
- */
- public BulkUpdateKeyRequest setTo(String to) {
- this.to = to;
- return this;
- }
-
- public String getTo() {
- return to;
- }
- }
|