MicrosoftGraphCalendar Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphCalendar
- com.
- com.
public final class MicrosoftGraphCalendar
extends MicrosoftGraphEntity
calendar.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphCalendar() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
List<Microsoft |
allowedOnlineMeetingProviders()
Get the allowed |
List<Microsoft |
calendarPermissions()
Get the calendar |
List<Microsoft |
calendarView()
Get the calendar |
Boolean |
canEdit()
Get the can |
Boolean |
canShare()
Get the can |
Boolean |
canViewPrivateItems()
Get the can |
String |
changeKey()
Get the change |
Microsoft |
color()
Get the color property: calendar |
Microsoft |
defaultOnlineMeetingProvider()
Get the default |
List<Microsoft |
events()
Get the events property: The events in the calendar. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
hexColor()
Get the hex |
Boolean |
isDefaultCalendar()
Get the is |
Boolean |
isRemovable()
Get the is |
Boolean |
isTallyingResponses()
Get the is |
List<Microsoft |
multiValueExtendedProperties()
Get the multi |
String |
name()
Get the name property: The calendar name. |
Microsoft |
owner()
Get the owner property: email |
List<Microsoft |
singleValueExtendedProperties()
Get the single |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAllowedOnlineMeetingProviders(List<MicrosoftGraphOnlineMeetingProviderType> allowedOnlineMeetingProviders)
Set the allowed |
Microsoft |
withCalendarPermissions(List<MicrosoftGraphCalendarPermission> calendarPermissions)
Set the calendar |
Microsoft |
withCalendarView(List<MicrosoftGraphEvent> calendarView)
Set the calendar |
Microsoft |
withCanEdit(Boolean canEdit)
Set the can |
Microsoft |
withCanShare(Boolean canShare)
Set the can |
Microsoft |
withCanViewPrivateItems(Boolean canViewPrivateItems)
Set the can |
Microsoft |
withChangeKey(String changeKey)
Set the change |
Microsoft |
withColor(MicrosoftGraphCalendarColor color)
Set the color property: calendar |
Microsoft |
withDefaultOnlineMeetingProvider(MicrosoftGraphOnlineMeetingProviderType defaultOnlineMeetingProvider)
Set the default |
Microsoft |
withEvents(List<MicrosoftGraphEvent> events)
Set the events property: The events in the calendar. |
Microsoft |
withHexColor(String hexColor)
Set the hex |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withIsDefaultCalendar(Boolean isDefaultCalendar)
Set the is |
Microsoft |
withIsRemovable(Boolean isRemovable)
Set the is |
Microsoft |
withIsTallyingResponses(Boolean isTallyingResponses)
Set the is |
Microsoft |
withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)
Set the multi |
Microsoft |
withName(String name)
Set the name property: The calendar name. |
Microsoft |
withOwner(MicrosoftGraphEmailAddress owner)
Set the owner property: email |
Microsoft |
withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)
Set the single |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphCalendar
public MicrosoftGraphCalendar()
Creates an instance of MicrosoftGraphCalendar class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: calendar.
Overrides:
MicrosoftGraphCalendar.additionalProperties()Returns:
allowedOnlineMeetingProviders
public List
Get the allowedOnlineMeetingProviders property: Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
Returns:
calendarPermissions
public List
Get the calendarPermissions property: The permissions of the users with whom the calendar is shared.
Returns:
calendarView
public List
Get the calendarView property: The calendar view for the calendar. Navigation property. Read-only.
Returns:
canEdit
public Boolean canEdit()
Get the canEdit property: 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.
Returns:
canShare
public Boolean canShare()
Get the canShare property: True if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
Returns:
canViewPrivateItems
public Boolean canViewPrivateItems()
Get the canViewPrivateItems property: True if the user can read calendar items that have been marked private, false otherwise.
Returns:
changeKey
public String changeKey()
Get the changeKey property: 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.
Returns:
color
public MicrosoftGraphCalendarColor color()
Get the color property: calendarColor.
Returns:
defaultOnlineMeetingProvider
public MicrosoftGraphOnlineMeetingProviderType defaultOnlineMeetingProvider()
Get the defaultOnlineMeetingProvider property: onlineMeetingProviderType.
Returns:
events
public List
Get the events property: The events in the calendar. Navigation property. Read-only.
Returns:
fromJson
public static MicrosoftGraphCalendar fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphCalendar from the JsonReader.
Parameters:
Returns:
Throws:
hexColor
public String hexColor()
Get the hexColor property: The hexColor property.
Returns:
isDefaultCalendar
public Boolean isDefaultCalendar()
Get the isDefaultCalendar property: The isDefaultCalendar property.
Returns:
isRemovable
public Boolean isRemovable()
Get the isRemovable property: Indicates whether this user calendar can be deleted from the user mailbox.
Returns:
isTallyingResponses
public Boolean isTallyingResponses()
Get the isTallyingResponses property: Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses.
Returns:
multiValueExtendedProperties
public List
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
Returns:
name
public String name()
Get the name property: The calendar name.
Returns:
owner
public MicrosoftGraphEmailAddress owner()
Get the owner property: emailAddress.
Returns:
singleValueExtendedProperties
public List
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphCalendar.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphCalendar.validate()withAdditionalProperties
public MicrosoftGraphCalendar withAdditionalProperties(Map
Set the additionalProperties property: calendar.
Overrides:
MicrosoftGraphCalendar.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAllowedOnlineMeetingProviders
public MicrosoftGraphCalendar withAllowedOnlineMeetingProviders(List
Set the allowedOnlineMeetingProviders property: Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
Parameters:
Returns:
withCalendarPermissions
public MicrosoftGraphCalendar withCalendarPermissions(List
Set the calendarPermissions property: The permissions of the users with whom the calendar is shared.
Parameters:
Returns:
withCalendarView
public MicrosoftGraphCalendar withCalendarView(List
Set the calendarView property: The calendar view for the calendar. Navigation property. Read-only.
Parameters:
Returns:
withCanEdit
public MicrosoftGraphCalendar withCanEdit(Boolean canEdit)
Set the canEdit property: 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.
Parameters:
Returns:
withCanShare
public MicrosoftGraphCalendar withCanShare(Boolean canShare)
Set the canShare property: True if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
Parameters:
Returns:
withCanViewPrivateItems
public MicrosoftGraphCalendar withCanViewPrivateItems(Boolean canViewPrivateItems)
Set the canViewPrivateItems property: True if the user can read calendar items that have been marked private, false otherwise.
Parameters:
Returns:
withChangeKey
public MicrosoftGraphCalendar withChangeKey(String changeKey)
Set the changeKey property: 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.
Parameters:
Returns:
withColor
public MicrosoftGraphCalendar withColor(MicrosoftGraphCalendarColor color)
Set the color property: calendarColor.
Parameters:
Returns:
withDefaultOnlineMeetingProvider
public MicrosoftGraphCalendar withDefaultOnlineMeetingProvider(MicrosoftGraphOnlineMeetingProviderType defaultOnlineMeetingProvider)
Set the defaultOnlineMeetingProvider property: onlineMeetingProviderType.
Parameters:
Returns:
withEvents
public MicrosoftGraphCalendar withEvents(List
Set the events property: The events in the calendar. Navigation property. Read-only.
Parameters:
Returns:
withHexColor
public MicrosoftGraphCalendar withHexColor(String hexColor)
Set the hexColor property: The hexColor property.
Parameters:
Returns:
withId
public MicrosoftGraphCalendar withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphCalendar.withId(String id)Parameters:
withIsDefaultCalendar
public MicrosoftGraphCalendar withIsDefaultCalendar(Boolean isDefaultCalendar)
Set the isDefaultCalendar property: The isDefaultCalendar property.
Parameters:
Returns:
withIsRemovable
public MicrosoftGraphCalendar withIsRemovable(Boolean isRemovable)
Set the isRemovable property: Indicates whether this user calendar can be deleted from the user mailbox.
Parameters:
Returns:
withIsTallyingResponses
public MicrosoftGraphCalendar withIsTallyingResponses(Boolean isTallyingResponses)
Set the isTallyingResponses property: Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses.
Parameters:
Returns:
withMultiValueExtendedProperties
public MicrosoftGraphCalendar withMultiValueExtendedProperties(List
Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
Parameters:
Returns:
withName
public MicrosoftGraphCalendar withName(String name)
Set the name property: The calendar name.
Parameters:
Returns:
withOwner
public MicrosoftGraphCalendar withOwner(MicrosoftGraphEmailAddress owner)
Set the owner property: emailAddress.
Parameters:
Returns:
withSingleValueExtendedProperties
public MicrosoftGraphCalendar withSingleValueExtendedProperties(List
Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
Parameters:
Returns:
Applies to
Azure SDK for Java