Class MicrosoftGraphShiftAvailability
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShiftAvailability
-
public final class MicrosoftGraphShiftAvailability extends Object
shiftAvailability.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphShiftAvailability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: shiftAvailability.MicrosoftGraphPatternedRecurrence
recurrence()
Get the recurrence property: patternedRecurrence.List<MicrosoftGraphTimeRange>
timeSlots()
Get the timeSlots property: The time slot(s) preferred by the user.String
timeZone()
Get the timeZone property: Specifies the time zone for the indicated time.void
validate()
Validates the instance.MicrosoftGraphShiftAvailability
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: shiftAvailability.MicrosoftGraphShiftAvailability
withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
Set the recurrence property: patternedRecurrence.MicrosoftGraphShiftAvailability
withTimeSlots(List<MicrosoftGraphTimeRange> timeSlots)
Set the timeSlots property: The time slot(s) preferred by the user.MicrosoftGraphShiftAvailability
withTimeZone(String timeZone)
Set the timeZone property: Specifies the time zone for the indicated time.
-
-
-
Method Detail
-
recurrence
public MicrosoftGraphPatternedRecurrence recurrence()
Get the recurrence property: patternedRecurrence.- Returns:
- the recurrence value.
-
withRecurrence
public MicrosoftGraphShiftAvailability withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
Set the recurrence property: patternedRecurrence.- Parameters:
recurrence
- the recurrence value to set.- Returns:
- the MicrosoftGraphShiftAvailability object itself.
-
timeSlots
public List<MicrosoftGraphTimeRange> timeSlots()
Get the timeSlots property: The time slot(s) preferred by the user.- Returns:
- the timeSlots value.
-
withTimeSlots
public MicrosoftGraphShiftAvailability withTimeSlots(List<MicrosoftGraphTimeRange> timeSlots)
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
public String timeZone()
Get the timeZone property: Specifies the time zone for the indicated time.- Returns:
- the timeZone value.
-
withTimeZone
public MicrosoftGraphShiftAvailability withTimeZone(String timeZone)
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
public Map<String,Object> 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.
-
-