public class AssetVersionFetcher extends Fetcher<AssetVersion>
Constructor and Description |
---|
AssetVersionFetcher(String pathServiceSid,
String pathAssetSid,
String pathSid)
Construct a new AssetVersionFetcher.
|
Modifier and Type | Method and Description |
---|---|
AssetVersion |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
fetch, fetchAsync, fetchAsync
public AssetVersionFetcher(String pathServiceSid, String pathAssetSid, String pathSid)
pathServiceSid
- The SID of the Service to fetch the Asset Version
resource frompathAssetSid
- The SID of the Asset resource that is the parent of the
Asset Version resource to fetchpathSid
- The SID that identifies the Asset Version resource to fetchpublic AssetVersion fetch(TwilioRestClient client)
fetch
in class Fetcher<AssetVersion>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.