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
|
IRoleAssignmentCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IRoleAssignmentCollectionPage |
get() |
void |
get(ICallback<? super IRoleAssignmentCollectionPage> callback) |
IRoleAssignmentCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
RoleAssignment |
post(RoleAssignment newRoleAssignment) |
void |
post(RoleAssignment newRoleAssignment,
ICallback<? super RoleAssignment> callback) |
IRoleAssignmentCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IRoleAssignmentCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IRoleAssignmentCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IRoleAssignmentCollectionRequest |
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 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<? super IRoleAssignmentCollectionPage> callback)
get
in interface IRoleAssignmentCollectionRequest
public IRoleAssignmentCollectionPage get() throws ClientException
get
in interface IRoleAssignmentCollectionRequest
ClientException
public void post(RoleAssignment newRoleAssignment, ICallback<? super RoleAssignment> callback)
post
in interface IRoleAssignmentCollectionRequest
public RoleAssignment post(RoleAssignment newRoleAssignment) throws ClientException
post
in interface IRoleAssignmentCollectionRequest
ClientException
public IRoleAssignmentCollectionRequest expand(java.lang.String value)
expand
in interface IRoleAssignmentCollectionRequest
value
- the expand clausepublic IRoleAssignmentCollectionRequest filter(java.lang.String value)
filter
in interface IRoleAssignmentCollectionRequest
value
- the filter clausepublic IRoleAssignmentCollectionRequest orderBy(java.lang.String value)
orderBy
in interface IRoleAssignmentCollectionRequest
value
- the order by clausepublic IRoleAssignmentCollectionRequest select(java.lang.String value)
select
in interface IRoleAssignmentCollectionRequest
value
- the select clausepublic IRoleAssignmentCollectionRequest top(int value)
top
in interface IRoleAssignmentCollectionRequest
value
- the max number of items to returnpublic IRoleAssignmentCollectionRequest skip(int value)
skip
in interface IRoleAssignmentCollectionRequest
value
- of the number of items to skippublic IRoleAssignmentCollectionRequest skipToken(java.lang.String skipToken)
skipToken
in interface IRoleAssignmentCollectionRequest
skipToken
- - Token for paginationpublic IRoleAssignmentCollectionPage buildFromResponse(RoleAssignmentCollectionResponse response)