public class DirectoryObjectCollectionRequest extends BaseCollectionRequest<DirectoryObjectCollectionResponse,IDirectoryObjectCollectionPage> implements IDirectoryObjectCollectionRequest
Constructor and Description |
---|
DirectoryObjectCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DirectoryObject
|
Modifier and Type | Method and Description |
---|---|
IDirectoryObjectCollectionPage |
buildFromResponse(DirectoryObjectCollectionResponse response) |
IDirectoryObjectCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDirectoryObjectCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IDirectoryObjectCollectionPage |
get() |
void |
get(ICallback<? super IDirectoryObjectCollectionPage> callback) |
IDirectoryObjectCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
DirectoryObject |
post(DirectoryObject newDirectoryObject) |
void |
post(DirectoryObject newDirectoryObject,
ICallback<? super DirectoryObject> callback) |
IDirectoryObjectCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDirectoryObjectCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IDirectoryObjectCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IDirectoryObjectCollectionRequest |
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, 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 DirectoryObjectCollectionRequest(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 IDirectoryObjectCollectionPage> callback)
get
in interface IDirectoryObjectCollectionRequest
public IDirectoryObjectCollectionPage get() throws ClientException
get
in interface IDirectoryObjectCollectionRequest
ClientException
public void post(DirectoryObject newDirectoryObject, ICallback<? super DirectoryObject> callback)
post
in interface IDirectoryObjectCollectionRequest
public DirectoryObject post(DirectoryObject newDirectoryObject) throws ClientException
post
in interface IDirectoryObjectCollectionRequest
ClientException
public IDirectoryObjectCollectionRequest expand(java.lang.String value)
expand
in interface IDirectoryObjectCollectionRequest
value
- the expand clausepublic IDirectoryObjectCollectionRequest filter(java.lang.String value)
filter
in interface IDirectoryObjectCollectionRequest
value
- the filter clausepublic IDirectoryObjectCollectionRequest orderBy(java.lang.String value)
orderBy
in interface IDirectoryObjectCollectionRequest
value
- the order by clausepublic IDirectoryObjectCollectionRequest select(java.lang.String value)
select
in interface IDirectoryObjectCollectionRequest
value
- the select clausepublic IDirectoryObjectCollectionRequest top(int value)
top
in interface IDirectoryObjectCollectionRequest
value
- the max number of items to returnpublic IDirectoryObjectCollectionRequest skip(int value)
skip
in interface IDirectoryObjectCollectionRequest
value
- of the number of items to skippublic IDirectoryObjectCollectionRequest skipToken(java.lang.String skipToken)
skipToken
in interface IDirectoryObjectCollectionRequest
skipToken
- - Token for paginationpublic IDirectoryObjectCollectionPage buildFromResponse(DirectoryObjectCollectionResponse response)