Class MicrosoftGraphShiftAvailability

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShiftAvailability

public final class MicrosoftGraphShiftAvailability extends Object
shiftAvailability.
  • Constructor Details

    • MicrosoftGraphShiftAvailability

      public MicrosoftGraphShiftAvailability()
      Creates an instance of MicrosoftGraphShiftAvailability class.
  • Method Details

    • recurrence

      public MicrosoftGraphPatternedRecurrence 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

      public List<MicrosoftGraphTimeRange> 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

      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.