diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-10-16 23:08:15 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-10-16 23:16:39 +0200 |
commit | 6ae5a931584b7ddc77fba49c759dfa10a5a17b96 (patch) | |
tree | e1e81d5e6592828073172712d53356565e88ab77 /sonar-ws | |
parent | fba1b6f1a5561676c6a6f6f6cbf2f6385b687489 (diff) | |
download | sonarqube-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.java | 13 |
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; |