public class OutlookCategoryCollectionRequest extends BaseCollectionRequest<OutlookCategoryCollectionResponse,IOutlookCategoryCollectionPage> implements IOutlookCategoryCollectionRequest
| Constructor and Description |
|---|
OutlookCategoryCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of OutlookCategory
|
| Modifier and Type | Method and Description |
|---|---|
IOutlookCategoryCollectionPage |
buildFromResponse(OutlookCategoryCollectionResponse response) |
IOutlookCategoryCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IOutlookCategoryCollectionPage |
get() |
void |
get(ICallback<IOutlookCategoryCollectionPage> callback) |
OutlookCategory |
post(OutlookCategory newOutlookCategory) |
void |
post(OutlookCategory newOutlookCategory,
ICallback<OutlookCategory> callback) |
IOutlookCategoryCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IOutlookCategoryCollectionRequest |
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 OutlookCategoryCollectionRequest(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<IOutlookCategoryCollectionPage> callback)
get in interface IOutlookCategoryCollectionRequestpublic IOutlookCategoryCollectionPage get() throws ClientException
get in interface IOutlookCategoryCollectionRequestClientExceptionpublic void post(OutlookCategory newOutlookCategory, ICallback<OutlookCategory> callback)
post in interface IOutlookCategoryCollectionRequestpublic OutlookCategory post(OutlookCategory newOutlookCategory) throws ClientException
post in interface IOutlookCategoryCollectionRequestClientExceptionpublic IOutlookCategoryCollectionRequest expand(java.lang.String value)
expand in interface IOutlookCategoryCollectionRequestvalue - the expand clausepublic IOutlookCategoryCollectionRequest select(java.lang.String value)
select in interface IOutlookCategoryCollectionRequestvalue - the select clausepublic IOutlookCategoryCollectionRequest top(int value)
top in interface IOutlookCategoryCollectionRequestvalue - the max number of items to returnpublic IOutlookCategoryCollectionPage buildFromResponse(OutlookCategoryCollectionResponse response)