Class AssignedAddOnFetcher
- java.lang.Object
-
- com.twilio.base.Fetcher<AssignedAddOn>
-
- com.twilio.rest.api.v2010.account.incomingphonenumber.AssignedAddOnFetcher
-
public class AssignedAddOnFetcher extends Fetcher<AssignedAddOn>
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
-
Constructor Summary
Constructors Constructor Description AssignedAddOnFetcher(String pathResourceSid, String pathSid)
Construct a new AssignedAddOnFetcher.AssignedAddOnFetcher(String pathAccountSid, String pathResourceSid, String pathSid)
Construct a new AssignedAddOnFetcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssignedAddOn
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
-
AssignedAddOnFetcher
public AssignedAddOnFetcher(String pathResourceSid, String pathSid)
Construct a new AssignedAddOnFetcher.- Parameters:
pathResourceSid
- The SID of the Phone Number that installed this Add-onpathSid
- The unique string that identifies the resource
-
AssignedAddOnFetcher
public AssignedAddOnFetcher(String pathAccountSid, String pathResourceSid, String pathSid)
Construct a new AssignedAddOnFetcher.- Parameters:
pathAccountSid
- The SID of the Account that created the resource to fetchpathResourceSid
- The SID of the Phone Number that installed this Add-onpathSid
- The unique string that identifies the resource
-
-
Method Detail
-
fetch
public AssignedAddOn fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.- Specified by:
fetch
in classFetcher<AssignedAddOn>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Fetched AssignedAddOn
-
-