GraphCalendarInfo

Inheritance: java.lang.Object, com.aspose.email.BaseRestObject

public class GraphCalendarInfo extends BaseRestObject

Represents information about calendar.

Methods

MethodDescription
canEdit()true if the user can write to the calendar, false otherwise.
canEdit(boolean value)true if the user can write to the calendar, false otherwise.
canShare()true if the user has the permission to share the calendar, false otherwise.
canShare(boolean value)true if the user has the permission to share the calendar, false otherwise.
canViewPrivateItems()true if the user can read calendar items that have been marked private, false otherwise.
canViewPrivateItems(boolean value)true if the user can read calendar items that have been marked private, false otherwise.
equals(Object arg0)
getClass()
getColor()Specifies the color theme to distinguish the calendar from other calendars in a UI.
getDefaultOnlineMeetingProvider()The default online meeting provider for meetings sent from this calendar.
getItemId()Gets string representation of entry ID.
getName()Gets or sets the name of Calendar.
getOwner()If set, this represents the user who created or added the calendar.
getProperties()Gets the mapi properties.
hashCode()
isDefaultCalendar()true if this is the default calendar where new events are created by default, false otherwise.
isRemovable()Indicates whether this user calendar can be deleted from the user mailbox.
isTallyingResponses()Indicates whether this user calendar supports tracking of meeting responses.
notify()
notifyAll()
setColor(int value)Specifies the color theme to distinguish the calendar from other calendars in a UI.
setDefaultCalendar(boolean value)true if this is the default calendar where new events are created by default, false otherwise.
setDefaultOnlineMeetingProvider(int value)The default online meeting provider for meetings sent from this calendar.
setName(String value)Gets or sets the name of Calendar.
setOwner(MailAddress value)If set, this represents the user who created or added the calendar.
setRemovable(boolean value)Indicates whether this user calendar can be deleted from the user mailbox.
setTallyingResponses(boolean value)Indicates whether this user calendar supports tracking of meeting responses.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

canEdit()

public final boolean canEdit()

true if the user can write to the calendar, false otherwise.

Returns: boolean

canEdit(boolean value)

public final void canEdit(boolean value)

true if the user can write to the calendar, false otherwise.

Parameters:

ParameterTypeDescription
valueboolean

canShare()

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.

Returns: boolean

canShare(boolean value)

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.

Parameters:

ParameterTypeDescription
valueboolean

canViewPrivateItems()

public final boolean canViewPrivateItems()

true if the user can read calendar items that have been marked private, false otherwise.

Returns: boolean

canViewPrivateItems(boolean value)

public final void canViewPrivateItems(boolean value)

true if the user can read calendar items that have been marked private, false otherwise.

Parameters:

ParameterTypeDescription
valueboolean

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColor()

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.

Returns: int

getDefaultOnlineMeetingProvider()

public final int getDefaultOnlineMeetingProvider()

The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.

Returns: int

getItemId()

public String getItemId()

Gets string representation of entry ID.

Value: The entry id string.

Returns: java.lang.String

getName()

public String getName()

Gets or sets the name of Calendar.

Returns: java.lang.String

getOwner()

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.

Returns: MailAddress

getProperties()

public MapiPropertyCollection getProperties()

Gets the mapi properties.

Returns: MapiPropertyCollection

hashCode()

public native int hashCode()

Returns: int

isDefaultCalendar()

public final boolean isDefaultCalendar()

true if this is the default calendar where new events are created by default, false otherwise.

Returns: boolean

isRemovable()

public final boolean isRemovable()

Indicates whether this user calendar can be deleted from the user mailbox.

Returns: boolean

isTallyingResponses()

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.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setColor(int value)

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.

Parameters:

ParameterTypeDescription
valueint

setDefaultCalendar(boolean value)

public final void setDefaultCalendar(boolean value)

true if this is the default calendar where new events are created by default, false otherwise.

Parameters:

ParameterTypeDescription
valueboolean

setDefaultOnlineMeetingProvider(int value)

public final void setDefaultOnlineMeetingProvider(int value)

The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.

Parameters:

ParameterTypeDescription
valueint

setName(String value)

public void setName(String value)

Gets or sets the name of Calendar.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setOwner(MailAddress value)

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.

Parameters:

ParameterTypeDescription
valueMailAddress

setRemovable(boolean value)

public final void setRemovable(boolean value)

Indicates whether this user calendar can be deleted from the user mailbox.

Parameters:

ParameterTypeDescription
valueboolean

setTallyingResponses(boolean value)

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.

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int