public interface ISharedInsightRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<SharedInsight> callback)
Delete this item from the service
|
ISharedInsightRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
SharedInsight |
get()
Gets the SharedInsight from the service
|
void |
get(ICallback<SharedInsight> callback)
Gets the SharedInsight from the service
|
SharedInsight |
patch(SharedInsight sourceSharedInsight)
Patches this SharedInsight with a source
|
void |
patch(SharedInsight sourceSharedInsight,
ICallback<SharedInsight> callback)
Patches this SharedInsight with a source
|
SharedInsight |
post(SharedInsight newSharedInsight)
Posts a SharedInsight with a new object
|
void |
post(SharedInsight newSharedInsight,
ICallback<SharedInsight> callback)
Posts a SharedInsight with a new object
|
ISharedInsightRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<SharedInsight> callback)
callback - the callback to be called after success or failureSharedInsight get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<SharedInsight> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(SharedInsight sourceSharedInsight, ICallback<SharedInsight> callback)
sourceSharedInsight - the source object with updatescallback - the callback to be called after success or failureSharedInsight patch(SharedInsight sourceSharedInsight) throws ClientException
sourceSharedInsight - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(SharedInsight newSharedInsight, ICallback<SharedInsight> callback)
newSharedInsight - the new object to createcallback - the callback to be called after success or failureSharedInsight post(SharedInsight newSharedInsight) throws ClientException
newSharedInsight - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonISharedInsightRequest select(java.lang.String value)
value - the select clauseISharedInsightRequest expand(java.lang.String value)
value - the expand clause