Package com.microsoft.graph.models
Class Calendar
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Calendar
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Calendar.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Allowed Online Meeting Providers.The Calendar Permissions.The Calendar View.The Can Edit.The Can Share.The Can View Private Items.The Change Key.The Color.The Default Online Meeting Provider.The Events.The Hex Color.The Is Default Calendar.The Is Removable.The Is Tallying Responses.The Multi Value Extended Properties.The Name.The Owner.The Single Value Extended Properties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
allowedOnlineMeetingProviders
@SerializedName(value="allowedOnlineMeetingProviders", alternate="AllowedOnlineMeetingProviders") @Expose @Nullable public List<OnlineMeetingProviderType> allowedOnlineMeetingProvidersThe Allowed Online Meeting Providers. Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. -
canEdit
The Can Edit. 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. -
canViewPrivateItems
@SerializedName(value="canViewPrivateItems", alternate="CanViewPrivateItems") @Expose @Nullable public Boolean canViewPrivateItemsThe Can View Private Items. true if the user can read calendar items that have been marked private, false otherwise. -
changeKey
The Change Key. 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. -
color
The Color. Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor. -
defaultOnlineMeetingProvider
@SerializedName(value="defaultOnlineMeetingProvider", alternate="DefaultOnlineMeetingProvider") @Expose @Nullable public OnlineMeetingProviderType defaultOnlineMeetingProviderThe Default Online Meeting Provider. The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. -
hexColor
The Hex Color. The calendar color, expressed in a hex color code of three hexadecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty. Read-only. -
isDefaultCalendar
@SerializedName(value="isDefaultCalendar", alternate="IsDefaultCalendar") @Expose @Nullable public Boolean isDefaultCalendarThe Is Default Calendar. true if this is the default calendar where new events are created by default, false otherwise. -
isRemovable
@SerializedName(value="isRemovable", alternate="IsRemovable") @Expose @Nullable public Boolean isRemovableThe Is Removable. Indicates whether this user calendar can be deleted from the user mailbox. -
isTallyingResponses
@SerializedName(value="isTallyingResponses", alternate="IsTallyingResponses") @Expose @Nullable public Boolean isTallyingResponsesThe Is Tallying Responses. Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. -
name
The Name. The calendar name. -
owner
The Owner. If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. -
calendarPermissions
@SerializedName(value="calendarPermissions", alternate="CalendarPermissions") @Expose @Nullable public CalendarPermissionCollectionPage calendarPermissionsThe Calendar Permissions. The permissions of the users with whom the calendar is shared. -
calendarView
@SerializedName(value="calendarView", alternate="CalendarView") @Expose @Nullable public EventCollectionPage calendarViewThe Calendar View. The calendar view for the calendar. Navigation property. Read-only. -
events
@SerializedName(value="events", alternate="Events") @Expose @Nullable public EventCollectionPage eventsThe Events. The events in the calendar. Navigation property. Read-only. -
multiValueExtendedProperties
@SerializedName(value="multiValueExtendedProperties", alternate="MultiValueExtendedProperties") @Expose @Nullable public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedPropertiesThe Multi Value Extended Properties. The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. -
singleValueExtendedProperties
@SerializedName(value="singleValueExtendedProperties", alternate="SingleValueExtendedProperties") @Expose @Nullable public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedPropertiesThe Single Value Extended Properties. The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
-
-
Constructor Details
-
Calendar
public Calendar()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-