public class ServicePrincipalCollectionReferenceRequest extends BaseCollectionRequest<ServicePrincipalCollectionResponse,IServicePrincipalCollectionPage> implements IServicePrincipalCollectionReferenceRequest
| Constructor and Description |
|---|
ServicePrincipalCollectionReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of ServicePrincipal
|
| Modifier and Type | Method and Description |
|---|---|
IServicePrincipalCollectionReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IServicePrincipalCollectionReferenceRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IServicePrincipalCollectionReferenceRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
ServicePrincipal |
post(ServicePrincipal newServicePrincipal) |
void |
post(ServicePrincipal newServicePrincipal,
ICallback<? super ServicePrincipal> callback) |
IServicePrincipalCollectionReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IServicePrincipalCollectionReferenceRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic ServicePrincipalCollectionReferenceRequest(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, ICallback<? super ServicePrincipal> callback)
post in interface IServicePrincipalCollectionReferenceRequestpublic ServicePrincipal post(ServicePrincipal newServicePrincipal) throws ClientException
post in interface IServicePrincipalCollectionReferenceRequestClientExceptionpublic IServicePrincipalCollectionReferenceRequest expand(java.lang.String value)
value - the expand clausepublic IServicePrincipalCollectionReferenceRequest filter(java.lang.String value)
value - the filter clausepublic IServicePrincipalCollectionReferenceRequest orderBy(java.lang.String value)
value - the sort clausepublic IServicePrincipalCollectionReferenceRequest select(java.lang.String value)
select in interface IServicePrincipalCollectionReferenceRequestvalue - the select clausepublic IServicePrincipalCollectionReferenceRequest top(int value)
top in interface IServicePrincipalCollectionReferenceRequestvalue - the max number of items to return