public class SubscribedSkuCollectionRequest extends BaseCollectionRequest<SubscribedSkuCollectionResponse,ISubscribedSkuCollectionPage> implements ISubscribedSkuCollectionRequest
| Constructor and Description |
|---|
SubscribedSkuCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of SubscribedSku
|
| Modifier and Type | Method and Description |
|---|---|
ISubscribedSkuCollectionPage |
buildFromResponse(SubscribedSkuCollectionResponse response) |
ISubscribedSkuCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ISubscribedSkuCollectionPage |
get() |
void |
get(ICallback<ISubscribedSkuCollectionPage> callback) |
SubscribedSku |
post(SubscribedSku newSubscribedSku) |
void |
post(SubscribedSku newSubscribedSku,
ICallback<SubscribedSku> callback) |
ISubscribedSkuCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ISubscribedSkuCollectionRequest |
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 SubscribedSkuCollectionRequest(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<ISubscribedSkuCollectionPage> callback)
get in interface ISubscribedSkuCollectionRequestpublic ISubscribedSkuCollectionPage get() throws ClientException
get in interface ISubscribedSkuCollectionRequestClientExceptionpublic void post(SubscribedSku newSubscribedSku, ICallback<SubscribedSku> callback)
post in interface ISubscribedSkuCollectionRequestpublic SubscribedSku post(SubscribedSku newSubscribedSku) throws ClientException
post in interface ISubscribedSkuCollectionRequestClientExceptionpublic ISubscribedSkuCollectionRequest expand(java.lang.String value)
expand in interface ISubscribedSkuCollectionRequestvalue - the expand clausepublic ISubscribedSkuCollectionRequest select(java.lang.String value)
select in interface ISubscribedSkuCollectionRequestvalue - the select clausepublic ISubscribedSkuCollectionRequest top(int value)
top in interface ISubscribedSkuCollectionRequestvalue - the max number of items to returnpublic ISubscribedSkuCollectionPage buildFromResponse(SubscribedSkuCollectionResponse response)