com.twilio.sdk.resource.list
Class MediaList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<Media>
          extended by com.twilio.sdk.resource.list.MediaList
All Implemented Interfaces:
Iterable<Media>

public class MediaList
extends ListResource<Media>

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


Constructor Summary
MediaList(TwilioRestClient client)
          Instantiates a new media list.
MediaList(TwilioRestClient client, Map<String,String> properties)
          Instantiates a new media list.
MediaList(TwilioRestClient client, String messageSid)
          Instantiates a new media list.
 
Method Summary
 String getRequestMessageSid()
          Gets the message sid of this media *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, getTotal, 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

MediaList

public MediaList(TwilioRestClient client)
Instantiates a new media list.

Parameters:
client - the client

MediaList

public MediaList(TwilioRestClient client,
                 String messageSid)
Instantiates a new media list.

Parameters:
client - the client
messageSid - the sid of the parent message requesting media

MediaList

public MediaList(TwilioRestClient client,
                 Map<String,String> properties)
Instantiates a new media list.

Parameters:
client - the client
properties - the properties
Method Detail

getRequestMessageSid

public String getRequestMessageSid()
Gets the message sid of this media *if* it was initially referenced as the child of a message.

Returns:
the message sid of the parent message


Copyright © 2011 Twilio, Inc. All Rights Reserved.