public class RoleAssignmentCollectionRequest extends BaseCollectionRequest<RoleAssignmentCollectionResponse,IRoleAssignmentCollectionPage> implements IRoleAssignmentCollectionRequest
| Constructor and Description |
|---|
RoleAssignmentCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of RoleAssignment
|
| Modifier and Type | Method and Description |
|---|---|
IRoleAssignmentCollectionPage |
buildFromResponse(RoleAssignmentCollectionResponse response) |
IRoleAssignmentCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IRoleAssignmentCollectionPage |
get() |
void |
get(ICallback<IRoleAssignmentCollectionPage> callback) |
RoleAssignment |
post(RoleAssignment newRoleAssignment) |
void |
post(RoleAssignment newRoleAssignment,
ICallback<RoleAssignment> callback) |
IRoleAssignmentCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IRoleAssignmentCollectionRequest |
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 RoleAssignmentCollectionRequest(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<IRoleAssignmentCollectionPage> callback)
get in interface IRoleAssignmentCollectionRequestpublic IRoleAssignmentCollectionPage get() throws ClientException
get in interface IRoleAssignmentCollectionRequestClientExceptionpublic void post(RoleAssignment newRoleAssignment, ICallback<RoleAssignment> callback)
post in interface IRoleAssignmentCollectionRequestpublic RoleAssignment post(RoleAssignment newRoleAssignment) throws ClientException
post in interface IRoleAssignmentCollectionRequestClientExceptionpublic IRoleAssignmentCollectionRequest expand(java.lang.String value)
expand in interface IRoleAssignmentCollectionRequestvalue - the expand clausepublic IRoleAssignmentCollectionRequest select(java.lang.String value)
select in interface IRoleAssignmentCollectionRequestvalue - the select clausepublic IRoleAssignmentCollectionRequest top(int value)
top in interface IRoleAssignmentCollectionRequestvalue - the max number of items to returnpublic IRoleAssignmentCollectionPage buildFromResponse(RoleAssignmentCollectionResponse response)