Class MicrosoftGraphCalendarGroup

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphCalendarGroup

public final class MicrosoftGraphCalendarGroup extends MicrosoftGraphEntity
calendarGroup.
  • Constructor Details

    • MicrosoftGraphCalendarGroup

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

    • changeKey

      public String changeKey()
      Get the changeKey property: Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
      Returns:
      the changeKey value.
    • withChangeKey

      public MicrosoftGraphCalendarGroup withChangeKey(String changeKey)
      Set the changeKey property: Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
      Parameters:
      changeKey - the changeKey value to set.
      Returns:
      the MicrosoftGraphCalendarGroup object itself.
    • classId

      public UUID classId()
      Get the classId property: The class identifier. Read-only.
      Returns:
      the classId value.
    • withClassId

      public MicrosoftGraphCalendarGroup withClassId(UUID classId)
      Set the classId property: The class identifier. Read-only.
      Parameters:
      classId - the classId value to set.
      Returns:
      the MicrosoftGraphCalendarGroup object itself.
    • name

      public String name()
      Get the name property: The group name.
      Returns:
      the name value.
    • withName

      public MicrosoftGraphCalendarGroup withName(String name)
      Set the name property: The group name.
      Parameters:
      name - the name value to set.
      Returns:
      the MicrosoftGraphCalendarGroup object itself.
    • calendars

      public List<MicrosoftGraphCalendar> calendars()
      Get the calendars property: The calendars in the calendar group. Navigation property. Read-only. Nullable.
      Returns:
      the calendars value.
    • withCalendars

      public MicrosoftGraphCalendarGroup withCalendars(List<MicrosoftGraphCalendar> calendars)
      Set the calendars property: The calendars in the calendar group. Navigation property. Read-only. Nullable.
      Parameters:
      calendars - the calendars value to set.
      Returns:
      the MicrosoftGraphCalendarGroup object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: calendarGroup.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphCalendarGroup withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: calendarGroup.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphCalendarGroup object itself.
    • withId

      public MicrosoftGraphCalendarGroup withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

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