public class ServicePrincipalCollectionRequest extends BaseCollectionRequest<ServicePrincipalCollectionResponse,IServicePrincipalCollectionPage> implements IServicePrincipalCollectionRequest
| Constructor and Description |
|---|
ServicePrincipalCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of ServicePrincipal
|
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, 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 ServicePrincipalCollectionRequest(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 get(ICallback<IServicePrincipalCollectionPage> callback)
get in interface IServicePrincipalCollectionRequestpublic IServicePrincipalCollectionPage get() throws ClientException
get in interface IServicePrincipalCollectionRequestClientExceptionpublic void post(ServicePrincipal newServicePrincipal, ICallback<ServicePrincipal> callback)
post in interface IServicePrincipalCollectionRequestpublic ServicePrincipal post(ServicePrincipal newServicePrincipal) throws ClientException
post in interface IServicePrincipalCollectionRequestClientExceptionpublic IServicePrincipalCollectionRequest expand(java.lang.String value)
expand in interface IServicePrincipalCollectionRequestvalue - the expand clausepublic IServicePrincipalCollectionRequest filter(java.lang.String value)
filter in interface IServicePrincipalCollectionRequestvalue - the filter clausepublic IServicePrincipalCollectionRequest select(java.lang.String value)
select in interface IServicePrincipalCollectionRequestvalue - the select clausepublic IServicePrincipalCollectionRequest top(int value)
top in interface IServicePrincipalCollectionRequestvalue - the max number of items to returnpublic IServicePrincipalCollectionRequest skip(int value)
skip in interface IServicePrincipalCollectionRequestvalue - of the number of items to skippublic IServicePrincipalCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IServicePrincipalCollectionRequestskipToken - - Token for paginationpublic IServicePrincipalCollectionPage buildFromResponse(ServicePrincipalCollectionResponse response)