public class UsageFetcher extends Fetcher<Usage>
Constructor and Description |
---|
UsageFetcher(String pathSimSid)
Construct a new UsageFetcher.
|
Modifier and Type | Method and Description |
---|---|
Usage |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
UsageFetcher |
setEnd(String end)
The end.
|
UsageFetcher |
setStart(String start)
The start.
|
fetch, fetchAsync, fetchAsync
public UsageFetcher(String pathSimSid)
pathSimSid
- The sim_sidpublic UsageFetcher setEnd(String end)
end
- The endpublic UsageFetcher setStart(String start)
start
- The startpublic Usage fetch(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.