public class DeactivationsFetcher extends Fetcher<Deactivations>
Constructor and Description |
---|
DeactivationsFetcher() |
Modifier and Type | Method and Description |
---|---|
Deactivations |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
DeactivationsFetcher |
setDate(LocalDate date)
The request will return a list of all United States Phone Numbers that were
deactivated on the day specified by this parameter.
|
fetch, fetchAsync, fetchAsync
public DeactivationsFetcher setDate(LocalDate date)
date
- The date to retrieve deactivated numbers for.public Deactivations fetch(TwilioRestClient client)
fetch
in class Fetcher<Deactivations>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.