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
|
| Modifier and Type | Method and Description |
|---|---|
IServicePrincipalCollectionPage |
buildFromResponse(ServicePrincipalCollectionResponse response) |
IServicePrincipalCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IServicePrincipalCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IServicePrincipalCollectionPage |
get() |
void |
get(ICallback<? super IServicePrincipalCollectionPage> callback) |
IServicePrincipalCollectionRequest |
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) |
IServicePrincipalCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IServicePrincipalCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IServicePrincipalCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IServicePrincipalCollectionRequest |
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, 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<? super IServicePrincipalCollectionPage> callback)
get in interface IServicePrincipalCollectionRequestpublic IServicePrincipalCollectionPage get() throws ClientException
get in interface IServicePrincipalCollectionRequestClientExceptionpublic void post(ServicePrincipal newServicePrincipal, ICallback<? super 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 orderBy(java.lang.String value)
orderBy in interface IServicePrincipalCollectionRequestvalue - the order by 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)