public class InferenceClassificationRequest extends BaseRequest implements IInferenceClassificationRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
InferenceClassificationRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the InferenceClassification
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<InferenceClassification> callback)
Delete this item from the service
|
IInferenceClassificationRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
InferenceClassification |
get()
Gets the InferenceClassification from the service
|
void |
get(ICallback<InferenceClassification> callback)
Gets the InferenceClassification from the service
|
InferenceClassification |
patch(InferenceClassification sourceInferenceClassification)
Patches this InferenceClassification with a source
|
void |
patch(InferenceClassification sourceInferenceClassification,
ICallback<InferenceClassification> callback)
Patches this InferenceClassification with a source
|
InferenceClassification |
post(InferenceClassification newInferenceClassification)
Creates a InferenceClassification with a new object
|
void |
post(InferenceClassification newInferenceClassification,
ICallback<InferenceClassification> callback)
Creates a InferenceClassification with a new object
|
IInferenceClassificationRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic InferenceClassificationRequest(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<InferenceClassification> callback)
get in interface IInferenceClassificationRequestcallback - the callback to be called after success or failurepublic InferenceClassification get() throws ClientException
get in interface IInferenceClassificationRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<InferenceClassification> callback)
delete in interface IInferenceClassificationRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IInferenceClassificationRequestClientException - if there was an exception during the delete operationpublic void patch(InferenceClassification sourceInferenceClassification, ICallback<InferenceClassification> callback)
patch in interface IInferenceClassificationRequestsourceInferenceClassification - the source object with updatescallback - the callback to be called after success or failurepublic InferenceClassification patch(InferenceClassification sourceInferenceClassification) throws ClientException
patch in interface IInferenceClassificationRequestsourceInferenceClassification - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(InferenceClassification newInferenceClassification, ICallback<InferenceClassification> callback)
post in interface IInferenceClassificationRequestnewInferenceClassification - the new object to createcallback - the callback to be called after success or failurepublic InferenceClassification post(InferenceClassification newInferenceClassification) throws ClientException
post in interface IInferenceClassificationRequestnewInferenceClassification - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IInferenceClassificationRequest select(java.lang.String value)
select in interface IInferenceClassificationRequestvalue - the select clausepublic IInferenceClassificationRequest expand(java.lang.String value)
expand in interface IInferenceClassificationRequestvalue - the expand clause