public class TelecomExpenseManagementPartnerCollectionRequest extends BaseCollectionRequest<TelecomExpenseManagementPartnerCollectionResponse,ITelecomExpenseManagementPartnerCollectionPage> implements ITelecomExpenseManagementPartnerCollectionRequest
| Constructor and Description |
|---|
TelecomExpenseManagementPartnerCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of TelecomExpenseManagementPartner
|
| Modifier and Type | Method and Description |
|---|---|
ITelecomExpenseManagementPartnerCollectionPage |
buildFromResponse(TelecomExpenseManagementPartnerCollectionResponse response) |
ITelecomExpenseManagementPartnerCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ITelecomExpenseManagementPartnerCollectionPage |
get() |
void |
get(ICallback<ITelecomExpenseManagementPartnerCollectionPage> callback) |
TelecomExpenseManagementPartner |
post(TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) |
void |
post(TelecomExpenseManagementPartner newTelecomExpenseManagementPartner,
ICallback<TelecomExpenseManagementPartner> callback) |
ITelecomExpenseManagementPartnerCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ITelecomExpenseManagementPartnerCollectionRequest |
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 TelecomExpenseManagementPartnerCollectionRequest(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<ITelecomExpenseManagementPartnerCollectionPage> callback)
get in interface ITelecomExpenseManagementPartnerCollectionRequestpublic ITelecomExpenseManagementPartnerCollectionPage get() throws ClientException
get in interface ITelecomExpenseManagementPartnerCollectionRequestClientExceptionpublic void post(TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, ICallback<TelecomExpenseManagementPartner> callback)
post in interface ITelecomExpenseManagementPartnerCollectionRequestpublic TelecomExpenseManagementPartner post(TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException
post in interface ITelecomExpenseManagementPartnerCollectionRequestClientExceptionpublic ITelecomExpenseManagementPartnerCollectionRequest expand(java.lang.String value)
expand in interface ITelecomExpenseManagementPartnerCollectionRequestvalue - the expand clausepublic ITelecomExpenseManagementPartnerCollectionRequest select(java.lang.String value)
select in interface ITelecomExpenseManagementPartnerCollectionRequestvalue - the select clausepublic ITelecomExpenseManagementPartnerCollectionRequest top(int value)
top in interface ITelecomExpenseManagementPartnerCollectionRequestvalue - the max number of items to returnpublic ITelecomExpenseManagementPartnerCollectionPage buildFromResponse(TelecomExpenseManagementPartnerCollectionResponse response)