Class MicrosoftGraphShiftAvailability


  • public final class MicrosoftGraphShiftAvailability
    extends Object
    shiftAvailability.
    • Constructor Detail

      • MicrosoftGraphShiftAvailability

        public MicrosoftGraphShiftAvailability()
    • Method Detail

      • 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.