Class SearchRequest

java.lang.Object
org.sonarqube.ws.client.measures.SearchRequest

@Generated("sonar-ws-generator") public class SearchRequest extends Object
This is part of the internal API. This is a POST request.
Since:
6.2
See Also:
  • Constructor Details

    • SearchRequest

      public SearchRequest()
  • Method Details

    • setMetricKeys

      public SearchRequest setMetricKeys(List<String> metricKeys)
      This is a mandatory parameter. Example value: "ncloc,complexity,violations"
    • getMetricKeys

      public List<String> getMetricKeys()
    • setProjectKeys

      public SearchRequest setProjectKeys(List<String> projectKeys)
      This is a mandatory parameter. Example value: "my_project,another_project"
    • getProjectKeys

      public List<String> getProjectKeys()