org.sonarqube.ws.client.components.SearchProjectsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-ws Show documentation
Show all versions of sonar-ws Show documentation
Open source platform for continuous inspection of code quality
The newest version!
/*
* SonarQube
* Copyright (C) 2009-2024 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
package org.sonarqube.ws.client.components;
import java.util.List;
import javax.annotation.Generated;
/**
* This is part of the internal API.
* This is a POST request.
* @see Further information about this action online (including a response example)
* @since 6.2
*/
@Generated("sonar-ws-generator")
public class SearchProjectsRequest {
private String asc;
private List f;
private List facets;
private String filter;
private String p;
private String ps;
private String s;
/**
* Possible values:
*
* - "true"
* - "false"
* - "yes"
* - "no"
*
*/
public SearchProjectsRequest setAsc(String asc) {
this.asc = asc;
return this;
}
public String getAsc() {
return asc;
}
/**
* Possible values:
*
* - "analysisDate"
* - "leakPeriodDate"
*
*/
public SearchProjectsRequest setF(List f) {
this.f = f;
return this;
}
public List getF() {
return f;
}
/**
* Possible values:
*
* - "alert_status"
* - "coverage"
* - "duplicated_lines_density"
* - "languages"
* - "ncloc"
* - "new_coverage"
* - "new_duplicated_lines_density"
* - "new_lines"
* - "new_maintainability_rating"
* - "new_reliability_rating"
* - "new_security_rating"
* - "reliability_rating"
* - "security_rating"
* - "sqale_rating"
* - "tags"
*
*/
public SearchProjectsRequest setFacets(List facets) {
this.facets = facets;
return this;
}
public List getFacets() {
return facets;
}
/**
*/
public SearchProjectsRequest setFilter(String filter) {
this.filter = filter;
return this;
}
public String getFilter() {
return filter;
}
/**
* Example value: "42"
*/
public SearchProjectsRequest setP(String p) {
this.p = p;
return this;
}
public String getP() {
return p;
}
/**
* Example value: "20"
*/
public SearchProjectsRequest setPs(String ps) {
this.ps = ps;
return this;
}
public String getPs() {
return ps;
}
/**
* Possible values:
*
* - "alert_status"
* - "analysisDate"
* - "coverage"
* - "duplicated_lines_density"
* - "lines"
* - "name"
* - "ncloc"
* - "ncloc_language_distribution"
* - "new_coverage"
* - "new_duplicated_lines_density"
* - "new_lines"
* - "new_maintainability_rating"
* - "new_reliability_rating"
* - "new_security_rating"
* - "reliability_rating"
* - "security_rating"
* - "sqale_rating"
*
*/
public SearchProjectsRequest setS(String s) {
this.s = s;
return this;
}
public String getS() {
return s;
}
}