Class DocumentPermissionUpdater
- java.lang.Object
-
- com.twilio.base.Updater<DocumentPermission>
-
- com.twilio.rest.sync.v1.service.document.DocumentPermissionUpdater
-
public class DocumentPermissionUpdater extends Updater<DocumentPermission>
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentPermission
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.-
Methods inherited from class com.twilio.base.Updater
update, updateAsync, updateAsync
-
-
-
-
Constructor Detail
-
DocumentPermissionUpdater
public DocumentPermissionUpdater(String pathServiceSid, String pathDocumentSid, String pathIdentity, Boolean read, Boolean write, Boolean manage)
Construct a new DocumentPermissionUpdater.- Parameters:
pathServiceSid
- Sync Service Instance SID or unique name.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.
-
-
Method Detail
-
update
public DocumentPermission update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.- Specified by:
update
in classUpdater<DocumentPermission>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Updated DocumentPermission
-
-