MicrosoftGraphCalendarGroup Class

public final class MicrosoftGraphCalendarGroup
extends MicrosoftGraphEntity

calendarGroup.

Constructor Summary

Constructor Description
MicrosoftGraphCalendarGroup()

Creates an instance of MicrosoftGraphCalendarGroup class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: calendarGroup.

List<MicrosoftGraphCalendar> calendars()

Get the calendars property: The calendars in the calendar group.

String changeKey()

Get the changeKey property: Identifies the version of the calendar group.

UUID classId()

Get the classId property: The class identifier.

static MicrosoftGraphCalendarGroup fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCalendarGroup from the JsonReader.

String name()

Get the name property: The group name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphCalendarGroup withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: calendarGroup.

MicrosoftGraphCalendarGroup withCalendars(List<MicrosoftGraphCalendar> calendars)

Set the calendars property: The calendars in the calendar group.

MicrosoftGraphCalendarGroup withChangeKey(String changeKey)

Set the changeKey property: Identifies the version of the calendar group.

MicrosoftGraphCalendarGroup withClassId(UUID classId)

Set the classId property: The class identifier.

MicrosoftGraphCalendarGroup withId(String id)

Set the id property: Read-only.

MicrosoftGraphCalendarGroup withName(String name)

Set the name property: The group name.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphCalendarGroup

public MicrosoftGraphCalendarGroup()

Creates an instance of MicrosoftGraphCalendarGroup class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: calendarGroup.

Overrides:

MicrosoftGraphCalendarGroup.additionalProperties()

Returns:

the additionalProperties value.

calendars

public List calendars()

Get the calendars property: The calendars in the calendar group. Navigation property. Read-only. Nullable.

Returns:

the calendars value.

changeKey

public String changeKey()

Get the changeKey property: Identifies the version of the calendar group. Every time the calendar group 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.

classId

public UUID classId()

Get the classId property: The class identifier. Read-only.

Returns:

the classId value.

fromJson

public static MicrosoftGraphCalendarGroup fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCalendarGroup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphCalendarGroup if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphCalendarGroup.

name

public String name()

Get the name property: The group name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphCalendarGroup.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphCalendarGroup.validate()

withAdditionalProperties

public MicrosoftGraphCalendarGroup withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: calendarGroup.

Overrides:

MicrosoftGraphCalendarGroup.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphCalendarGroup object itself.

withCalendars

public MicrosoftGraphCalendarGroup withCalendars(List calendars)

Set the calendars property: The calendars in the calendar group. Navigation property. Read-only. Nullable.

Parameters:

calendars - the calendars value to set.

Returns:

the MicrosoftGraphCalendarGroup object itself.

withChangeKey

public MicrosoftGraphCalendarGroup withChangeKey(String changeKey)

Set the changeKey property: Identifies the version of the calendar group. Every time the calendar group 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 MicrosoftGraphCalendarGroup object itself.

withClassId

public MicrosoftGraphCalendarGroup withClassId(UUID classId)

Set the classId property: The class identifier. Read-only.

Parameters:

classId - the classId value to set.

Returns:

the MicrosoftGraphCalendarGroup object itself.

withId

public MicrosoftGraphCalendarGroup withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphCalendarGroup.withId(String id)

Parameters:

id

withName

public MicrosoftGraphCalendarGroup withName(String name)

Set the name property: The group name.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphCalendarGroup object itself.

Applies to