Class EventItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.groups.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.group entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet an event object.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 an event object.voiddelete(Consumer<EventItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an event object.Provides 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()Get an event object.get(Consumer<EventItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get an event object.Provides operations to manage the instances property of the microsoft.graph.event entity.Update the navigation property events in groupspatch(Event body, Consumer<EventItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property events in groupsProvides operations to call the permanentDelete method.Provides operations to call the snoozeReminder method.Provides operations to call the tentativelyAccept method.com.microsoft.kiota.RequestInformationDelete an event object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<EventItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an event object.com.microsoft.kiota.RequestInformationGet an event object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<EventItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get an event object.com.microsoft.kiota.RequestInformationUpdate the navigation property events in groupscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Event body, Consumer<EventItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property events in groupsReturns 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 an event object.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<EventItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an event object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Get an event object.- Returns:
- a
Event - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Event get(@Nullable Consumer<EventItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get an event object.- 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- See Also:
-
patch
Update the navigation property events in groups- 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 groups- 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 an event object.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<EventItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete an event object.- 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()Get an event object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<EventItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get an event object.- 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 groups- 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 groups- 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
-