Class AuthorizationDocumentFetcher
- java.lang.Object
-
- com.twilio.base.Fetcher<AuthorizationDocument>
-
- com.twilio.rest.preview.hostedNumbers.AuthorizationDocumentFetcher
-
public class AuthorizationDocumentFetcher extends Fetcher<AuthorizationDocument>
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
-
-
Constructor Summary
Constructors Constructor Description AuthorizationDocumentFetcher(String pathSid)
Construct a new AuthorizationDocumentFetcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationDocument
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.-
Methods inherited from class com.twilio.base.Fetcher
fetch, fetchAsync, fetchAsync
-
-
-
-
Constructor Detail
-
AuthorizationDocumentFetcher
public AuthorizationDocumentFetcher(String pathSid)
Construct a new AuthorizationDocumentFetcher.- Parameters:
pathSid
- AuthorizationDocument sid.
-
-
Method Detail
-
fetch
public AuthorizationDocument fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.- Specified by:
fetch
in classFetcher<AuthorizationDocument>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Fetched AuthorizationDocument
-
-