public class VppTokenCollectionRequest extends BaseCollectionRequest<VppTokenCollectionResponse,IVppTokenCollectionPage> implements IVppTokenCollectionRequest
| Constructor and Description |
|---|
VppTokenCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of VppToken
|
| Modifier and Type | Method and Description |
|---|---|
IVppTokenCollectionPage |
buildFromResponse(VppTokenCollectionResponse response) |
IVppTokenCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IVppTokenCollectionPage |
get() |
void |
get(ICallback<IVppTokenCollectionPage> callback) |
VppToken |
post(VppToken newVppToken) |
void |
post(VppToken newVppToken,
ICallback<VppToken> callback) |
IVppTokenCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IVppTokenCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic VppTokenCollectionRequest(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<IVppTokenCollectionPage> callback)
get in interface IVppTokenCollectionRequestpublic IVppTokenCollectionPage get() throws ClientException
get in interface IVppTokenCollectionRequestClientExceptionpublic void post(VppToken newVppToken, ICallback<VppToken> callback)
post in interface IVppTokenCollectionRequestpublic VppToken post(VppToken newVppToken) throws ClientException
post in interface IVppTokenCollectionRequestClientExceptionpublic IVppTokenCollectionRequest expand(java.lang.String value)
expand in interface IVppTokenCollectionRequestvalue - the expand clausepublic IVppTokenCollectionRequest select(java.lang.String value)
select in interface IVppTokenCollectionRequestvalue - the select clausepublic IVppTokenCollectionRequest top(int value)
top in interface IVppTokenCollectionRequestvalue - the max number of items to returnpublic IVppTokenCollectionPage buildFromResponse(VppTokenCollectionResponse response)