Class EventItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.calendars.item.events.item.EventItemRequestBuilder
@Generated("com.microsoft.kiota")
public class EventItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the events property of the microsoft.graph.calendar entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classThe events in the calendar.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionEventItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEventItemRequestBuilderand sets the default values.EventItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEventItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionaccept()Provides operations to call the accept method.Provides operations to manage the attachments property of the microsoft.graph.event entity.calendar()Provides operations to manage the calendar property of the microsoft.graph.event entity.cancel()Provides operations to call the cancel method.decline()Provides operations to call the decline method.voiddelete()Delete navigation property events for usersvoiddelete(Consumer<EventItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property events for usersProvides operations to call the dismissReminder method.Provides operations to manage the extensions property of the microsoft.graph.event entity.forward()Provides operations to call the forward method.get()The events in the calendar.get(Consumer<EventItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The events in the calendar.Provides operations to manage the instances property of the microsoft.graph.event entity.Update the navigation property events in userspatch(Event body, Consumer<EventItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property events in usersProvides operations to call the permanentDelete method.Provides operations to call the snoozeReminder method.Provides operations to call the tentativelyAccept method.com.microsoft.kiota.RequestInformationDelete navigation property events for userscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<EventItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property events for userscom.microsoft.kiota.RequestInformationThe events in the calendar.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<EventItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The events in the calendar.com.microsoft.kiota.RequestInformationUpdate the navigation property events in userscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Event body, Consumer<EventItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property events in usersReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
EventItemRequestBuilder
public EventItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEventItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
EventItemRequestBuilder
public EventItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newEventItemRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
accept
Provides operations to call the accept method.- Returns:
- a
AcceptRequestBuilder
-
attachments
Provides operations to manage the attachments property of the microsoft.graph.event entity.- Returns:
- a
AttachmentsRequestBuilder
-
calendar
Provides operations to manage the calendar property of the microsoft.graph.event entity.- Returns:
- a
CalendarRequestBuilder
-
cancel
Provides operations to call the cancel method.- Returns:
- a
CancelRequestBuilder
-
decline
Provides operations to call the decline method.- Returns:
- a
DeclineRequestBuilder
-
dismissReminder
Provides operations to call the dismissReminder method.- Returns:
- a
DismissReminderRequestBuilder
-
extensions
Provides operations to manage the extensions property of the microsoft.graph.event entity.- Returns:
- a
ExtensionsRequestBuilder
-
forward
Provides operations to call the forward method.- Returns:
- a
ForwardRequestBuilder
-
instances
Provides operations to manage the instances property of the microsoft.graph.event entity.- Returns:
- a
InstancesRequestBuilder
-
permanentDelete
Provides operations to call the permanentDelete method.- Returns:
- a
PermanentDeleteRequestBuilder
-
snoozeReminder
Provides operations to call the snoozeReminder method.- Returns:
- a
SnoozeReminderRequestBuilder
-
tentativelyAccept
Provides operations to call the tentativelyAccept method.- Returns:
- a
TentativelyAcceptRequestBuilder
-
delete
public void delete()Delete navigation property events for users- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<EventItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property events for users- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
The events in the calendar. Navigation property. Read-only.- Returns:
- a
Event - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Event get(@Nullable Consumer<EventItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The events in the calendar. Navigation property. Read-only.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Event - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property events in users- Parameters:
body- The request body- Returns:
- a
Event - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Event patch(@Nonnull Event body, @Nullable Consumer<EventItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property events in users- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Event - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property events for users- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<EventItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property events for users- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()The events in the calendar. Navigation property. Read-only.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<EventItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The events in the calendar. Navigation property. Read-only.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Event body) Update the navigation property events in users- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Event body, @Nullable Consumer<EventItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property events in users- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
EventItemRequestBuilder
-