public class DocumentPermissionUpdater extends Updater<DocumentPermission>
Constructor and Description |
---|
DocumentPermissionUpdater(String pathServiceSid,
String pathDocumentSid,
String pathIdentity,
Boolean read,
Boolean write,
Boolean manage)
Construct a new DocumentPermissionUpdater.
|
Modifier and Type | Method and Description |
---|---|
DocumentPermission |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public DocumentPermissionUpdater(String pathServiceSid, String pathDocumentSid, String pathIdentity, Boolean read, Boolean write, Boolean manage)
pathServiceSid
- The SID of the Sync Service with the Document
Permission resource to updatepathDocumentSid
- The SID of the Sync Document with the Document
Permission resource to updatepathIdentity
- The application-defined string that uniquely identifies
the User's Document Permission resource to updateread
- Read accesswrite
- Write accessmanage
- Manage accesspublic DocumentPermission update(TwilioRestClient client)
update
in class Updater<DocumentPermission>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.