Class CalendarRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Calendar>
com.microsoft.graph.requests.CalendarRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

public class CalendarRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<Calendar>
The class for the Calendar Request Builder.
  • Constructor Details

    • CalendarRequestBuilder

      public CalendarRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions)
      The request builder for the Calendar
      Parameters:
      requestUrl - the request URL
      client - the service client
      requestOptions - the options for this request
  • Method Details

    • buildRequest

      @Nonnull public CalendarRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions)
      Creates the request
      Parameters:
      requestOptions - the options for this request
      Returns:
      the CalendarRequest instance
    • buildRequest

      @Nonnull public CalendarRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions)
      Creates the request with specific requestOptions instead of the existing requestOptions
      Parameters:
      requestOptions - the options for this request
      Returns:
      the CalendarRequest instance
    • calendarPermissions

      @Nonnull public CalendarPermissionCollectionRequestBuilder calendarPermissions()
      Gets a request builder for the CalendarPermission collection
      Returns:
      the collection request builder
    • calendarPermissions

      @Nonnull public CalendarPermissionRequestBuilder calendarPermissions(@Nonnull String id)
      Gets a request builder for the CalendarPermission item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • calendarView

      @Nonnull public EventCollectionRequestBuilder calendarView()
      Gets a request builder for the Event collection
      Returns:
      the collection request builder
    • calendarView

      @Nonnull public EventRequestBuilder calendarView(@Nonnull String id)
      Gets a request builder for the Event item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • events

      @Nonnull public EventCollectionRequestBuilder events()
      Gets a request builder for the Event collection
      Returns:
      the collection request builder
    • events

      @Nonnull public EventRequestBuilder events(@Nonnull String id)
      Gets a request builder for the Event item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • multiValueExtendedProperties

      @Nonnull public MultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties()
      Gets a request builder for the MultiValueLegacyExtendedProperty collection
      Returns:
      the collection request builder
    • multiValueExtendedProperties

      @Nonnull public MultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(@Nonnull String id)
      Gets a request builder for the MultiValueLegacyExtendedProperty item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • singleValueExtendedProperties

      @Nonnull public SingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties()
      Gets a request builder for the SingleValueLegacyExtendedProperty collection
      Returns:
      the collection request builder
    • singleValueExtendedProperties

      @Nonnull public SingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(@Nonnull String id)
      Gets a request builder for the SingleValueLegacyExtendedProperty item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • getSchedule

      @Nonnull public CalendarGetScheduleCollectionRequestBuilder getSchedule(@Nonnull CalendarGetScheduleParameterSet parameters)
      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder collection
    • allowedCalendarSharingRoles

      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder collection