Class MicrosoftGraphSchedule
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSchedule
schedule.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphSchedule class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: schedule.enabled()Get the enabled property: Indicates whether the schedule is enabled for the team.Get the offerShiftRequests property: The offerShiftRequests property.Get the offerShiftRequestsEnabled property: Indicates whether offer shift requests are enabled for the schedule.Get the openShiftChangeRequests property: The openShiftChangeRequests property.Get the openShifts property: The openShifts property.Get the openShiftsEnabled property: Indicates whether open shifts are enabled for the schedule.Get the provisionStatus property: operationStatus.Get the provisionStatusCode property: Additional information about why schedule provisioning failed.Get the schedulingGroups property: The logical grouping of users in the schedule (usually by role).shifts()Get the shifts property: The shifts in the schedule.Get the swapShiftsChangeRequests property: The swapShiftsChangeRequests property.Get the swapShiftsRequestsEnabled property: Indicates whether swap shifts requests are enabled for the schedule.Get the timeClockEnabled property: Indicates whether time clock is enabled for the schedule.Get the timeOffReasons property: The set of reasons for a time off in the schedule.Get the timeOffRequests property: The timeOffRequests property.Get the timeOffRequestsEnabled property: Indicates whether time off requests are enabled for the schedule.timesOff()Get the timesOff property: The instances of times off in the schedule.timeZone()Get the timeZone property: Indicates the time zone of the schedule team using tz database format.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: schedule.withEnabled(Boolean enabled) Set the enabled property: Indicates whether the schedule is enabled for the team.Set the id property: Read-only.withOfferShiftRequests(List<MicrosoftGraphOfferShiftRequest> offerShiftRequests) Set the offerShiftRequests property: The offerShiftRequests property.withOfferShiftRequestsEnabled(Boolean offerShiftRequestsEnabled) Set the offerShiftRequestsEnabled property: Indicates whether offer shift requests are enabled for the schedule.withOpenShiftChangeRequests(List<MicrosoftGraphOpenShiftChangeRequest> openShiftChangeRequests) Set the openShiftChangeRequests property: The openShiftChangeRequests property.withOpenShifts(List<MicrosoftGraphOpenShift> openShifts) Set the openShifts property: The openShifts property.withOpenShiftsEnabled(Boolean openShiftsEnabled) Set the openShiftsEnabled property: Indicates whether open shifts are enabled for the schedule.withProvisionStatus(MicrosoftGraphOperationStatus provisionStatus) Set the provisionStatus property: operationStatus.withProvisionStatusCode(String provisionStatusCode) Set the provisionStatusCode property: Additional information about why schedule provisioning failed.withSchedulingGroups(List<MicrosoftGraphSchedulingGroup> schedulingGroups) Set the schedulingGroups property: The logical grouping of users in the schedule (usually by role).withShifts(List<MicrosoftGraphShift> shifts) Set the shifts property: The shifts in the schedule.withSwapShiftsChangeRequests(List<MicrosoftGraphSwapShiftsChangeRequest> swapShiftsChangeRequests) Set the swapShiftsChangeRequests property: The swapShiftsChangeRequests property.withSwapShiftsRequestsEnabled(Boolean swapShiftsRequestsEnabled) Set the swapShiftsRequestsEnabled property: Indicates whether swap shifts requests are enabled for the schedule.withTimeClockEnabled(Boolean timeClockEnabled) Set the timeClockEnabled property: Indicates whether time clock is enabled for the schedule.withTimeOffReasons(List<MicrosoftGraphTimeOffReason> timeOffReasons) Set the timeOffReasons property: The set of reasons for a time off in the schedule.withTimeOffRequests(List<MicrosoftGraphTimeOffRequest> timeOffRequests) Set the timeOffRequests property: The timeOffRequests property.withTimeOffRequestsEnabled(Boolean timeOffRequestsEnabled) Set the timeOffRequestsEnabled property: Indicates whether time off requests are enabled for the schedule.withTimesOff(List<MicrosoftGraphTimeOff> timesOff) Set the timesOff property: The instances of times off in the schedule.withTimeZone(String timeZone) Set the timeZone property: Indicates the time zone of the schedule team using tz database format.withWorkforceIntegrationIds(List<String> workforceIntegrationIds) Set the workforceIntegrationIds property: The workforceIntegrationIds property.Get the workforceIntegrationIds property: The workforceIntegrationIds property.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphSchedule
public MicrosoftGraphSchedule()Creates an instance of MicrosoftGraphSchedule class.
-
-
Method Details
-
enabled
Get the enabled property: Indicates whether the schedule is enabled for the team. Required.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Indicates whether the schedule is enabled for the team. Required.- Parameters:
enabled- the enabled value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
offerShiftRequestsEnabled
Get the offerShiftRequestsEnabled property: Indicates whether offer shift requests are enabled for the schedule.- Returns:
- the offerShiftRequestsEnabled value.
-
withOfferShiftRequestsEnabled
Set the offerShiftRequestsEnabled property: Indicates whether offer shift requests are enabled for the schedule.- Parameters:
offerShiftRequestsEnabled- the offerShiftRequestsEnabled value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
openShiftsEnabled
Get the openShiftsEnabled property: Indicates whether open shifts are enabled for the schedule.- Returns:
- the openShiftsEnabled value.
-
withOpenShiftsEnabled
Set the openShiftsEnabled property: Indicates whether open shifts are enabled for the schedule.- Parameters:
openShiftsEnabled- the openShiftsEnabled value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
provisionStatus
Get the provisionStatus property: operationStatus.- Returns:
- the provisionStatus value.
-
withProvisionStatus
Set the provisionStatus property: operationStatus.- Parameters:
provisionStatus- the provisionStatus value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
provisionStatusCode
Get the provisionStatusCode property: Additional information about why schedule provisioning failed.- Returns:
- the provisionStatusCode value.
-
withProvisionStatusCode
Set the provisionStatusCode property: Additional information about why schedule provisioning failed.- Parameters:
provisionStatusCode- the provisionStatusCode value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
swapShiftsRequestsEnabled
Get the swapShiftsRequestsEnabled property: Indicates whether swap shifts requests are enabled for the schedule.- Returns:
- the swapShiftsRequestsEnabled value.
-
withSwapShiftsRequestsEnabled
Set the swapShiftsRequestsEnabled property: Indicates whether swap shifts requests are enabled for the schedule.- Parameters:
swapShiftsRequestsEnabled- the swapShiftsRequestsEnabled value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
timeClockEnabled
Get the timeClockEnabled property: Indicates whether time clock is enabled for the schedule.- Returns:
- the timeClockEnabled value.
-
withTimeClockEnabled
Set the timeClockEnabled property: Indicates whether time clock is enabled for the schedule.- Parameters:
timeClockEnabled- the timeClockEnabled value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
timeOffRequestsEnabled
Get the timeOffRequestsEnabled property: Indicates whether time off requests are enabled for the schedule.- Returns:
- the timeOffRequestsEnabled value.
-
withTimeOffRequestsEnabled
Set the timeOffRequestsEnabled property: Indicates whether time off requests are enabled for the schedule.- Parameters:
timeOffRequestsEnabled- the timeOffRequestsEnabled value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
timeZone
Get the timeZone property: Indicates the time zone of the schedule team using tz database format. Required.- Returns:
- the timeZone value.
-
withTimeZone
Set the timeZone property: Indicates the time zone of the schedule team using tz database format. Required.- Parameters:
timeZone- the timeZone value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
workforceIntegrationIds
Get the workforceIntegrationIds property: The workforceIntegrationIds property.- Returns:
- the workforceIntegrationIds value.
-
withWorkforceIntegrationIds
Set the workforceIntegrationIds property: The workforceIntegrationIds property.- Parameters:
workforceIntegrationIds- the workforceIntegrationIds value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
offerShiftRequests
Get the offerShiftRequests property: The offerShiftRequests property.- Returns:
- the offerShiftRequests value.
-
withOfferShiftRequests
public MicrosoftGraphSchedule withOfferShiftRequests(List<MicrosoftGraphOfferShiftRequest> offerShiftRequests) Set the offerShiftRequests property: The offerShiftRequests property.- Parameters:
offerShiftRequests- the offerShiftRequests value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
openShiftChangeRequests
Get the openShiftChangeRequests property: The openShiftChangeRequests property.- Returns:
- the openShiftChangeRequests value.
-
withOpenShiftChangeRequests
public MicrosoftGraphSchedule withOpenShiftChangeRequests(List<MicrosoftGraphOpenShiftChangeRequest> openShiftChangeRequests) Set the openShiftChangeRequests property: The openShiftChangeRequests property.- Parameters:
openShiftChangeRequests- the openShiftChangeRequests value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
openShifts
Get the openShifts property: The openShifts property.- Returns:
- the openShifts value.
-
withOpenShifts
Set the openShifts property: The openShifts property.- Parameters:
openShifts- the openShifts value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
schedulingGroups
Get the schedulingGroups property: The logical grouping of users in the schedule (usually by role).- Returns:
- the schedulingGroups value.
-
withSchedulingGroups
public MicrosoftGraphSchedule withSchedulingGroups(List<MicrosoftGraphSchedulingGroup> schedulingGroups) Set the schedulingGroups property: The logical grouping of users in the schedule (usually by role).- Parameters:
schedulingGroups- the schedulingGroups value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
shifts
Get the shifts property: The shifts in the schedule.- Returns:
- the shifts value.
-
withShifts
Set the shifts property: The shifts in the schedule.- Parameters:
shifts- the shifts value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
swapShiftsChangeRequests
Get the swapShiftsChangeRequests property: The swapShiftsChangeRequests property.- Returns:
- the swapShiftsChangeRequests value.
-
withSwapShiftsChangeRequests
public MicrosoftGraphSchedule withSwapShiftsChangeRequests(List<MicrosoftGraphSwapShiftsChangeRequest> swapShiftsChangeRequests) Set the swapShiftsChangeRequests property: The swapShiftsChangeRequests property.- Parameters:
swapShiftsChangeRequests- the swapShiftsChangeRequests value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
timeOffReasons
Get the timeOffReasons property: The set of reasons for a time off in the schedule.- Returns:
- the timeOffReasons value.
-
withTimeOffReasons
Set the timeOffReasons property: The set of reasons for a time off in the schedule.- Parameters:
timeOffReasons- the timeOffReasons value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
timeOffRequests
Get the timeOffRequests property: The timeOffRequests property.- Returns:
- the timeOffRequests value.
-
withTimeOffRequests
public MicrosoftGraphSchedule withTimeOffRequests(List<MicrosoftGraphTimeOffRequest> timeOffRequests) Set the timeOffRequests property: The timeOffRequests property.- Parameters:
timeOffRequests- the timeOffRequests value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
timesOff
Get the timesOff property: The instances of times off in the schedule.- Returns:
- the timesOff value.
-
withTimesOff
Set the timesOff property: The instances of times off in the schedule.- Parameters:
timesOff- the timesOff value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
additionalProperties
Get the additionalProperties property: schedule.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: schedule.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphSchedule object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-