public class TimeOffRequestRequest extends com.microsoft.graph.http.BaseRequest<TimeOffRequest>
| Constructor and Description |
|---|
TimeOffRequestRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the TimeOffRequest
|
| Modifier and Type | Method and Description |
|---|---|
TimeOffRequest |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<TimeOffRequest> |
deleteAsync()
Delete this item from the service
|
TimeOffRequestRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
TimeOffRequest |
get()
Gets the TimeOffRequest from the service
|
java.util.concurrent.CompletableFuture<TimeOffRequest> |
getAsync()
Gets the TimeOffRequest from the service
|
TimeOffRequest |
patch(TimeOffRequest sourceTimeOffRequest)
Patches this TimeOffRequest with a source
|
java.util.concurrent.CompletableFuture<TimeOffRequest> |
patchAsync(TimeOffRequest sourceTimeOffRequest)
Patches this TimeOffRequest with a source
|
TimeOffRequest |
post(TimeOffRequest newTimeOffRequest)
Creates a TimeOffRequest with a new object
|
java.util.concurrent.CompletableFuture<TimeOffRequest> |
postAsync(TimeOffRequest newTimeOffRequest)
Creates a TimeOffRequest with a new object
|
TimeOffRequest |
put(TimeOffRequest newTimeOffRequest)
Creates a TimeOffRequest with a new object
|
java.util.concurrent.CompletableFuture<TimeOffRequest> |
putAsync(TimeOffRequest newTimeOffRequest)
Creates a TimeOffRequest with a new object
|
TimeOffRequestRequest |
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, withHttpMethodpublic TimeOffRequestRequest(@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<TimeOffRequest> getAsync()
@Nullable public TimeOffRequest 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<TimeOffRequest> deleteAsync()
@Nullable public TimeOffRequest 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<TimeOffRequest> patchAsync(@Nonnull TimeOffRequest sourceTimeOffRequest)
sourceTimeOffRequest - the source object with updates@Nullable public TimeOffRequest patch(@Nonnull TimeOffRequest sourceTimeOffRequest) throws com.microsoft.graph.core.ClientException
sourceTimeOffRequest - 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<TimeOffRequest> postAsync(@Nonnull TimeOffRequest newTimeOffRequest)
newTimeOffRequest - the new object to create@Nullable public TimeOffRequest post(@Nonnull TimeOffRequest newTimeOffRequest) throws com.microsoft.graph.core.ClientException
newTimeOffRequest - 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<TimeOffRequest> putAsync(@Nonnull TimeOffRequest newTimeOffRequest)
newTimeOffRequest - the object to create/update@Nullable public TimeOffRequest put(@Nonnull TimeOffRequest newTimeOffRequest) throws com.microsoft.graph.core.ClientException
newTimeOffRequest - the object to create/updatecom.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public TimeOffRequestRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public TimeOffRequestRequest expand(@Nonnull java.lang.String value)
value - the expand clause