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