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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classThe schedule of shifts for this team.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
ConstructorsConstructorDescriptionScheduleRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newScheduleRequestBuilderand sets the default values.ScheduleRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newScheduleRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptiondayNotes()Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.voiddelete()Delete navigation property schedule for usersvoiddelete(Consumer<ScheduleRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property schedule for usersget()The schedule of shifts for this team.get(Consumer<ScheduleRequestBuilder.GetRequestConfiguration> requestConfiguration) The schedule of shifts for this team.Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity.Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity.Provides operations to manage the openShifts property of the microsoft.graph.schedule entity.Update the navigation property schedule in usersput(Schedule body, Consumer<ScheduleRequestBuilder.PutRequestConfiguration> requestConfiguration) Update the navigation property schedule in usersProvides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity.share()Provides operations to call the share method.shifts()Provides operations to manage the shifts property of the microsoft.graph.schedule entity.Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity.Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity.Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity.timesOff()Provides operations to manage the timesOff property of the microsoft.graph.schedule entity.com.microsoft.kiota.RequestInformationDelete navigation property schedule for userscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ScheduleRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property schedule for userscom.microsoft.kiota.RequestInformationThe schedule of shifts for this team.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ScheduleRequestBuilder.GetRequestConfiguration> requestConfiguration) The schedule of shifts for this team.com.microsoft.kiota.RequestInformationUpdate the navigation property schedule in userscom.microsoft.kiota.RequestInformationtoPutRequestInformation(Schedule body, Consumer<ScheduleRequestBuilder.PutRequestConfiguration> requestConfiguration) Update the navigation property schedule in usersReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ScheduleRequestBuilder
public ScheduleRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newScheduleRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ScheduleRequestBuilder
public ScheduleRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newScheduleRequestBuilderand 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
Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.- Returns:
- a
DayNotesRequestBuilder
-
offerShiftRequests
Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity.- Returns:
- a
OfferShiftRequestsRequestBuilder
-
openShiftChangeRequests
Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity.- Returns:
- a
OpenShiftChangeRequestsRequestBuilder
-
openShifts
Provides operations to manage the openShifts property of the microsoft.graph.schedule entity.- Returns:
- a
OpenShiftsRequestBuilder
-
schedulingGroups
Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity.- Returns:
- a
SchedulingGroupsRequestBuilder
-
shifts
Provides operations to manage the shifts property of the microsoft.graph.schedule entity.- Returns:
- a
ShiftsRequestBuilder
-
swapShiftsChangeRequests
Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity.- Returns:
- a
SwapShiftsChangeRequestsRequestBuilder
-
timeCards
Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.- Returns:
- a
TimeCardsRequestBuilder
-
timeOffReasons
Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity.- Returns:
- a
TimeOffReasonsRequestBuilder
-
timeOffRequests
Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity.- Returns:
- a
TimeOffRequestsRequestBuilder
-
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
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
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 bodyrequestConfiguration- 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 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
ScheduleRequestBuilder
-