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