aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-10-16 23:08:15 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-10-16 23:16:39 +0200
commit6ae5a931584b7ddc77fba49c759dfa10a5a17b96 (patch)
treee1e81d5e6592828073172712d53356565e88ab77 /sonar-ws
parentfba1b6f1a5561676c6a6f6f6cbf2f6385b687489 (diff)
downloadsonarqube-6ae5a931584b7ddc77fba49c759dfa10a5a17b96.tar.gz
sonarqube-6ae5a931584b7ddc77fba49c759dfa10a5a17b96.zip
SONAR-8276 organization in WS api/permissions/remove_project_creator_from_template
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/permission/RemoveProjectCreatorFromTemplateWsRequest.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/RemoveProjectCreatorFromTemplateWsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/RemoveProjectCreatorFromTemplateWsRequest.java
index 7cb87736828..798374831cc 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/RemoveProjectCreatorFromTemplateWsRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/RemoveProjectCreatorFromTemplateWsRequest.java
@@ -26,11 +26,13 @@ import static java.util.Objects.requireNonNull;
public class RemoveProjectCreatorFromTemplateWsRequest {
private final String templateId;
+ private final String organization;
private final String templateName;
private final String permission;
private RemoveProjectCreatorFromTemplateWsRequest(Builder builder) {
this.templateId = builder.templateId;
+ this.organization = builder.organization;
this.templateName = builder.templateName;
this.permission = requireNonNull(builder.permission);
}
@@ -41,6 +43,11 @@ public class RemoveProjectCreatorFromTemplateWsRequest {
}
@CheckForNull
+ public String getOrganization() {
+ return organization;
+ }
+
+ @CheckForNull
public String getTemplateName() {
return templateName;
}
@@ -55,6 +62,7 @@ public class RemoveProjectCreatorFromTemplateWsRequest {
public static class Builder {
private String templateId;
+ private String organization;
private String templateName;
private String permission;
@@ -67,6 +75,11 @@ public class RemoveProjectCreatorFromTemplateWsRequest {
return this;
}
+ public Builder setOrganization(String s) {
+ this.organization = s;
+ return this;
+ }
+
public Builder setTemplateName(String templateName) {
this.templateName = templateName;
return this;