public class AdministrativeUnitWithReferenceRequest extends BaseRequest implements IAdministrativeUnitWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
AdministrativeUnitWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the AdministrativeUnit
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super AdministrativeUnit> callback) |
IAdministrativeUnitWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
AdministrativeUnit |
get() |
void |
get(ICallback<? super AdministrativeUnit> callback) |
AdministrativeUnit |
patch(AdministrativeUnit sourceAdministrativeUnit) |
void |
patch(AdministrativeUnit sourceAdministrativeUnit,
ICallback<? super AdministrativeUnit> callback) |
AdministrativeUnit |
post(AdministrativeUnit newAdministrativeUnit,
IJsonBackedObject payload) |
void |
post(AdministrativeUnit newAdministrativeUnit,
IJsonBackedObject payload,
ICallback<? super AdministrativeUnit> callback) |
IAdministrativeUnitWithReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic AdministrativeUnitWithReferenceRequest(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 post(AdministrativeUnit newAdministrativeUnit, IJsonBackedObject payload, ICallback<? super AdministrativeUnit> callback)
post in interface IAdministrativeUnitWithReferenceRequestpublic AdministrativeUnit post(AdministrativeUnit newAdministrativeUnit, IJsonBackedObject payload) throws ClientException
post in interface IAdministrativeUnitWithReferenceRequestClientExceptionpublic void get(ICallback<? super AdministrativeUnit> callback)
get in interface IAdministrativeUnitWithReferenceRequestpublic AdministrativeUnit get() throws ClientException
get in interface IAdministrativeUnitWithReferenceRequestClientExceptionpublic void delete(ICallback<? super AdministrativeUnit> callback)
delete in interface IAdministrativeUnitWithReferenceRequestpublic void delete()
throws ClientException
delete in interface IAdministrativeUnitWithReferenceRequestClientExceptionpublic void patch(AdministrativeUnit sourceAdministrativeUnit, ICallback<? super AdministrativeUnit> callback)
patch in interface IAdministrativeUnitWithReferenceRequestpublic AdministrativeUnit patch(AdministrativeUnit sourceAdministrativeUnit) throws ClientException
patch in interface IAdministrativeUnitWithReferenceRequestClientExceptionpublic IAdministrativeUnitWithReferenceRequest select(java.lang.String value)
select in interface IAdministrativeUnitWithReferenceRequestvalue - the select clausepublic IAdministrativeUnitWithReferenceRequest expand(java.lang.String value)
expand in interface IAdministrativeUnitWithReferenceRequestvalue - the expand clause