Class AddPermissionRequest
java.lang.Object
com.amilesend.onedrive.resource.request.AddPermissionRequest
Represents a request to share the item to one or more recipients.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
A message to include in the invite.The list of recipients.getRoles()
The allowed roles granted to the recipients.int
hashCode()
boolean
Indicates if accessing the shared item requires sign-in.boolean
Indicates if an invitation should be sent to the recipient, or just grant the permission.toString()
-
Method Details
-
builder
-
getRecipients
The list of recipients. -
getMessage
A message to include in the invite. -
isRequireSignIn
public boolean isRequireSignIn()Indicates if accessing the shared item requires sign-in. -
isSendInvitation
public boolean isSendInvitation()Indicates if an invitation should be sent to the recipient, or just grant the permission. -
getRoles
The allowed roles granted to the recipients. Valid values include:- read
- write
-
equals
-
hashCode
public int hashCode() -
toString
-