public abstract static class Projects.QueryRequest extends Object
query()
.Projects.query()
Constructor and Description |
---|
QueryRequest() |
Modifier and Type | Method and Description |
---|---|
abstract List<ProjectInfo> |
get()
Execute query and returns the matched projects as list.
|
int |
getLimit() |
String |
getQuery() |
int |
getStart() |
Projects.QueryRequest |
withLimit(int limit)
Set limit for returned list of projects.
|
Projects.QueryRequest |
withQuery(String query)
Set query.
|
Projects.QueryRequest |
withStart(int start)
Set number of projects to skip.
|
public abstract List<ProjectInfo> get() throws RestApiException
RestApiException
public Projects.QueryRequest withQuery(String query)
query
- needs to be in human-readable form.public Projects.QueryRequest withLimit(int limit)
public Projects.QueryRequest withStart(int start)
public String getQuery()
public int getLimit()
public int getStart()