public class OpenShiftCollectionRequest extends BaseCollectionRequest<OpenShiftCollectionResponse,IOpenShiftCollectionPage> implements IOpenShiftCollectionRequest
| Constructor and Description |
|---|
OpenShiftCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of OpenShift
|
| Modifier and Type | Method and Description |
|---|---|
IOpenShiftCollectionPage |
buildFromResponse(OpenShiftCollectionResponse response) |
IOpenShiftCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IOpenShiftCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IOpenShiftCollectionPage |
get() |
void |
get(ICallback<? super IOpenShiftCollectionPage> callback) |
IOpenShiftCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
OpenShift |
post(OpenShift newOpenShift) |
void |
post(OpenShift newOpenShift,
ICallback<? super OpenShift> callback) |
IOpenShiftCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IOpenShiftCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IOpenShiftCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IOpenShiftCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic OpenShiftCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<? super IOpenShiftCollectionPage> callback)
get in interface IOpenShiftCollectionRequestpublic IOpenShiftCollectionPage get() throws ClientException
get in interface IOpenShiftCollectionRequestClientExceptionpublic void post(OpenShift newOpenShift, ICallback<? super OpenShift> callback)
post in interface IOpenShiftCollectionRequestpublic OpenShift post(OpenShift newOpenShift) throws ClientException
post in interface IOpenShiftCollectionRequestClientExceptionpublic IOpenShiftCollectionRequest expand(java.lang.String value)
expand in interface IOpenShiftCollectionRequestvalue - the expand clausepublic IOpenShiftCollectionRequest filter(java.lang.String value)
filter in interface IOpenShiftCollectionRequestvalue - the filter clausepublic IOpenShiftCollectionRequest orderBy(java.lang.String value)
orderBy in interface IOpenShiftCollectionRequestvalue - the order by clausepublic IOpenShiftCollectionRequest select(java.lang.String value)
select in interface IOpenShiftCollectionRequestvalue - the select clausepublic IOpenShiftCollectionRequest top(int value)
top in interface IOpenShiftCollectionRequestvalue - the max number of items to returnpublic IOpenShiftCollectionRequest skip(int value)
skip in interface IOpenShiftCollectionRequestvalue - of the number of items to skippublic IOpenShiftCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IOpenShiftCollectionRequestskipToken - - Token for paginationpublic IOpenShiftCollectionPage buildFromResponse(OpenShiftCollectionResponse response)