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 Summary
Constructors Constructor Description MicrosoftGraphCalendarGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: calendarGroup.List<MicrosoftGraphCalendar>
calendars()
Get the calendars property: The calendars in the calendar group.String
changeKey()
Get the changeKey property: Identifies the version of the calendar group.UUID
classId()
Get the classId property: The class identifier.String
name()
Get the name property: The group name.void
validate()
Validates the instance.MicrosoftGraphCalendarGroup
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: calendarGroup.MicrosoftGraphCalendarGroup
withCalendars(List<MicrosoftGraphCalendar> calendars)
Set the calendars property: The calendars in the calendar group.MicrosoftGraphCalendarGroup
withChangeKey(String changeKey)
Set the changeKey property: Identifies the version of the calendar group.MicrosoftGraphCalendarGroup
withClassId(UUID classId)
Set the classId property: The class identifier.MicrosoftGraphCalendarGroup
withId(String id)
Set the id property: Read-only.MicrosoftGraphCalendarGroup
withName(String name)
Set the name property: The group name.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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 classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphCalendarGroup withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: calendarGroup.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- 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 classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-