public class ApplicationAddKeyRequest extends BaseRequest implements IApplicationAddKeyRequest
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationAddKeyBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ApplicationAddKeyRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this ApplicationAddKey
|
| Modifier and Type | Method and Description |
|---|---|
IApplicationAddKeyRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
KeyCredential |
post() |
void |
post(ICallback<? super KeyCredential> callback) |
IApplicationAddKeyRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IApplicationAddKeyRequest |
top(int value)
Sets the top value 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, withHttpMethodprotected final ApplicationAddKeyBody body
public ApplicationAddKeyRequest(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 post(ICallback<? super KeyCredential> callback)
post in interface IApplicationAddKeyRequestpublic KeyCredential post() throws ClientException
post in interface IApplicationAddKeyRequestClientExceptionpublic IApplicationAddKeyRequest select(java.lang.String value)
select in interface IApplicationAddKeyRequestvalue - the select clausepublic IApplicationAddKeyRequest top(int value)
top in interface IApplicationAddKeyRequestvalue - the max number of items to returnpublic IApplicationAddKeyRequest expand(java.lang.String value)
expand in interface IApplicationAddKeyRequestvalue - the expand clause