Class BookingBusinessRequestBuilder

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

public class BookingBusinessRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<BookingBusiness>
The class for the Booking Business Request Builder.
  • Constructor Details

    • BookingBusinessRequestBuilder

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

    • buildRequest

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

      @Nonnull public BookingBusinessRequest 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 BookingBusinessRequest instance
    • appointments

      @Nonnull public BookingAppointmentCollectionRequestBuilder appointments()
      Gets a request builder for the BookingAppointment collection
      Returns:
      the collection request builder
    • appointments

      @Nonnull public BookingAppointmentRequestBuilder appointments(@Nonnull String id)
      Gets a request builder for the BookingAppointment item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • calendarView

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

      @Nonnull public BookingAppointmentRequestBuilder calendarView(@Nonnull String id)
      Gets a request builder for the BookingAppointment item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • customers

      @Nonnull public BookingCustomerBaseCollectionRequestBuilder customers()
      Gets a request builder for the BookingCustomerBase collection
      Returns:
      the collection request builder
    • customers

      @Nonnull public BookingCustomerBaseRequestBuilder customers(@Nonnull String id)
      Gets a request builder for the BookingCustomerBase item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • customQuestions

      @Nonnull public BookingCustomQuestionCollectionRequestBuilder customQuestions()
      Gets a request builder for the BookingCustomQuestion collection
      Returns:
      the collection request builder
    • customQuestions

      @Nonnull public BookingCustomQuestionRequestBuilder customQuestions(@Nonnull String id)
      Gets a request builder for the BookingCustomQuestion item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • services

      @Nonnull public BookingServiceCollectionRequestBuilder services()
      Gets a request builder for the BookingService collection
      Returns:
      the collection request builder
    • services

      @Nonnull public BookingServiceRequestBuilder services(@Nonnull String id)
      Gets a request builder for the BookingService item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • staffMembers

      @Nonnull public BookingStaffMemberBaseCollectionRequestBuilder staffMembers()
      Gets a request builder for the BookingStaffMemberBase collection
      Returns:
      the collection request builder
    • staffMembers

      @Nonnull public BookingStaffMemberBaseRequestBuilder staffMembers(@Nonnull String id)
      Gets a request builder for the BookingStaffMemberBase item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • getStaffAvailability

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

      @Nonnull public BookingBusinessPublishRequestBuilder publish()
      Makes the scheduling page of this business available to the general public.
      Returns:
      the request builder
    • unpublish

      @Nonnull public BookingBusinessUnpublishRequestBuilder unpublish()
      Prevents the general public from seeing the scheduling page of this business.
      Returns:
      the request builder