Class MicrosoftGraphWorkingHours

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

public final class MicrosoftGraphWorkingHours extends Object
workingHours.
  • Constructor Details

    • MicrosoftGraphWorkingHours

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

    • daysOfWeek

      public List<MicrosoftGraphDayOfWeek> daysOfWeek()
      Get the daysOfWeek property: The days of the week on which the user works.
      Returns:
      the daysOfWeek value.
    • withDaysOfWeek

      public MicrosoftGraphWorkingHours withDaysOfWeek(List<MicrosoftGraphDayOfWeek> daysOfWeek)
      Set the daysOfWeek property: The days of the week on which the user works.
      Parameters:
      daysOfWeek - the daysOfWeek value to set.
      Returns:
      the MicrosoftGraphWorkingHours object itself.
    • endTime

      public String endTime()
      Get the endTime property: The time of the day that the user stops working.
      Returns:
      the endTime value.
    • withEndTime

      public MicrosoftGraphWorkingHours withEndTime(String endTime)
      Set the endTime property: The time of the day that the user stops working.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the MicrosoftGraphWorkingHours object itself.
    • startTime

      public String startTime()
      Get the startTime property: The time of the day that the user starts working.
      Returns:
      the startTime value.
    • withStartTime

      public MicrosoftGraphWorkingHours withStartTime(String startTime)
      Set the startTime property: The time of the day that the user starts working.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the MicrosoftGraphWorkingHours object itself.
    • timeZone

      public MicrosoftGraphTimeZoneBase timeZone()
      Get the timeZone property: timeZoneBase.
      Returns:
      the timeZone value.
    • withTimeZone

      Set the timeZone property: timeZoneBase.
      Parameters:
      timeZone - the timeZone value to set.
      Returns:
      the MicrosoftGraphWorkingHours object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: workingHours.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphWorkingHours withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: workingHours.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphWorkingHours object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.