public class EducationClassCollectionRequest extends com.microsoft.graph.http.BaseEntityCollectionRequest<EducationClass,EducationClassCollectionResponse,EducationClassCollectionPage>
| Constructor and Description |
|---|
EducationClassCollectionRequest(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 EducationClass
|
| Modifier and Type | Method and Description |
|---|---|
EducationClassCollectionRequest |
count()
Sets the count value to true for the request
|
EducationClassCollectionRequest |
count(boolean value)
Sets the count value for the request
|
EducationClassCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
EducationClassCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
EducationClassCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
EducationClass |
post(EducationClass newEducationClass)
Creates a new EducationClass
|
java.util.concurrent.CompletableFuture<EducationClass> |
postAsync(EducationClass newEducationClass)
Creates a new EducationClass
|
EducationClassCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
EducationClassCollectionRequest |
skip(int value)
Sets the skip value for the request
|
EducationClassCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
EducationClassCollectionRequest |
top(int value)
Sets the top value for the request
|
get, getAsync, postaddCountOption, 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, withHttpMethodpublic EducationClassCollectionRequest(@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<EducationClass> postAsync(@Nonnull EducationClass newEducationClass)
newEducationClass - the EducationClass to create@Nonnull public EducationClass post(@Nonnull EducationClass newEducationClass) throws com.microsoft.graph.core.ClientException
newEducationClass - the EducationClass to createcom.microsoft.graph.core.ClientException@Nonnull public EducationClassCollectionRequest expand(@Nonnull java.lang.String value)
value - the expand clause@Nonnull public EducationClassCollectionRequest filter(@Nonnull java.lang.String value)
value - the filter clause@Nonnull public EducationClassCollectionRequest orderBy(@Nonnull java.lang.String value)
value - the order by clause@Nonnull public EducationClassCollectionRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public EducationClassCollectionRequest top(int value)
value - the max number of items to return@Nonnull public EducationClassCollectionRequest count(boolean value)
value - whether or not to return the count of objects with the request@Nonnull public EducationClassCollectionRequest count()
@Nonnull public EducationClassCollectionRequest skip(int value)
value - of the number of items to skip@Nonnull public EducationClassCollectionRequest skipToken(@Nonnull java.lang.String skipToken)
skipToken - - Token for pagination