public class DocumentPermissionFetcher extends Fetcher<DocumentPermission>
Constructor and Description |
---|
DocumentPermissionFetcher(String pathServiceSid,
String pathDocumentSid,
String pathIdentity)
Construct a new DocumentPermissionFetcher.
|
Modifier and Type | Method and Description |
---|---|
DocumentPermission |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
fetch, fetchAsync, fetchAsync
public DocumentPermissionFetcher(String pathServiceSid, String pathDocumentSid, String pathIdentity)
pathServiceSid
- The service_sidpathDocumentSid
- Sync Document SID or unique name.pathIdentity
- Identity of the user to whom the Sync Document
Permission applies.public DocumentPermission fetch(TwilioRestClient client)
fetch
in class Fetcher<DocumentPermission>
client
- TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.