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, updateAsyncpublic DocumentPermissionUpdater(String pathServiceSid, String pathDocumentSid, String pathIdentity, Boolean read, Boolean write, Boolean manage)
pathServiceSid - Sync Service Instance SID.pathDocumentSid - Sync Document SID or unique name.pathIdentity - Identity of the user to whom the Sync Document
Permission applies.read - Read access.write - Write access.manage - Manage access.public DocumentPermission update(TwilioRestClient client)
update in class Updater<DocumentPermission>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.