Package com.microsoft.graph.models
Class CalendarPermission
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.CalendarPermission
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class CalendarPermission
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Calendar Permission.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Allowed Roles.The Email Address.The Is Inside Organization.The Is Removable.The Role. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
allowedRoles
@SerializedName(value="allowedRoles", alternate="AllowedRoles") @Expose @Nullable public List<CalendarRoleType> allowedRolesThe Allowed Roles. List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. -
emailAddress
@SerializedName(value="emailAddress", alternate="EmailAddress") @Expose @Nullable public EmailAddress emailAddressThe Email Address. Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. -
isInsideOrganization
@SerializedName(value="isInsideOrganization", alternate="IsInsideOrganization") @Expose @Nullable public Boolean isInsideOrganizationThe Is Inside Organization. True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. -
isRemovable
@SerializedName(value="isRemovable", alternate="IsRemovable") @Expose @Nullable public Boolean isRemovableThe Is Removable. True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. -
role
The Role. Current permission level of the calendar sharee or delegate.
-
-
Constructor Details
-
CalendarPermission
public CalendarPermission()
-
-
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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-