public class UserWithReferenceRequest extends BaseRequest implements IUserWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
UserWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the User
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<User> callback) |
IUserWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
User |
get() |
void |
get(ICallback<User> callback) |
User |
patch(User sourceUser) |
void |
patch(User sourceUser,
ICallback<User> callback) |
User |
post(User newUser,
IJsonBackedObject payload) |
void |
post(User newUser,
IJsonBackedObject payload,
ICallback<User> callback) |
IUserWithReferenceRequest |
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 UserWithReferenceRequest(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(User newUser, IJsonBackedObject payload, ICallback<User> callback)
post in interface IUserWithReferenceRequestpublic User post(User newUser, IJsonBackedObject payload) throws ClientException
post in interface IUserWithReferenceRequestClientExceptionpublic void get(ICallback<User> callback)
get in interface IUserWithReferenceRequestpublic User get() throws ClientException
get in interface IUserWithReferenceRequestClientExceptionpublic void delete(ICallback<User> callback)
delete in interface IUserWithReferenceRequestpublic void delete()
throws ClientException
delete in interface IUserWithReferenceRequestClientExceptionpublic void patch(User sourceUser, ICallback<User> callback)
patch in interface IUserWithReferenceRequestpublic User patch(User sourceUser) throws ClientException
patch in interface IUserWithReferenceRequestClientExceptionpublic IUserWithReferenceRequest select(java.lang.String value)
select in interface IUserWithReferenceRequestvalue - the select clausepublic IUserWithReferenceRequest expand(java.lang.String value)
expand in interface IUserWithReferenceRequestvalue - the expand clause