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