public class GraphCalendarInfo extends BaseRestObject
Represents information about calendar.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEdit()
true if the user can write to the calendar, false otherwise.
|
void |
canEdit(boolean value)
true if the user can write to the calendar, false otherwise.
|
boolean |
canShare()
true if the user has the permission to share the calendar, false otherwise.
|
void |
canShare(boolean value)
true if the user has the permission to share the calendar, false otherwise.
|
boolean |
canViewPrivateItems()
true if the user can read calendar items that have been marked private, false otherwise.
|
void |
canViewPrivateItems(boolean value)
true if the user can read calendar items that have been marked private, false otherwise.
|
int |
getColor()
Specifies the color theme to distinguish the calendar from other calendars in a UI.
|
int |
getDefaultOnlineMeetingProvider()
The default online meeting provider for meetings sent from this calendar.
|
String |
getItemId()
Gets string representation of entry ID.
|
String |
getName()
Gets or sets the name of Calendar.
|
MailAddress |
getOwner()
If set, this represents the user who created or added the calendar.
|
boolean |
isDefaultCalendar()
true if this is the default calendar where new events are created by default, false otherwise.
|
boolean |
isRemovable()
Indicates whether this user calendar can be deleted from the user mailbox.
|
boolean |
isTallyingResponses()
Indicates whether this user calendar supports tracking of meeting responses.
|
void |
setColor(int value)
Specifies the color theme to distinguish the calendar from other calendars in a UI.
|
void |
setDefaultCalendar(boolean value)
true if this is the default calendar where new events are created by default, false otherwise.
|
void |
setDefaultOnlineMeetingProvider(int value)
The default online meeting provider for meetings sent from this calendar.
|
void |
setName(String value)
Gets or sets the name of Calendar.
|
void |
setOwner(MailAddress value)
If set, this represents the user who created or added the calendar.
|
void |
setRemovable(boolean value)
Indicates whether this user calendar can be deleted from the user mailbox.
|
void |
setTallyingResponses(boolean value)
Indicates whether this user calendar supports tracking of meeting responses.
|
getPropertiespublic String getName()
Gets or sets the name of Calendar.
public void setName(String value)
Gets or sets the name of Calendar.
public String getItemId()
Gets string representation of entry ID.
Value: The entry id string.public final boolean canEdit()
true if the user can write to the calendar, false otherwise.
public final void canEdit(boolean value)
true if the user can write to the calendar, false otherwise.
public final boolean canShare()
true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
public final void canShare(boolean value)
true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
public final boolean canViewPrivateItems()
true if the user can read calendar items that have been marked private, false otherwise.
public final void canViewPrivateItems(boolean value)
true if the user can read calendar items that have been marked private, false otherwise.
public final int getColor()
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.
public final void setColor(int value)
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.
public final int getDefaultOnlineMeetingProvider()
The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
public final void setDefaultOnlineMeetingProvider(int value)
The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
public final boolean isDefaultCalendar()
true if this is the default calendar where new events are created by default, false otherwise.
public final void setDefaultCalendar(boolean value)
true if this is the default calendar where new events are created by default, false otherwise.
public final boolean isRemovable()
Indicates whether this user calendar can be deleted from the user mailbox.
public final void setRemovable(boolean value)
Indicates whether this user calendar can be deleted from the user mailbox.
public final boolean isTallyingResponses()
Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses.
public final void setTallyingResponses(boolean value)
Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses.
public final MailAddress getOwner()
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.
public final void setOwner(MailAddress value)
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.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.