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