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