MicrosoftGraphCalendarPermission Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphCalendarPermission
- com.
- com.
public final class MicrosoftGraphCalendarPermission
extends MicrosoftGraphEntity
calendarPermission.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphCalendarPermission() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
List<Microsoft |
allowedRoles()
Get the allowed |
Microsoft |
emailAddress()
Get the email |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
isInsideOrganization()
Get the is |
Boolean |
isRemovable()
Get the is |
Microsoft |
role()
Get the role property: calendar |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAllowedRoles(List<MicrosoftGraphCalendarRoleType> allowedRoles)
Set the allowed |
Microsoft |
withEmailAddress(MicrosoftGraphEmailAddress emailAddress)
Set the email |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withIsInsideOrganization(Boolean isInsideOrganization)
Set the is |
Microsoft |
withIsRemovable(Boolean isRemovable)
Set the is |
Microsoft |
withRole(MicrosoftGraphCalendarRoleType role)
Set the role property: calendar |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphCalendarPermission
public MicrosoftGraphCalendarPermission()
Creates an instance of MicrosoftGraphCalendarPermission class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: calendarPermission.
Overrides:
MicrosoftGraphCalendarPermission.additionalProperties()Returns:
allowedRoles
public List
Get the allowedRoles property: List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom.
Returns:
emailAddress
public MicrosoftGraphEmailAddress emailAddress()
Get the emailAddress property: emailAddress.
Returns:
fromJson
public static MicrosoftGraphCalendarPermission fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphCalendarPermission from the JsonReader.
Parameters:
Returns:
Throws:
isInsideOrganization
public Boolean isInsideOrganization()
Get the isInsideOrganization property: True if the user in context (sharee or delegate) is inside the same organization as the calendar owner.
Returns:
isRemovable
public Boolean isRemovable()
Get the isRemovable property: 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.
Returns:
role
public MicrosoftGraphCalendarRoleType role()
Get the role property: calendarRoleType.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphCalendarPermission.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphCalendarPermission.validate()withAdditionalProperties
public MicrosoftGraphCalendarPermission withAdditionalProperties(Map
Set the additionalProperties property: calendarPermission.
Overrides:
MicrosoftGraphCalendarPermission.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAllowedRoles
public MicrosoftGraphCalendarPermission withAllowedRoles(List
Set the allowedRoles property: List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom.
Parameters:
Returns:
withEmailAddress
public MicrosoftGraphCalendarPermission withEmailAddress(MicrosoftGraphEmailAddress emailAddress)
Set the emailAddress property: emailAddress.
Parameters:
Returns:
withId
public MicrosoftGraphCalendarPermission withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphCalendarPermission.withId(String id)Parameters:
withIsInsideOrganization
public MicrosoftGraphCalendarPermission withIsInsideOrganization(Boolean isInsideOrganization)
Set the isInsideOrganization property: True if the user in context (sharee or delegate) is inside the same organization as the calendar owner.
Parameters:
Returns:
withIsRemovable
public MicrosoftGraphCalendarPermission withIsRemovable(Boolean isRemovable)
Set the isRemovable property: 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.
Parameters:
Returns:
withRole
public MicrosoftGraphCalendarPermission withRole(MicrosoftGraphCalendarRoleType role)
Set the role property: calendarRoleType.
Parameters:
Returns:
Applies to
Azure SDK for Java