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