public class ManagedDeviceBypassActivationLockRequest extends BaseRequest implements IManagedDeviceBypassActivationLockRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
ManagedDeviceBypassActivationLockRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this ManagedDeviceBypassActivationLock
|
Modifier and Type | Method and Description |
---|---|
void |
post()
Creates the ManagedDeviceBypassActivationLock
|
void |
post(ICallback<java.lang.Void> callback)
Creates the ManagedDeviceBypassActivationLock
|
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 ManagedDeviceBypassActivationLockRequest(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<java.lang.Void> callback)
post
in interface IManagedDeviceBypassActivationLockRequest
callback
- the callback to be called after success or failurepublic void post() throws ClientException
post
in interface IManagedDeviceBypassActivationLockRequest
ClientException
- an exception occurs if there was an error while the request was sent