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