public class ActivityHistoryItemCollectionRequest extends BaseCollectionRequest<ActivityHistoryItemCollectionResponse,IActivityHistoryItemCollectionPage> implements IActivityHistoryItemCollectionRequest
| Constructor and Description |
|---|
ActivityHistoryItemCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of ActivityHistoryItem
|
| Modifier and Type | Method and Description |
|---|---|
IActivityHistoryItemCollectionPage |
buildFromResponse(ActivityHistoryItemCollectionResponse response) |
IActivityHistoryItemCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IActivityHistoryItemCollectionPage |
get() |
void |
get(ICallback<IActivityHistoryItemCollectionPage> callback) |
ActivityHistoryItem |
post(ActivityHistoryItem newActivityHistoryItem) |
void |
post(ActivityHistoryItem newActivityHistoryItem,
ICallback<ActivityHistoryItem> callback) |
IActivityHistoryItemCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IActivityHistoryItemCollectionRequest |
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 ActivityHistoryItemCollectionRequest(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<IActivityHistoryItemCollectionPage> callback)
get in interface IActivityHistoryItemCollectionRequestpublic IActivityHistoryItemCollectionPage get() throws ClientException
get in interface IActivityHistoryItemCollectionRequestClientExceptionpublic void post(ActivityHistoryItem newActivityHistoryItem, ICallback<ActivityHistoryItem> callback)
post in interface IActivityHistoryItemCollectionRequestpublic ActivityHistoryItem post(ActivityHistoryItem newActivityHistoryItem) throws ClientException
post in interface IActivityHistoryItemCollectionRequestClientExceptionpublic IActivityHistoryItemCollectionRequest expand(java.lang.String value)
expand in interface IActivityHistoryItemCollectionRequestvalue - the expand clausepublic IActivityHistoryItemCollectionRequest select(java.lang.String value)
select in interface IActivityHistoryItemCollectionRequestvalue - the select clausepublic IActivityHistoryItemCollectionRequest top(int value)
top in interface IActivityHistoryItemCollectionRequestvalue - the max number of items to returnpublic IActivityHistoryItemCollectionPage buildFromResponse(ActivityHistoryItemCollectionResponse response)