You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SearchRequest.java 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2017 SonarSource SA
  4. * mailto:info AT sonarsource DOT com
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 3 of the License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public License
  17. * along with this program; if not, write to the Free Software Foundation,
  18. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20. package org.sonarqube.ws.client.users;
  21. import java.util.List;
  22. import javax.annotation.Generated;
  23. /**
  24. * This is part of the internal API.
  25. * This is a POST request.
  26. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/users/search">Further information about this action online (including a response example)</a>
  27. * @since 3.6
  28. */
  29. @Generated("sonar-ws-generator")
  30. public class SearchRequest {
  31. private List<String> f;
  32. private String p;
  33. private String ps;
  34. private String q;
  35. /**
  36. * Possible values:
  37. * <ul>
  38. * <li>"name"</li>
  39. * <li>"email"</li>
  40. * <li>"avatart"</li>
  41. * <li>"scmAccounts"</li>
  42. * <li>"groups"</li>
  43. * <li>"active"</li>
  44. * <li>"local"</li>
  45. * <li>"externalIdentity"</li>
  46. * <li>"externalProvider"</li>
  47. * </ul>
  48. * @deprecated since 5.4
  49. */
  50. @Deprecated
  51. public SearchRequest setF(List<String> f) {
  52. this.f = f;
  53. return this;
  54. }
  55. public List<String> getF() {
  56. return f;
  57. }
  58. /**
  59. * Example value: "42"
  60. */
  61. public SearchRequest setP(String p) {
  62. this.p = p;
  63. return this;
  64. }
  65. public String getP() {
  66. return p;
  67. }
  68. /**
  69. * Example value: "20"
  70. */
  71. public SearchRequest setPs(String ps) {
  72. this.ps = ps;
  73. return this;
  74. }
  75. public String getPs() {
  76. return ps;
  77. }
  78. /**
  79. */
  80. public SearchRequest setQ(String q) {
  81. this.q = q;
  82. return this;
  83. }
  84. public String getQ() {
  85. return q;
  86. }
  87. }