Class Permission
java.lang.Object
com.amilesend.onedrive.resource.item.type.Permission
Describes sharing permissions granted for a drive item.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Permission.PermissionBuilderbuilder()voidDeletes this permission.booleanThe associated drive item identifier that this permission applies to.Describes the users and applications for this permission.Details of users to whom permission was granted for links.getId()The permission identifier.Reference to the parent permission (if applicable).Sharing invitation for this permission.getLink()Link type permission details.getRoles()The type of permission.The token that can be used to access the shared item.inthashCode()toString()
-
Method Details
-
deletePermission
public void deletePermission()Deletes this permission. -
builder
-
getId
The permission identifier. -
getGrantedTo
Describes the users and applications for this permission. -
getGrantedToIdentities
Details of users to whom permission was granted for links. -
getInvitation
Sharing invitation for this permission. -
getInheritedFrom
Reference to the parent permission (if applicable). -
getLink
Link type permission details. -
getRoles
The type of permission. Valid values include:- read
- write
- owner - For SharePoint and Business
- member - For SharePoint and Business
-
getDriveItemId
The associated drive item identifier that this permission applies to. -
getConnection
-
equals
-
hashCode
public int hashCode() -
toString
-