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 Details

    • allowedRoles

      @SerializedName(value="allowedRoles", alternate="AllowedRoles") @Expose @Nullable public List<CalendarRoleType> allowedRoles
      The 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 emailAddress
      The 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 isInsideOrganization
      The 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 isRemovable
      The 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

      @SerializedName(value="role", alternate="Role") @Expose @Nullable public CalendarRoleType 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to