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
|
IDirectoryRoleCollectionPage |
get() |
void |
get(ICallback<IDirectoryRoleCollectionPage> callback) |
DirectoryRole |
post(DirectoryRole newDirectoryRole) |
void |
post(DirectoryRole newDirectoryRole,
ICallback<DirectoryRole> callback) |
IDirectoryRoleCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDirectoryRoleCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic 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<IDirectoryRoleCollectionPage> callback)
get in interface IDirectoryRoleCollectionRequestpublic IDirectoryRoleCollectionPage get() throws ClientException
get in interface IDirectoryRoleCollectionRequestClientExceptionpublic void post(DirectoryRole newDirectoryRole, ICallback<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 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 IDirectoryRoleCollectionPage buildFromResponse(DirectoryRoleCollectionResponse response)