public class SiteWithReferenceRequest extends BaseRequest implements ISiteWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
SiteWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the Site
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super Site> callback) |
ISiteWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Site |
get() |
void |
get(ICallback<? super Site> callback) |
Site |
patch(Site sourceSite) |
void |
patch(Site sourceSite,
ICallback<? super Site> callback) |
Site |
post(Site newSite,
IJsonBackedObject payload) |
void |
post(Site newSite,
IJsonBackedObject payload,
ICallback<? super Site> callback) |
ISiteWithReferenceRequest |
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 SiteWithReferenceRequest(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(Site newSite, IJsonBackedObject payload, ICallback<? super Site> callback)
post in interface ISiteWithReferenceRequestpublic Site post(Site newSite, IJsonBackedObject payload) throws ClientException
post in interface ISiteWithReferenceRequestClientExceptionpublic void get(ICallback<? super Site> callback)
get in interface ISiteWithReferenceRequestpublic Site get() throws ClientException
get in interface ISiteWithReferenceRequestClientExceptionpublic void delete(ICallback<? super Site> callback)
delete in interface ISiteWithReferenceRequestpublic void delete()
throws ClientException
delete in interface ISiteWithReferenceRequestClientExceptionpublic void patch(Site sourceSite, ICallback<? super Site> callback)
patch in interface ISiteWithReferenceRequestpublic Site patch(Site sourceSite) throws ClientException
patch in interface ISiteWithReferenceRequestClientExceptionpublic ISiteWithReferenceRequest select(java.lang.String value)
select in interface ISiteWithReferenceRequestvalue - the select clausepublic ISiteWithReferenceRequest expand(java.lang.String value)
expand in interface ISiteWithReferenceRequestvalue - the expand clause