Class VirtualEventsRequestBuilder

java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.solutions.virtualevents.VirtualEventsRequestBuilder

@Generated("com.microsoft.kiota") public class VirtualEventsRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the virtualEvents property of the microsoft.graph.solutionsRoot entity.
  • Constructor Details Link icon

    • VirtualEventsRequestBuilder Link icon

      public VirtualEventsRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new VirtualEventsRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • VirtualEventsRequestBuilder Link icon

      public VirtualEventsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new VirtualEventsRequestBuilder and 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 Link icon

    • events Link icon

      @Nonnull public EventsRequestBuilder events()
      Provides operations to manage the events property of the microsoft.graph.virtualEventsRoot entity.
      Returns:
      a EventsRequestBuilder
    • townhalls Link icon

      @Nonnull public TownhallsRequestBuilder townhalls()
      Provides operations to manage the townhalls property of the microsoft.graph.virtualEventsRoot entity.
      Returns:
      a TownhallsRequestBuilder
    • webinars Link icon

      @Nonnull public WebinarsRequestBuilder webinars()
      Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity.
      Returns:
      a WebinarsRequestBuilder
    • delete Link icon

      public void delete()
      Delete navigation property virtualEvents for solutions
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • delete Link icon

      public void delete(@Nullable Consumer<VirtualEventsRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property virtualEvents for solutions
      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 Link icon

      @Nullable public VirtualEventsRoot get()
      Get virtualEvents from solutions
      Returns:
      a VirtualEventsRoot
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get Link icon

      @Nullable public VirtualEventsRoot get(@Nullable Consumer<VirtualEventsRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Get virtualEvents from solutions
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a VirtualEventsRoot
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch Link icon

      @Nullable public VirtualEventsRoot patch(@Nonnull VirtualEventsRoot body)
      Update the navigation property virtualEvents in solutions
      Parameters:
      body - The request body
      Returns:
      a VirtualEventsRoot
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch Link icon

      @Nullable public VirtualEventsRoot patch(@Nonnull VirtualEventsRoot body, @Nullable Consumer<VirtualEventsRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property virtualEvents in solutions
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a VirtualEventsRoot
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toDeleteRequestInformation Link icon

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete navigation property virtualEvents for solutions
      Returns:
      a RequestInformation
    • toDeleteRequestInformation Link icon

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<VirtualEventsRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property virtualEvents for solutions
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toGetRequestInformation Link icon

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      Get virtualEvents from solutions
      Returns:
      a RequestInformation
    • toGetRequestInformation Link icon

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<VirtualEventsRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Get virtualEvents from solutions
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toPatchRequestInformation Link icon

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull VirtualEventsRoot body)
      Update the navigation property virtualEvents in solutions
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation Link icon

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull VirtualEventsRoot body, @Nullable Consumer<VirtualEventsRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property virtualEvents in solutions
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl Link icon

      @Nonnull public VirtualEventsRequestBuilder withUrl(@Nonnull String rawUrl)
      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 VirtualEventsRequestBuilder