public class EducationUserCollectionReferenceRequest extends com.microsoft.graph.http.BaseCollectionWithReferencesRequest<EducationUser,EducationUserWithReferenceRequest,EducationUserReferenceRequestBuilder,EducationUserWithReferenceRequestBuilder,EducationUserCollectionResponse,EducationUserCollectionWithReferencesPage,EducationUserCollectionWithReferencesRequest>
Constructor and Description |
---|
EducationUserCollectionReferenceRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request builder for this collection of EducationUser
|
Modifier and Type | Method and Description |
---|---|
EducationUserCollectionReferenceRequest |
count()
Sets the count value to true for the request
|
EducationUserCollectionReferenceRequest |
count(boolean value)
Sets the count value for the request
|
EducationUserCollectionReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
EducationUserCollectionReferenceRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
EducationUserCollectionReferenceRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
EducationUser |
post(EducationUser newEducationUser)
Creates a new EducationUser
|
java.util.concurrent.CompletableFuture<EducationUser> |
postAsync(EducationUser newEducationUser)
Creates a new EducationUser
|
EducationUserCollectionReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
EducationUserCollectionReferenceRequest |
top(int value)
Sets the top value for the request
|
get, getAsync, post
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, buildFromResponse, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public EducationUserCollectionReferenceRequest(@Nonnull java.lang.String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request@Nonnull public java.util.concurrent.CompletableFuture<EducationUser> postAsync(@Nonnull EducationUser newEducationUser)
newEducationUser
- the EducationUser to create@Nonnull public EducationUser post(@Nonnull EducationUser newEducationUser) throws com.microsoft.graph.core.ClientException
newEducationUser
- the EducationUser to createcom.microsoft.graph.core.ClientException
@Nonnull public EducationUserCollectionReferenceRequest expand(@Nonnull java.lang.String value)
value
- the expand clause@Nonnull public EducationUserCollectionReferenceRequest filter(@Nonnull java.lang.String value)
value
- the filter clause@Nonnull public EducationUserCollectionReferenceRequest orderBy(@Nonnull java.lang.String value)
value
- the sort clause@Nonnull public EducationUserCollectionReferenceRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public EducationUserCollectionReferenceRequest top(int value)
value
- the max number of items to return@Nonnull public EducationUserCollectionReferenceRequest count(boolean value)
value
- whether or not to return the count of objects with the request@Nonnull public EducationUserCollectionReferenceRequest count()