aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-10-16 23:06:54 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-10-16 23:16:39 +0200
commitfcdbb222fe151a8b01fbe87402a3c3c5cb4a48b0 (patch)
tree33c5bb34b374ebe37060f4856cec5b6cce5add03 /sonar-ws
parent95829331ba25f1b4bd619b12814723dbe24d1ac1 (diff)
downloadsonarqube-fcdbb222fe151a8b01fbe87402a3c3c5cb4a48b0.tar.gz
sonarqube-fcdbb222fe151a8b01fbe87402a3c3c5cb4a48b0.zip
SONAR-8268 organization in WS api/permissions/delete_template
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/permission/DeleteTemplateWsRequest.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/DeleteTemplateWsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/DeleteTemplateWsRequest.java
index 31b56b3f8b9..f553a171904 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/DeleteTemplateWsRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/DeleteTemplateWsRequest.java
@@ -24,6 +24,7 @@ import javax.annotation.Nullable;
public class DeleteTemplateWsRequest {
private String templateId;
+ private String organization;
private String templateName;
@CheckForNull
@@ -37,6 +38,16 @@ public class DeleteTemplateWsRequest {
}
@CheckForNull
+ public String getOrganization() {
+ return organization;
+ }
+
+ public DeleteTemplateWsRequest setOrganization(@Nullable String s) {
+ this.organization = s;
+ return this;
+ }
+
+ @CheckForNull
public String getTemplateName() {
return templateName;
}