Class ScheduleRequestBuilder

java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.joinedteams.item.schedule.ScheduleRequestBuilder

@Generated("com.microsoft.kiota") public class ScheduleRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the schedule property of the microsoft.graph.team entity.
  • Constructor Details

    • ScheduleRequestBuilder

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

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

    • dayNotes

      @Nonnull public DayNotesRequestBuilder dayNotes()
      Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.
      Returns:
      a DayNotesRequestBuilder
    • offerShiftRequests

      @Nonnull public OfferShiftRequestsRequestBuilder offerShiftRequests()
      Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity.
      Returns:
      a OfferShiftRequestsRequestBuilder
    • openShiftChangeRequests

      @Nonnull public OpenShiftChangeRequestsRequestBuilder openShiftChangeRequests()
      Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity.
      Returns:
      a OpenShiftChangeRequestsRequestBuilder
    • openShifts

      @Nonnull public OpenShiftsRequestBuilder openShifts()
      Provides operations to manage the openShifts property of the microsoft.graph.schedule entity.
      Returns:
      a OpenShiftsRequestBuilder
    • schedulingGroups

      @Nonnull public SchedulingGroupsRequestBuilder schedulingGroups()
      Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity.
      Returns:
      a SchedulingGroupsRequestBuilder
    • share

      @Nonnull public ShareRequestBuilder share()
      Provides operations to call the share method.
      Returns:
      a ShareRequestBuilder
    • shifts

      @Nonnull public ShiftsRequestBuilder shifts()
      Provides operations to manage the shifts property of the microsoft.graph.schedule entity.
      Returns:
      a ShiftsRequestBuilder
    • swapShiftsChangeRequests

      @Nonnull public SwapShiftsChangeRequestsRequestBuilder swapShiftsChangeRequests()
      Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity.
      Returns:
      a SwapShiftsChangeRequestsRequestBuilder
    • timeCards

      @Nonnull public TimeCardsRequestBuilder timeCards()
      Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.
      Returns:
      a TimeCardsRequestBuilder
    • timeOffReasons

      @Nonnull public TimeOffReasonsRequestBuilder timeOffReasons()
      Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity.
      Returns:
      a TimeOffReasonsRequestBuilder
    • timeOffRequests

      @Nonnull public TimeOffRequestsRequestBuilder timeOffRequests()
      Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity.
      Returns:
      a TimeOffRequestsRequestBuilder
    • timesOff

      @Nonnull public TimesOffRequestBuilder timesOff()
      Provides operations to manage the timesOff property of the microsoft.graph.schedule entity.
      Returns:
      a TimesOffRequestBuilder
    • delete

      public void delete()
      Delete navigation property schedule for users
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • delete

      public void delete(@Nullable Consumer<ScheduleRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property schedule 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

      @Nullable public Schedule get()
      The schedule of shifts for this team.
      Returns:
      a Schedule
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public Schedule get(@Nullable Consumer<ScheduleRequestBuilder.GetRequestConfiguration> requestConfiguration)
      The schedule of shifts for this team.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a Schedule
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • put

      @Nullable public Schedule put(@Nonnull Schedule body)
      Update the navigation property schedule in users
      Parameters:
      body - The request body
      Returns:
      a Schedule
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • put

      @Nullable public Schedule put(@Nonnull Schedule body, @Nullable Consumer<ScheduleRequestBuilder.PutRequestConfiguration> requestConfiguration)
      Update the navigation property schedule in users
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a Schedule
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete navigation property schedule for users
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ScheduleRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property schedule 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 schedule of shifts for this team.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ScheduleRequestBuilder.GetRequestConfiguration> requestConfiguration)
      The schedule of shifts for this team.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toPutRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPutRequestInformation(@Nonnull Schedule body)
      Update the navigation property schedule in users
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPutRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPutRequestInformation(@Nonnull Schedule body, @Nullable Consumer<ScheduleRequestBuilder.PutRequestConfiguration> requestConfiguration)
      Update the navigation property schedule in users
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public ScheduleRequestBuilder 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 ScheduleRequestBuilder