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, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public 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 IServicePrincipalWithReferenceRequest
public ServicePrincipal post(ServicePrincipal newServicePrincipal, IJsonBackedObject payload) throws ClientException
post
in interface IServicePrincipalWithReferenceRequest
ClientException
public void get(ICallback<? super ServicePrincipal> callback)
get
in interface IServicePrincipalWithReferenceRequest
public ServicePrincipal get() throws ClientException
get
in interface IServicePrincipalWithReferenceRequest
ClientException
public void delete(ICallback<? super ServicePrincipal> callback)
delete
in interface IServicePrincipalWithReferenceRequest
public void delete() throws ClientException
delete
in interface IServicePrincipalWithReferenceRequest
ClientException
public void patch(ServicePrincipal sourceServicePrincipal, ICallback<? super ServicePrincipal> callback)
patch
in interface IServicePrincipalWithReferenceRequest
public ServicePrincipal patch(ServicePrincipal sourceServicePrincipal) throws ClientException
patch
in interface IServicePrincipalWithReferenceRequest
ClientException
public IServicePrincipalWithReferenceRequest select(java.lang.String value)
select
in interface IServicePrincipalWithReferenceRequest
value
- the select clausepublic IServicePrincipalWithReferenceRequest expand(java.lang.String value)
expand
in interface IServicePrincipalWithReferenceRequest
value
- the expand clause