Class MicrosoftGraphShiftAvailability
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShiftAvailability
shiftAvailability.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphShiftAvailability class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: shiftAvailability.Get the recurrence property: patternedRecurrence.Get the timeSlots property: The time slot(s) preferred by the user.timeZone()Get the timeZone property: Specifies the time zone for the indicated time.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: shiftAvailability.withRecurrence(MicrosoftGraphPatternedRecurrence recurrence) Set the recurrence property: patternedRecurrence.withTimeSlots(List<MicrosoftGraphTimeRange> timeSlots) Set the timeSlots property: The time slot(s) preferred by the user.withTimeZone(String timeZone) Set the timeZone property: Specifies the time zone for the indicated time.
-
Constructor Details
-
MicrosoftGraphShiftAvailability
public MicrosoftGraphShiftAvailability()Creates an instance of MicrosoftGraphShiftAvailability class.
-
-
Method Details
-
recurrence
Get the recurrence property: patternedRecurrence.- Returns:
- the recurrence value.
-
withRecurrence
Set the recurrence property: patternedRecurrence.- Parameters:
recurrence- the recurrence value to set.- Returns:
- the MicrosoftGraphShiftAvailability object itself.
-
timeSlots
Get the timeSlots property: The time slot(s) preferred by the user.- Returns:
- the timeSlots value.
-
withTimeSlots
Set the timeSlots property: The time slot(s) preferred by the user.- Parameters:
timeSlots- the timeSlots value to set.- Returns:
- the MicrosoftGraphShiftAvailability object itself.
-
timeZone
Get the timeZone property: Specifies the time zone for the indicated time.- Returns:
- the timeZone value.
-
withTimeZone
Set the timeZone property: Specifies the time zone for the indicated time.- Parameters:
timeZone- the timeZone value to set.- Returns:
- the MicrosoftGraphShiftAvailability object itself.
-
additionalProperties
Get the additionalProperties property: shiftAvailability.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphShiftAvailability withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: shiftAvailability.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphShiftAvailability object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-