public interface IOAuth2PermissionGrantRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super OAuth2PermissionGrant> callback)
Delete this item from the service
|
IOAuth2PermissionGrantRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OAuth2PermissionGrant |
get()
Gets the OAuth2PermissionGrant from the service
|
void |
get(ICallback<? super OAuth2PermissionGrant> callback)
Gets the OAuth2PermissionGrant from the service
|
OAuth2PermissionGrant |
patch(OAuth2PermissionGrant sourceOAuth2PermissionGrant)
Patches this OAuth2PermissionGrant with a source
|
void |
patch(OAuth2PermissionGrant sourceOAuth2PermissionGrant,
ICallback<? super OAuth2PermissionGrant> callback)
Patches this OAuth2PermissionGrant with a source
|
OAuth2PermissionGrant |
post(OAuth2PermissionGrant newOAuth2PermissionGrant)
Posts a OAuth2PermissionGrant with a new object
|
void |
post(OAuth2PermissionGrant newOAuth2PermissionGrant,
ICallback<? super OAuth2PermissionGrant> callback)
Posts a OAuth2PermissionGrant with a new object
|
OAuth2PermissionGrant |
put(OAuth2PermissionGrant newOAuth2PermissionGrant)
Posts a OAuth2PermissionGrant with a new object
|
void |
put(OAuth2PermissionGrant newOAuth2PermissionGrant,
ICallback<? super OAuth2PermissionGrant> callback)
Posts a OAuth2PermissionGrant with a new object
|
IOAuth2PermissionGrantRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super OAuth2PermissionGrant> callback)
callback - the callback to be called after success or failureOAuth2PermissionGrant get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super OAuth2PermissionGrant> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(OAuth2PermissionGrant sourceOAuth2PermissionGrant, ICallback<? super OAuth2PermissionGrant> callback)
sourceOAuth2PermissionGrant - the source object with updatescallback - the callback to be called after success or failureOAuth2PermissionGrant patch(OAuth2PermissionGrant sourceOAuth2PermissionGrant) throws ClientException
sourceOAuth2PermissionGrant - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(OAuth2PermissionGrant newOAuth2PermissionGrant, ICallback<? super OAuth2PermissionGrant> callback)
newOAuth2PermissionGrant - the new object to createcallback - the callback to be called after success or failureOAuth2PermissionGrant post(OAuth2PermissionGrant newOAuth2PermissionGrant) throws ClientException
newOAuth2PermissionGrant - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(OAuth2PermissionGrant newOAuth2PermissionGrant, ICallback<? super OAuth2PermissionGrant> callback)
newOAuth2PermissionGrant - the object to create/updatecallback - the callback to be called after success or failureOAuth2PermissionGrant put(OAuth2PermissionGrant newOAuth2PermissionGrant) throws ClientException
newOAuth2PermissionGrant - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIOAuth2PermissionGrantRequest select(java.lang.String value)
value - the select clauseIOAuth2PermissionGrantRequest expand(java.lang.String value)
value - the expand clause