public class ManagedAppRegistrationRequest extends BaseRequest implements IManagedAppRegistrationRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ManagedAppRegistrationRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ManagedAppRegistration
|
ManagedAppRegistrationRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends ManagedAppRegistration> responseClass)
The request for the ManagedAppRegistration
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<ManagedAppRegistration> callback)
Delete this item from the service
|
IManagedAppRegistrationRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ManagedAppRegistration |
get()
Gets the ManagedAppRegistration from the service
|
void |
get(ICallback<ManagedAppRegistration> callback)
Gets the ManagedAppRegistration from the service
|
ManagedAppRegistration |
patch(ManagedAppRegistration sourceManagedAppRegistration)
Patches this ManagedAppRegistration with a source
|
void |
patch(ManagedAppRegistration sourceManagedAppRegistration,
ICallback<ManagedAppRegistration> callback)
Patches this ManagedAppRegistration with a source
|
ManagedAppRegistration |
post(ManagedAppRegistration newManagedAppRegistration)
Creates a ManagedAppRegistration with a new object
|
void |
post(ManagedAppRegistration newManagedAppRegistration,
ICallback<ManagedAppRegistration> callback)
Creates a ManagedAppRegistration with a new object
|
IManagedAppRegistrationRequest |
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 ManagedAppRegistrationRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends ManagedAppRegistration> responseClass)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestresponseClass - the class of the responsepublic ManagedAppRegistrationRequest(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<ManagedAppRegistration> callback)
get in interface IManagedAppRegistrationRequestcallback - the callback to be called after success or failurepublic ManagedAppRegistration get() throws ClientException
get in interface IManagedAppRegistrationRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<ManagedAppRegistration> callback)
delete in interface IManagedAppRegistrationRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IManagedAppRegistrationRequestClientException - if there was an exception during the delete operationpublic void patch(ManagedAppRegistration sourceManagedAppRegistration, ICallback<ManagedAppRegistration> callback)
patch in interface IManagedAppRegistrationRequestsourceManagedAppRegistration - the source object with updatescallback - the callback to be called after success or failurepublic ManagedAppRegistration patch(ManagedAppRegistration sourceManagedAppRegistration) throws ClientException
patch in interface IManagedAppRegistrationRequestsourceManagedAppRegistration - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(ManagedAppRegistration newManagedAppRegistration, ICallback<ManagedAppRegistration> callback)
post in interface IManagedAppRegistrationRequestnewManagedAppRegistration - the new object to createcallback - the callback to be called after success or failurepublic ManagedAppRegistration post(ManagedAppRegistration newManagedAppRegistration) throws ClientException
post in interface IManagedAppRegistrationRequestnewManagedAppRegistration - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IManagedAppRegistrationRequest select(java.lang.String value)
select in interface IManagedAppRegistrationRequestvalue - the select clausepublic IManagedAppRegistrationRequest expand(java.lang.String value)
expand in interface IManagedAppRegistrationRequestvalue - the expand clause