public class LicenseDetailsRequest extends BaseRequest implements ILicenseDetailsRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
LicenseDetailsRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the LicenseDetails
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super LicenseDetails> callback)
Delete this item from the service
|
ILicenseDetailsRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
LicenseDetails |
get()
Gets the LicenseDetails from the service
|
void |
get(ICallback<? super LicenseDetails> callback)
Gets the LicenseDetails from the service
|
LicenseDetails |
patch(LicenseDetails sourceLicenseDetails)
Patches this LicenseDetails with a source
|
void |
patch(LicenseDetails sourceLicenseDetails,
ICallback<? super LicenseDetails> callback)
Patches this LicenseDetails with a source
|
LicenseDetails |
post(LicenseDetails newLicenseDetails)
Creates a LicenseDetails with a new object
|
void |
post(LicenseDetails newLicenseDetails,
ICallback<? super LicenseDetails> callback)
Creates a LicenseDetails with a new object
|
LicenseDetails |
put(LicenseDetails newLicenseDetails)
Creates a LicenseDetails with a new object
|
void |
put(LicenseDetails newLicenseDetails,
ICallback<? super LicenseDetails> callback)
Creates a LicenseDetails with a new object
|
ILicenseDetailsRequest |
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 LicenseDetailsRequest(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 LicenseDetails> callback)
get in interface ILicenseDetailsRequestcallback - the callback to be called after success or failurepublic LicenseDetails get() throws ClientException
get in interface ILicenseDetailsRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super LicenseDetails> callback)
delete in interface ILicenseDetailsRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface ILicenseDetailsRequestClientException - if there was an exception during the delete operationpublic void patch(LicenseDetails sourceLicenseDetails, ICallback<? super LicenseDetails> callback)
patch in interface ILicenseDetailsRequestsourceLicenseDetails - the source object with updatescallback - the callback to be called after success or failurepublic LicenseDetails patch(LicenseDetails sourceLicenseDetails) throws ClientException
patch in interface ILicenseDetailsRequestsourceLicenseDetails - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(LicenseDetails newLicenseDetails, ICallback<? super LicenseDetails> callback)
post in interface ILicenseDetailsRequestnewLicenseDetails - the new object to createcallback - the callback to be called after success or failurepublic LicenseDetails post(LicenseDetails newLicenseDetails) throws ClientException
post in interface ILicenseDetailsRequestnewLicenseDetails - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(LicenseDetails newLicenseDetails, ICallback<? super LicenseDetails> callback)
put in interface ILicenseDetailsRequestnewLicenseDetails - the object to create/updatecallback - the callback to be called after success or failurepublic LicenseDetails put(LicenseDetails newLicenseDetails) throws ClientException
put in interface ILicenseDetailsRequestnewLicenseDetails - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic ILicenseDetailsRequest select(java.lang.String value)
select in interface ILicenseDetailsRequestvalue - the select clausepublic ILicenseDetailsRequest expand(java.lang.String value)
expand in interface ILicenseDetailsRequestvalue - the expand clause