]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9000 Regenerate WS client for api/organizations/search
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 24 Nov 2017 16:42:58 +0000 (17:42 +0100)
committerTeryk Bellahsene <teryk@users.noreply.github.com>
Wed, 29 Nov 2017 16:27:53 +0000 (17:27 +0100)
sonar-ws-generated/src/main/java/org/sonarqube/ws/client/organizations/SearchRequest.java

index 9ad02a2b26202b9c3c2c09d87ffa124c729d4be7..085282e7b193bca9a1fc87bf456f015cc11b30e2 100644 (file)
@@ -33,10 +33,31 @@ import javax.annotation.Generated;
 @Generated("https://github.com/SonarSource/sonar-ws-generator")
 public class SearchRequest {
 
+  private String member;
   private List<String> organizations;
   private String p;
   private String ps;
 
+  /**
+   * Filter organizations based on whether the authenticated user is a member
+   *
+   * Possible values:
+   * <ul>
+   *   <li>"true"</li>
+   *   <li>"false"</li>
+   *   <li>"yes"</li>
+   *   <li>"no"</li>
+   * </ul>
+   */
+  public SearchRequest setMember(String member) {
+    this.member = member;
+    return this;
+  }
+
+  public String getMember() {
+    return member;
+  }
+
   /**
    * Comma-separated list of organization keys
    *
@@ -66,7 +87,7 @@ public class SearchRequest {
   }
 
   /**
-   * Page size. Must be greater than 0.
+   * Page size. Must be greater than 0 and less than 500
    *
    * Example value: "20"
    */