public class Windows10MobileCompliancePolicyRequest extends BaseRequest implements IWindows10MobileCompliancePolicyRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
Windows10MobileCompliancePolicyRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the Windows10MobileCompliancePolicy
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<Windows10MobileCompliancePolicy> callback)
Delete this item from the service
|
IWindows10MobileCompliancePolicyRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Windows10MobileCompliancePolicy |
get()
Gets the Windows10MobileCompliancePolicy from the service
|
void |
get(ICallback<Windows10MobileCompliancePolicy> callback)
Gets the Windows10MobileCompliancePolicy from the service
|
Windows10MobileCompliancePolicy |
patch(Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy)
Patches this Windows10MobileCompliancePolicy with a source
|
void |
patch(Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy,
ICallback<Windows10MobileCompliancePolicy> callback)
Patches this Windows10MobileCompliancePolicy with a source
|
Windows10MobileCompliancePolicy |
post(Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy)
Creates a Windows10MobileCompliancePolicy with a new object
|
void |
post(Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy,
ICallback<Windows10MobileCompliancePolicy> callback)
Creates a Windows10MobileCompliancePolicy with a new object
|
IWindows10MobileCompliancePolicyRequest |
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 Windows10MobileCompliancePolicyRequest(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<Windows10MobileCompliancePolicy> callback)
get in interface IWindows10MobileCompliancePolicyRequestcallback - the callback to be called after success or failurepublic Windows10MobileCompliancePolicy get() throws ClientException
get in interface IWindows10MobileCompliancePolicyRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<Windows10MobileCompliancePolicy> callback)
delete in interface IWindows10MobileCompliancePolicyRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IWindows10MobileCompliancePolicyRequestClientException - if there was an exception during the delete operationpublic void patch(Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy, ICallback<Windows10MobileCompliancePolicy> callback)
patch in interface IWindows10MobileCompliancePolicyRequestsourceWindows10MobileCompliancePolicy - the source object with updatescallback - the callback to be called after success or failurepublic Windows10MobileCompliancePolicy patch(Windows10MobileCompliancePolicy sourceWindows10MobileCompliancePolicy) throws ClientException
patch in interface IWindows10MobileCompliancePolicyRequestsourceWindows10MobileCompliancePolicy - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy, ICallback<Windows10MobileCompliancePolicy> callback)
post in interface IWindows10MobileCompliancePolicyRequestnewWindows10MobileCompliancePolicy - the new object to createcallback - the callback to be called after success or failurepublic Windows10MobileCompliancePolicy post(Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy) throws ClientException
post in interface IWindows10MobileCompliancePolicyRequestnewWindows10MobileCompliancePolicy - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IWindows10MobileCompliancePolicyRequest select(java.lang.String value)
select in interface IWindows10MobileCompliancePolicyRequestvalue - the select clausepublic IWindows10MobileCompliancePolicyRequest expand(java.lang.String value)
expand in interface IWindows10MobileCompliancePolicyRequestvalue - the expand clause