public class AuthenticationMethodTargetRequest extends BaseRequest implements IAuthenticationMethodTargetRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
AuthenticationMethodTargetRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the AuthenticationMethodTarget
|
AuthenticationMethodTargetRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends AuthenticationMethodTarget> responseClass)
The request for the AuthenticationMethodTarget
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super AuthenticationMethodTarget> callback)
Delete this item from the service
|
IAuthenticationMethodTargetRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
AuthenticationMethodTarget |
get()
Gets the AuthenticationMethodTarget from the service
|
void |
get(ICallback<? super AuthenticationMethodTarget> callback)
Gets the AuthenticationMethodTarget from the service
|
AuthenticationMethodTarget |
patch(AuthenticationMethodTarget sourceAuthenticationMethodTarget)
Patches this AuthenticationMethodTarget with a source
|
void |
patch(AuthenticationMethodTarget sourceAuthenticationMethodTarget,
ICallback<? super AuthenticationMethodTarget> callback)
Patches this AuthenticationMethodTarget with a source
|
AuthenticationMethodTarget |
post(AuthenticationMethodTarget newAuthenticationMethodTarget)
Creates a AuthenticationMethodTarget with a new object
|
void |
post(AuthenticationMethodTarget newAuthenticationMethodTarget,
ICallback<? super AuthenticationMethodTarget> callback)
Creates a AuthenticationMethodTarget with a new object
|
AuthenticationMethodTarget |
put(AuthenticationMethodTarget newAuthenticationMethodTarget)
Creates a AuthenticationMethodTarget with a new object
|
void |
put(AuthenticationMethodTarget newAuthenticationMethodTarget,
ICallback<? super AuthenticationMethodTarget> callback)
Creates a AuthenticationMethodTarget with a new object
|
IAuthenticationMethodTargetRequest |
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, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic AuthenticationMethodTargetRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends AuthenticationMethodTarget> responseClass)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestresponseClass - the class of the responsepublic AuthenticationMethodTargetRequest(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 AuthenticationMethodTarget> callback)
get in interface IAuthenticationMethodTargetRequestcallback - the callback to be called after success or failurepublic AuthenticationMethodTarget get() throws ClientException
get in interface IAuthenticationMethodTargetRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super AuthenticationMethodTarget> callback)
delete in interface IAuthenticationMethodTargetRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IAuthenticationMethodTargetRequestClientException - if there was an exception during the delete operationpublic void patch(AuthenticationMethodTarget sourceAuthenticationMethodTarget, ICallback<? super AuthenticationMethodTarget> callback)
patch in interface IAuthenticationMethodTargetRequestsourceAuthenticationMethodTarget - the source object with updatescallback - the callback to be called after success or failurepublic AuthenticationMethodTarget patch(AuthenticationMethodTarget sourceAuthenticationMethodTarget) throws ClientException
patch in interface IAuthenticationMethodTargetRequestsourceAuthenticationMethodTarget - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(AuthenticationMethodTarget newAuthenticationMethodTarget, ICallback<? super AuthenticationMethodTarget> callback)
post in interface IAuthenticationMethodTargetRequestnewAuthenticationMethodTarget - the new object to createcallback - the callback to be called after success or failurepublic AuthenticationMethodTarget post(AuthenticationMethodTarget newAuthenticationMethodTarget) throws ClientException
post in interface IAuthenticationMethodTargetRequestnewAuthenticationMethodTarget - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(AuthenticationMethodTarget newAuthenticationMethodTarget, ICallback<? super AuthenticationMethodTarget> callback)
put in interface IAuthenticationMethodTargetRequestnewAuthenticationMethodTarget - the object to create/updatecallback - the callback to be called after success or failurepublic AuthenticationMethodTarget put(AuthenticationMethodTarget newAuthenticationMethodTarget) throws ClientException
put in interface IAuthenticationMethodTargetRequestnewAuthenticationMethodTarget - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IAuthenticationMethodTargetRequest select(java.lang.String value)
select in interface IAuthenticationMethodTargetRequestvalue - the select clausepublic IAuthenticationMethodTargetRequest expand(java.lang.String value)
expand in interface IAuthenticationMethodTargetRequestvalue - the expand clause