public class OutlookUserRequest extends BaseRequest implements IOutlookUserRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
OutlookUserRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the OutlookUser
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<OutlookUser> callback)
Delete this item from the service
|
IOutlookUserRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OutlookUser |
get()
Gets the OutlookUser from the service
|
void |
get(ICallback<OutlookUser> callback)
Gets the OutlookUser from the service
|
OutlookUser |
patch(OutlookUser sourceOutlookUser)
Patches this OutlookUser with a source
|
void |
patch(OutlookUser sourceOutlookUser,
ICallback<OutlookUser> callback)
Patches this OutlookUser with a source
|
OutlookUser |
post(OutlookUser newOutlookUser)
Creates a OutlookUser with a new object
|
void |
post(OutlookUser newOutlookUser,
ICallback<OutlookUser> callback)
Creates a OutlookUser with a new object
|
IOutlookUserRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic OutlookUserRequest(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<OutlookUser> callback)
get in interface IOutlookUserRequestcallback - the callback to be called after success or failurepublic OutlookUser get() throws ClientException
get in interface IOutlookUserRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<OutlookUser> callback)
delete in interface IOutlookUserRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IOutlookUserRequestClientException - if there was an exception during the delete operationpublic void patch(OutlookUser sourceOutlookUser, ICallback<OutlookUser> callback)
patch in interface IOutlookUserRequestsourceOutlookUser - the source object with updatescallback - the callback to be called after success or failurepublic OutlookUser patch(OutlookUser sourceOutlookUser) throws ClientException
patch in interface IOutlookUserRequestsourceOutlookUser - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(OutlookUser newOutlookUser, ICallback<OutlookUser> callback)
post in interface IOutlookUserRequestnewOutlookUser - the new object to createcallback - the callback to be called after success or failurepublic OutlookUser post(OutlookUser newOutlookUser) throws ClientException
post in interface IOutlookUserRequestnewOutlookUser - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IOutlookUserRequest select(java.lang.String value)
select in interface IOutlookUserRequestvalue - the select clausepublic IOutlookUserRequest expand(java.lang.String value)
expand in interface IOutlookUserRequestvalue - the expand clause