public class EducationUserRequest extends com.microsoft.graph.http.BaseRequest<EducationUser>
Constructor and Description |
---|
EducationUserRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the EducationUser
|
Modifier and Type | Method and Description |
---|---|
EducationUser |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<EducationUser> |
deleteAsync()
Delete this item from the service
|
EducationUserRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
EducationUser |
get()
Gets the EducationUser from the service
|
java.util.concurrent.CompletableFuture<EducationUser> |
getAsync()
Gets the EducationUser from the service
|
EducationUser |
patch(EducationUser sourceEducationUser)
Patches this EducationUser with a source
|
java.util.concurrent.CompletableFuture<EducationUser> |
patchAsync(EducationUser sourceEducationUser)
Patches this EducationUser with a source
|
EducationUser |
post(EducationUser newEducationUser)
Creates a EducationUser with a new object
|
java.util.concurrent.CompletableFuture<EducationUser> |
postAsync(EducationUser newEducationUser)
Creates a EducationUser with a new object
|
EducationUser |
put(EducationUser newEducationUser)
Creates a EducationUser with a new object
|
java.util.concurrent.CompletableFuture<EducationUser> |
putAsync(EducationUser newEducationUser)
Creates a EducationUser with a new object
|
EducationUserRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public EducationUserRequest(@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> getAsync()
@Nullable public EducationUser get() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<EducationUser> deleteAsync()
@Nullable public EducationUser delete() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- if there was an exception during the delete operation@Nonnull public java.util.concurrent.CompletableFuture<EducationUser> patchAsync(@Nonnull EducationUser sourceEducationUser)
sourceEducationUser
- the source object with updates@Nullable public EducationUser patch(@Nonnull EducationUser sourceEducationUser) throws com.microsoft.graph.core.ClientException
sourceEducationUser
- the source object with updatescom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<EducationUser> postAsync(@Nonnull EducationUser newEducationUser)
newEducationUser
- the new object to create@Nullable public EducationUser post(@Nonnull EducationUser newEducationUser) throws com.microsoft.graph.core.ClientException
newEducationUser
- the new object to createcom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<EducationUser> putAsync(@Nonnull EducationUser newEducationUser)
newEducationUser
- the object to create/update@Nullable public EducationUser put(@Nonnull EducationUser newEducationUser) throws com.microsoft.graph.core.ClientException
newEducationUser
- the object to create/updatecom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public EducationUserRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public EducationUserRequest expand(@Nonnull java.lang.String value)
value
- the expand clause