Class MicrosoftGraphCalendar
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphCalendar
calendar.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphCalendar class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: calendar.Get the allowedOnlineMeetingProviders property: Represent the online meeting service providers that can be used to create online meetings in this calendar.Get the calendarPermissions property: The permissions of the users with whom the calendar is shared.Get the calendarView property: The calendar view for the calendar.canEdit()Get the canEdit property: True if the user can write to the calendar, false otherwise.canShare()Get the canShare property: True if the user has the permission to share the calendar, false otherwise.Get the canViewPrivateItems property: True if the user can read calendar items that have been marked private, false otherwise.Get the changeKey property: Identifies the version of the calendar object.color()Get the color property: calendarColor.Get the defaultOnlineMeetingProvider property: onlineMeetingProviderType.events()Get the events property: The events in the calendar.hexColor()Get the hexColor property: The hexColor property.Get the isDefaultCalendar property: The isDefaultCalendar property.Get the isRemovable property: Indicates whether this user calendar can be deleted from the user mailbox.Get the isTallyingResponses property: Indicates whether this user calendar supports tracking of meeting responses.Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the calendar.name()Get the name property: The calendar name.owner()Get the owner property: emailAddress.Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the calendar.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: calendar.withAllowedOnlineMeetingProviders(List<MicrosoftGraphOnlineMeetingProviderType> allowedOnlineMeetingProviders) Set the allowedOnlineMeetingProviders property: Represent the online meeting service providers that can be used to create online meetings in this calendar.withCalendarPermissions(List<MicrosoftGraphCalendarPermission> calendarPermissions) Set the calendarPermissions property: The permissions of the users with whom the calendar is shared.withCalendarView(List<MicrosoftGraphEvent> calendarView) Set the calendarView property: The calendar view for the calendar.withCanEdit(Boolean canEdit) Set the canEdit property: True if the user can write to the calendar, false otherwise.withCanShare(Boolean canShare) Set the canShare property: True if the user has the permission to share the calendar, false otherwise.withCanViewPrivateItems(Boolean canViewPrivateItems) Set the canViewPrivateItems property: True if the user can read calendar items that have been marked private, false otherwise.withChangeKey(String changeKey) Set the changeKey property: Identifies the version of the calendar object.Set the color property: calendarColor.withDefaultOnlineMeetingProvider(MicrosoftGraphOnlineMeetingProviderType defaultOnlineMeetingProvider) Set the defaultOnlineMeetingProvider property: onlineMeetingProviderType.withEvents(List<MicrosoftGraphEvent> events) Set the events property: The events in the calendar.withHexColor(String hexColor) Set the hexColor property: The hexColor property.Set the id property: Read-only.withIsDefaultCalendar(Boolean isDefaultCalendar) Set the isDefaultCalendar property: The isDefaultCalendar property.withIsRemovable(Boolean isRemovable) Set the isRemovable property: Indicates whether this user calendar can be deleted from the user mailbox.withIsTallyingResponses(Boolean isTallyingResponses) Set the isTallyingResponses property: Indicates whether this user calendar supports tracking of meeting responses.withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties) Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the calendar.Set the name property: The calendar name.Set the owner property: emailAddress.withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties) Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the calendar.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphCalendar
public MicrosoftGraphCalendar()Creates an instance of MicrosoftGraphCalendar class.
-
-
Method Details
-
allowedOnlineMeetingProviders
Get the allowedOnlineMeetingProviders property: Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.- Returns:
- the allowedOnlineMeetingProviders value.
-
withAllowedOnlineMeetingProviders
public MicrosoftGraphCalendar withAllowedOnlineMeetingProviders(List<MicrosoftGraphOnlineMeetingProviderType> allowedOnlineMeetingProviders) Set the allowedOnlineMeetingProviders property: Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.- Parameters:
allowedOnlineMeetingProviders- the allowedOnlineMeetingProviders value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
canEdit
Get the canEdit property: True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access.- Returns:
- the canEdit value.
-
withCanEdit
Set the canEdit property: True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access.- Parameters:
canEdit- the canEdit value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
canViewPrivateItems
Get the canViewPrivateItems property: True if the user can read calendar items that have been marked private, false otherwise.- Returns:
- the canViewPrivateItems value.
-
withCanViewPrivateItems
Set the canViewPrivateItems property: True if the user can read calendar items that have been marked private, false otherwise.- Parameters:
canViewPrivateItems- the canViewPrivateItems value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
changeKey
Get the changeKey property: Identifies the version of the calendar object. Every time the calendar 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
Set the changeKey property: Identifies the version of the calendar object. Every time the calendar 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 MicrosoftGraphCalendar object itself.
-
color
Get the color property: calendarColor.- Returns:
- the color value.
-
withColor
Set the color property: calendarColor.- Parameters:
color- the color value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
defaultOnlineMeetingProvider
Get the defaultOnlineMeetingProvider property: onlineMeetingProviderType.- Returns:
- the defaultOnlineMeetingProvider value.
-
withDefaultOnlineMeetingProvider
public MicrosoftGraphCalendar withDefaultOnlineMeetingProvider(MicrosoftGraphOnlineMeetingProviderType defaultOnlineMeetingProvider) Set the defaultOnlineMeetingProvider property: onlineMeetingProviderType.- Parameters:
defaultOnlineMeetingProvider- the defaultOnlineMeetingProvider value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
hexColor
Get the hexColor property: The hexColor property.- Returns:
- the hexColor value.
-
withHexColor
Set the hexColor property: The hexColor property.- Parameters:
hexColor- the hexColor value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
isDefaultCalendar
Get the isDefaultCalendar property: The isDefaultCalendar property.- Returns:
- the isDefaultCalendar value.
-
withIsDefaultCalendar
Set the isDefaultCalendar property: The isDefaultCalendar property.- Parameters:
isDefaultCalendar- the isDefaultCalendar value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
isRemovable
Get the isRemovable property: Indicates whether this user calendar can be deleted from the user mailbox.- Returns:
- the isRemovable value.
-
withIsRemovable
Set the isRemovable property: Indicates whether this user calendar can be deleted from the user mailbox.- Parameters:
isRemovable- the isRemovable value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
isTallyingResponses
Get the isTallyingResponses property: Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses.- Returns:
- the isTallyingResponses value.
-
withIsTallyingResponses
Set the isTallyingResponses property: Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses.- Parameters:
isTallyingResponses- the isTallyingResponses value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
name
Get the name property: The calendar name.- Returns:
- the name value.
-
withName
Set the name property: The calendar name.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
owner
Get the owner property: emailAddress.- Returns:
- the owner value.
-
withOwner
Set the owner property: emailAddress.- Parameters:
owner- the owner value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
calendarPermissions
Get the calendarPermissions property: The permissions of the users with whom the calendar is shared.- Returns:
- the calendarPermissions value.
-
withCalendarPermissions
public MicrosoftGraphCalendar withCalendarPermissions(List<MicrosoftGraphCalendarPermission> calendarPermissions) Set the calendarPermissions property: The permissions of the users with whom the calendar is shared.- Parameters:
calendarPermissions- the calendarPermissions value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
calendarView
Get the calendarView property: The calendar view for the calendar. Navigation property. Read-only.- Returns:
- the calendarView value.
-
withCalendarView
Set the calendarView property: The calendar view for the calendar. Navigation property. Read-only.- Parameters:
calendarView- the calendarView value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
events
Get the events property: The events in the calendar. Navigation property. Read-only.- Returns:
- the events value.
-
withEvents
Set the events property: The events in the calendar. Navigation property. Read-only.- Parameters:
events- the events value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
multiValueExtendedProperties
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.- Returns:
- the multiValueExtendedProperties value.
-
withMultiValueExtendedProperties
public MicrosoftGraphCalendar withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties) Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.- Parameters:
multiValueExtendedProperties- the multiValueExtendedProperties value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
singleValueExtendedProperties
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the calendar. Read-only. Nullable.- Returns:
- the singleValueExtendedProperties value.
-
withSingleValueExtendedProperties
public MicrosoftGraphCalendar withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties) Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the calendar. Read-only. Nullable.- Parameters:
singleValueExtendedProperties- the singleValueExtendedProperties value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
additionalProperties
Get the additionalProperties property: calendar.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: calendar.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphCalendar object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-