public class LicenseDetailsCollectionRequest extends BaseCollectionRequest<LicenseDetailsCollectionResponse,ILicenseDetailsCollectionPage> implements ILicenseDetailsCollectionRequest
| Constructor and Description |
|---|
LicenseDetailsCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of LicenseDetails
|
| Modifier and Type | Method and Description |
|---|---|
ILicenseDetailsCollectionPage |
buildFromResponse(LicenseDetailsCollectionResponse response) |
ILicenseDetailsCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ILicenseDetailsCollectionPage |
get() |
void |
get(ICallback<ILicenseDetailsCollectionPage> callback) |
LicenseDetails |
post(LicenseDetails newLicenseDetails) |
void |
post(LicenseDetails newLicenseDetails,
ICallback<LicenseDetails> callback) |
ILicenseDetailsCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ILicenseDetailsCollectionRequest |
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 LicenseDetailsCollectionRequest(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<ILicenseDetailsCollectionPage> callback)
get in interface ILicenseDetailsCollectionRequestpublic ILicenseDetailsCollectionPage get() throws ClientException
get in interface ILicenseDetailsCollectionRequestClientExceptionpublic void post(LicenseDetails newLicenseDetails, ICallback<LicenseDetails> callback)
post in interface ILicenseDetailsCollectionRequestpublic LicenseDetails post(LicenseDetails newLicenseDetails) throws ClientException
post in interface ILicenseDetailsCollectionRequestClientExceptionpublic ILicenseDetailsCollectionRequest expand(java.lang.String value)
expand in interface ILicenseDetailsCollectionRequestvalue - the expand clausepublic ILicenseDetailsCollectionRequest select(java.lang.String value)
select in interface ILicenseDetailsCollectionRequestvalue - the select clausepublic ILicenseDetailsCollectionRequest top(int value)
top in interface ILicenseDetailsCollectionRequestvalue - the max number of items to returnpublic ILicenseDetailsCollectionPage buildFromResponse(LicenseDetailsCollectionResponse response)