public class SchemaExtensionRequest extends BaseRequest implements ISchemaExtensionRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
SchemaExtensionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the SchemaExtension
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<SchemaExtension> callback)
Delete this item from the service
|
ISchemaExtensionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
SchemaExtension |
get()
Gets the SchemaExtension from the service
|
void |
get(ICallback<SchemaExtension> callback)
Gets the SchemaExtension from the service
|
SchemaExtension |
patch(SchemaExtension sourceSchemaExtension)
Patches this SchemaExtension with a source
|
void |
patch(SchemaExtension sourceSchemaExtension,
ICallback<SchemaExtension> callback)
Patches this SchemaExtension with a source
|
SchemaExtension |
post(SchemaExtension newSchemaExtension)
Creates a SchemaExtension with a new object
|
void |
post(SchemaExtension newSchemaExtension,
ICallback<SchemaExtension> callback)
Creates a SchemaExtension with a new object
|
ISchemaExtensionRequest |
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 SchemaExtensionRequest(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<SchemaExtension> callback)
get in interface ISchemaExtensionRequestcallback - the callback to be called after success or failurepublic SchemaExtension get() throws ClientException
get in interface ISchemaExtensionRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<SchemaExtension> callback)
delete in interface ISchemaExtensionRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface ISchemaExtensionRequestClientException - if there was an exception during the delete operationpublic void patch(SchemaExtension sourceSchemaExtension, ICallback<SchemaExtension> callback)
patch in interface ISchemaExtensionRequestsourceSchemaExtension - the source object with updatescallback - the callback to be called after success or failurepublic SchemaExtension patch(SchemaExtension sourceSchemaExtension) throws ClientException
patch in interface ISchemaExtensionRequestsourceSchemaExtension - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(SchemaExtension newSchemaExtension, ICallback<SchemaExtension> callback)
post in interface ISchemaExtensionRequestnewSchemaExtension - the new object to createcallback - the callback to be called after success or failurepublic SchemaExtension post(SchemaExtension newSchemaExtension) throws ClientException
post in interface ISchemaExtensionRequestnewSchemaExtension - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic ISchemaExtensionRequest select(java.lang.String value)
select in interface ISchemaExtensionRequestvalue - the select clausepublic ISchemaExtensionRequest expand(java.lang.String value)
expand in interface ISchemaExtensionRequestvalue - the expand clause