com.twilio.sdk.resource.list
Class NotificationList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource<C>
      extended by com.twilio.sdk.resource.ListResource<Notification,TwilioRestClient>
          extended by com.twilio.sdk.resource.list.NotificationList
All Implemented Interfaces:
Iterable<Notification>

public class NotificationList
extends ListResource<Notification,TwilioRestClient>

The Class NotificationList. For more information see https://www.twilio.com/docs/api/rest/notification


Constructor Summary
NotificationList(TwilioRestClient client)
          Instantiates a new notification list.
NotificationList(TwilioRestClient client, Map<String,String> filters)
          Instantiates a new notification list.
NotificationList(TwilioRestClient client, String callSid)
          Instantiates a new notification list.
NotificationList(TwilioRestClient client, String callSid, Map<String,String> filters)
          Instantiates a new notification list.
 
Method Summary
 String getRequestCallSid()
          Gets the call sid of the notification *if* it was initially referenced as the child of a message
 
Methods inherited from class com.twilio.sdk.resource.ListResource
getEnd, getNextUri, getNumPages, getPage, getPageData, getStart, iterator
 
Methods inherited from class com.twilio.sdk.resource.Resource
setRequestAccountSid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationList

public NotificationList(TwilioRestClient client)
Instantiates a new notification list.

Parameters:
client - the client

NotificationList

public NotificationList(TwilioRestClient client,
                        String callSid)
Instantiates a new notification list.

Parameters:
client - the client
callSid - the sid of the parent call

NotificationList

public NotificationList(TwilioRestClient client,
                        String callSid,
                        Map<String,String> filters)
Instantiates a new notification list.

Parameters:
client - the client
callSid - the sid of the parent call
filters - the filters

NotificationList

public NotificationList(TwilioRestClient client,
                        Map<String,String> filters)
Instantiates a new notification list.

Parameters:
client - the client
filters - the filters
Method Detail

getRequestCallSid

public String getRequestCallSid()
Gets the call sid of the notification *if* it was initially referenced as the child of a message

Returns:
the call sid of the parent call


Copyright © 2011 Twilio, Inc. All Rights Reserved.