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