public class GroupWithReferenceRequest extends BaseRequest implements IGroupWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
GroupWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the Group
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super Group> callback) |
IGroupWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Group |
get() |
void |
get(ICallback<? super Group> callback) |
Group |
patch(Group sourceGroup) |
void |
patch(Group sourceGroup,
ICallback<? super Group> callback) |
Group |
post(Group newGroup,
IJsonBackedObject payload) |
void |
post(Group newGroup,
IJsonBackedObject payload,
ICallback<? super Group> callback) |
IGroupWithReferenceRequest |
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 GroupWithReferenceRequest(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(Group newGroup, IJsonBackedObject payload, ICallback<? super Group> callback)
post in interface IGroupWithReferenceRequestpublic Group post(Group newGroup, IJsonBackedObject payload) throws ClientException
post in interface IGroupWithReferenceRequestClientExceptionpublic void get(ICallback<? super Group> callback)
get in interface IGroupWithReferenceRequestpublic Group get() throws ClientException
get in interface IGroupWithReferenceRequestClientExceptionpublic void delete(ICallback<? super Group> callback)
delete in interface IGroupWithReferenceRequestpublic void delete()
throws ClientException
delete in interface IGroupWithReferenceRequestClientExceptionpublic void patch(Group sourceGroup, ICallback<? super Group> callback)
patch in interface IGroupWithReferenceRequestpublic Group patch(Group sourceGroup) throws ClientException
patch in interface IGroupWithReferenceRequestClientExceptionpublic IGroupWithReferenceRequest select(java.lang.String value)
select in interface IGroupWithReferenceRequestvalue - the select clausepublic IGroupWithReferenceRequest expand(java.lang.String value)
expand in interface IGroupWithReferenceRequestvalue - the expand clause