Class MicrosoftGraphScheduleInformation

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

public final class MicrosoftGraphScheduleInformation extends Object
scheduleInformation.
  • Constructor Details

    • MicrosoftGraphScheduleInformation

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

    • availabilityView

      public String availabilityView()
      Get the availabilityView property: Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free, 1= tentative, 2= busy, 3= out of office, 4= working elsewhere.
      Returns:
      the availabilityView value.
    • withAvailabilityView

      public MicrosoftGraphScheduleInformation withAvailabilityView(String availabilityView)
      Set the availabilityView property: Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free, 1= tentative, 2= busy, 3= out of office, 4= working elsewhere.
      Parameters:
      availabilityView - the availabilityView value to set.
      Returns:
      the MicrosoftGraphScheduleInformation object itself.
    • error

      Get the error property: freeBusyError.
      Returns:
      the error value.
    • withError

      Set the error property: freeBusyError.
      Parameters:
      error - the error value to set.
      Returns:
      the MicrosoftGraphScheduleInformation object itself.
    • scheduleId

      public String scheduleId()
      Get the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.
      Returns:
      the scheduleId value.
    • withScheduleId

      public MicrosoftGraphScheduleInformation withScheduleId(String scheduleId)
      Set the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.
      Parameters:
      scheduleId - the scheduleId value to set.
      Returns:
      the MicrosoftGraphScheduleInformation object itself.
    • scheduleItems

      public List<MicrosoftGraphScheduleItem> scheduleItems()
      Get the scheduleItems property: Contains the items that describe the availability of the user or resource.
      Returns:
      the scheduleItems value.
    • withScheduleItems

      public MicrosoftGraphScheduleInformation withScheduleItems(List<MicrosoftGraphScheduleItem> scheduleItems)
      Set the scheduleItems property: Contains the items that describe the availability of the user or resource.
      Parameters:
      scheduleItems - the scheduleItems value to set.
      Returns:
      the MicrosoftGraphScheduleInformation object itself.
    • workingHours

      public MicrosoftGraphWorkingHours workingHours()
      Get the workingHours property: workingHours.
      Returns:
      the workingHours value.
    • withWorkingHours

      public MicrosoftGraphScheduleInformation withWorkingHours(MicrosoftGraphWorkingHours workingHours)
      Set the workingHours property: workingHours.
      Parameters:
      workingHours - the workingHours value to set.
      Returns:
      the MicrosoftGraphScheduleInformation object itself.
    • additionalProperties

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

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

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