Class IncomingPhoneNumberFetcher
- java.lang.Object
-
- com.twilio.base.Fetcher<IncomingPhoneNumber>
-
- com.twilio.rest.api.v2010.account.IncomingPhoneNumberFetcher
-
public class IncomingPhoneNumberFetcher extends Fetcher<IncomingPhoneNumber>
-
-
Constructor Summary
Constructors Constructor Description IncomingPhoneNumberFetcher(String pathSid)
Construct a new IncomingPhoneNumberFetcher.IncomingPhoneNumberFetcher(String pathAccountSid, String pathSid)
Construct a new IncomingPhoneNumberFetcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IncomingPhoneNumber
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
-
IncomingPhoneNumberFetcher
public IncomingPhoneNumberFetcher(String pathSid)
Construct a new IncomingPhoneNumberFetcher.- Parameters:
pathSid
- The unique string that identifies the resource
-
-
Method Detail
-
fetch
public IncomingPhoneNumber fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.- Specified by:
fetch
in classFetcher<IncomingPhoneNumber>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Fetched IncomingPhoneNumber
-
-