public class NotificationFetcher extends Fetcher<Notification>
Constructor and Description |
---|
NotificationFetcher(String sid)
Construct a new NotificationFetcher.
|
NotificationFetcher(String accountSid,
String sid)
Construct a new NotificationFetcher.
|
Modifier and Type | Method and Description |
---|---|
Notification |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
public NotificationFetcher(String sid)
sid
- Fetch by unique notification Sidpublic Notification execute(TwilioRestClient client)
execute
in class Fetcher<Notification>
client
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.