public class DeploymentFetcher extends Fetcher<Deployment>
Constructor and Description |
---|
DeploymentFetcher(String pathServiceSid,
String pathEnvironmentSid,
String pathSid)
Construct a new DeploymentFetcher.
|
Modifier and Type | Method and Description |
---|---|
Deployment |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
fetch, fetchAsync, fetchAsync
public DeploymentFetcher(String pathServiceSid, String pathEnvironmentSid, String pathSid)
pathServiceSid
- The SID of the Service to fetch the Deployment
resource frompathEnvironmentSid
- The SID of the Environment used by the Deployment
to fetchpathSid
- The SID that identifies the Deployment resource to fetchpublic Deployment fetch(TwilioRestClient client)
fetch
in class Fetcher<Deployment>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.