public class ServicePrincipalWithReferenceRequest extends BaseRequest implements IServicePrincipalWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ServicePrincipalWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ServicePrincipal
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super ServicePrincipal> callback) |
IServicePrincipalWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ServicePrincipal |
get() |
void |
get(ICallback<? super ServicePrincipal> callback) |
ServicePrincipal |
patch(ServicePrincipal sourceServicePrincipal) |
void |
patch(ServicePrincipal sourceServicePrincipal,
ICallback<? super ServicePrincipal> callback) |
ServicePrincipal |
post(ServicePrincipal newServicePrincipal,
IJsonBackedObject payload) |
void |
post(ServicePrincipal newServicePrincipal,
IJsonBackedObject payload,
ICallback<? super ServicePrincipal> callback) |
IServicePrincipalWithReferenceRequest |
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 ServicePrincipalWithReferenceRequest(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(ServicePrincipal newServicePrincipal, IJsonBackedObject payload, ICallback<? super ServicePrincipal> callback)
post in interface IServicePrincipalWithReferenceRequestpublic ServicePrincipal post(ServicePrincipal newServicePrincipal, IJsonBackedObject payload) throws ClientException
post in interface IServicePrincipalWithReferenceRequestClientExceptionpublic void get(ICallback<? super ServicePrincipal> callback)
get in interface IServicePrincipalWithReferenceRequestpublic ServicePrincipal get() throws ClientException
get in interface IServicePrincipalWithReferenceRequestClientExceptionpublic void delete(ICallback<? super ServicePrincipal> callback)
delete in interface IServicePrincipalWithReferenceRequestpublic void delete()
throws ClientException
delete in interface IServicePrincipalWithReferenceRequestClientExceptionpublic void patch(ServicePrincipal sourceServicePrincipal, ICallback<? super ServicePrincipal> callback)
patch in interface IServicePrincipalWithReferenceRequestpublic ServicePrincipal patch(ServicePrincipal sourceServicePrincipal) throws ClientException
patch in interface IServicePrincipalWithReferenceRequestClientExceptionpublic IServicePrincipalWithReferenceRequest select(java.lang.String value)
select in interface IServicePrincipalWithReferenceRequestvalue - the select clausepublic IServicePrincipalWithReferenceRequest expand(java.lang.String value)
expand in interface IServicePrincipalWithReferenceRequestvalue - the expand clause