Class Calendar

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Calendar
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Calendar extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Calendar.
  • Field Details

    • allowedOnlineMeetingProviders

      @SerializedName(value="allowedOnlineMeetingProviders", alternate="AllowedOnlineMeetingProviders") @Expose @Nullable public List<OnlineMeetingProviderType> allowedOnlineMeetingProviders
      The 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

      @SerializedName(value="canEdit", alternate="CanEdit") @Expose @Nullable public Boolean 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.
    • canShare

      @SerializedName(value="canShare", alternate="CanShare") @Expose @Nullable public Boolean canShare
      The Can Share. true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
    • canViewPrivateItems

      @SerializedName(value="canViewPrivateItems", alternate="CanViewPrivateItems") @Expose @Nullable public Boolean canViewPrivateItems
      The Can View Private Items. true if the user can read calendar items that have been marked private, false otherwise.
    • changeKey

      @SerializedName(value="changeKey", alternate="ChangeKey") @Expose @Nullable public String 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

      @SerializedName(value="color", alternate="Color") @Expose @Nullable public CalendarColor 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 defaultOnlineMeetingProvider
      The Default Online Meeting Provider. The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
    • hexColor

      @SerializedName(value="hexColor", alternate="HexColor") @Expose @Nullable public String 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 isDefaultCalendar
      The 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 isRemovable
      The Is Removable. Indicates whether this user calendar can be deleted from the user mailbox.
    • isTallyingResponses

      @SerializedName(value="isTallyingResponses", alternate="IsTallyingResponses") @Expose @Nullable public Boolean isTallyingResponses
      The 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

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name. The calendar name.
    • owner

      @SerializedName(value="owner", alternate="Owner") @Expose @Nullable public EmailAddress 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 calendarPermissions
      The Calendar Permissions. The permissions of the users with whom the calendar is shared.
    • calendarView

      @SerializedName(value="calendarView", alternate="CalendarView") @Expose @Nullable public EventCollectionPage calendarView
      The Calendar View. The calendar view for the calendar. Navigation property. Read-only.
    • events

      @SerializedName(value="events", alternate="Events") @Expose @Nullable public EventCollectionPage events
      The Events. The events in the calendar. Navigation property. Read-only.
    • multiValueExtendedProperties

      @SerializedName(value="multiValueExtendedProperties", alternate="MultiValueExtendedProperties") @Expose @Nullable public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties
      The 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 singleValueExtendedProperties
      The 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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to