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