aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src/main/java')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/views/ManualMeasureRequest.java71
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java17
2 files changed, 0 insertions, 88 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ManualMeasureRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ManualMeasureRequest.java
deleted file mode 100644
index 2e9924ef403..00000000000
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ManualMeasureRequest.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * 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.views;
-
-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/views/manual_measure">Further information about this action online (including a response example)</a>
- * @since 1.0
- */
-@Generated("sonar-ws-generator")
-public class ManualMeasureRequest {
-
- private String key;
- private String measure;
- private String value;
-
- /**
- * This is a mandatory parameter.
- */
- public ManualMeasureRequest setKey(String key) {
- this.key = key;
- return this;
- }
-
- public String getKey() {
- return key;
- }
-
- /**
- * This is a mandatory parameter.
- */
- public ManualMeasureRequest setMeasure(String measure) {
- this.measure = measure;
- return this;
- }
-
- public String getMeasure() {
- return measure;
- }
-
- /**
- */
- public ManualMeasureRequest setValue(String value) {
- this.value = value;
- return this;
- }
-
- public String getValue() {
- return value;
- }
-}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java
index dd9c49a294b..52ba65115e0 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java
@@ -197,23 +197,6 @@ public class ViewsService extends BaseService {
*
* This is part of the internal API.
* This is a POST request.
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/views/manual_measure">Further information about this action online (including a response example)</a>
- * @since 1.0
- */
- public void manualMeasure(ManualMeasureRequest request) {
- call(
- new PostRequest(path("manual_measure"))
- .setParam("key", request.getKey())
- .setParam("measure", request.getMeasure())
- .setParam("value", request.getValue())
- .setMediaType(MediaTypes.JSON)
- ).content();
- }
-
- /**
- *
- * This is part of the internal API.
- * This is a POST request.
* @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/views/mode">Further information about this action online (including a response example)</a>
* @since 2.6
* @deprecated since 7.4