public class RoleDefinitionCollectionRequest extends BaseCollectionRequest<RoleDefinitionCollectionResponse,IRoleDefinitionCollectionPage> implements IRoleDefinitionCollectionRequest
| Constructor and Description |
|---|
RoleDefinitionCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of RoleDefinition
|
| Modifier and Type | Method and Description |
|---|---|
IRoleDefinitionCollectionPage |
buildFromResponse(RoleDefinitionCollectionResponse response) |
IRoleDefinitionCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IRoleDefinitionCollectionPage |
get() |
void |
get(ICallback<IRoleDefinitionCollectionPage> callback) |
RoleDefinition |
post(RoleDefinition newRoleDefinition) |
void |
post(RoleDefinition newRoleDefinition,
ICallback<RoleDefinition> callback) |
IRoleDefinitionCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IRoleDefinitionCollectionRequest |
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 RoleDefinitionCollectionRequest(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<IRoleDefinitionCollectionPage> callback)
get in interface IRoleDefinitionCollectionRequestpublic IRoleDefinitionCollectionPage get() throws ClientException
get in interface IRoleDefinitionCollectionRequestClientExceptionpublic void post(RoleDefinition newRoleDefinition, ICallback<RoleDefinition> callback)
post in interface IRoleDefinitionCollectionRequestpublic RoleDefinition post(RoleDefinition newRoleDefinition) throws ClientException
post in interface IRoleDefinitionCollectionRequestClientExceptionpublic IRoleDefinitionCollectionRequest expand(java.lang.String value)
expand in interface IRoleDefinitionCollectionRequestvalue - the expand clausepublic IRoleDefinitionCollectionRequest select(java.lang.String value)
select in interface IRoleDefinitionCollectionRequestvalue - the select clausepublic IRoleDefinitionCollectionRequest top(int value)
top in interface IRoleDefinitionCollectionRequestvalue - the max number of items to returnpublic IRoleDefinitionCollectionPage buildFromResponse(RoleDefinitionCollectionResponse response)