com.twilio.sdk.resource.list
Class TranscriptionList

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

public class TranscriptionList
extends ListResource<Transcription,TwilioRestClient>

The Class TranscriptionList.

For more information see https://www.twilio.com/docs/api/rest/transcription


Constructor Summary
TranscriptionList(TwilioRestClient client)
          Instantiates a new transcription list.
TranscriptionList(TwilioRestClient client, Map<String,String> filters)
          Instantiates a new transcription list.
TranscriptionList(TwilioRestClient client, String callSid)
          Instantiates a new transcription list from a call.
TranscriptionList(TwilioRestClient client, String callSid, Map<String,String> filters)
          Instantiates a new transcription list from a call with filters.
 
Method Summary
static TranscriptionList callTranscriptionList(TwilioRestClient client, String callSid)
          Instantiates a new transcription list from a call.
static TranscriptionList callTranscriptionList(TwilioRestClient client, String callSid, Map<String,String> filters)
          Instantiates a new transcription list from a call.
 String getRequestCallSid()
          Gets the call sid of the transcription *if* it was constructed with a call sid.
 String getRequestRecordingSid()
          Gets the recording sid of the transcription *if* it was constructed with a recording sid.
static TranscriptionList recordingTranscriptionList(TwilioRestClient client, String recordingSid)
          Instantiates a new transcription list from a recording.
static TranscriptionList recordingTranscriptionList(TwilioRestClient client, String recordingSid, Map<String,String> filters)
          Instantiates a new transcription list from a recording.
 
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

TranscriptionList

public TranscriptionList(TwilioRestClient client)
Instantiates a new transcription list.

Parameters:
client - the client

TranscriptionList

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

Parameters:
client - the client
filters - the filters

TranscriptionList

public TranscriptionList(TwilioRestClient client,
                         String callSid)
Instantiates a new transcription list from a call.

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

TranscriptionList

public TranscriptionList(TwilioRestClient client,
                         String callSid,
                         Map<String,String> filters)
Instantiates a new transcription list from a call with filters.

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

callTranscriptionList

public static TranscriptionList callTranscriptionList(TwilioRestClient client,
                                                      String callSid)
Instantiates a new transcription list from a call.

Parameters:
client -
callSid -
Returns:
a call transcription list

callTranscriptionList

public static TranscriptionList callTranscriptionList(TwilioRestClient client,
                                                      String callSid,
                                                      Map<String,String> filters)
Instantiates a new transcription list from a call.

Parameters:
client -
callSid -
filters -
Returns:
a call transcription list

recordingTranscriptionList

public static TranscriptionList recordingTranscriptionList(TwilioRestClient client,
                                                           String recordingSid)
Instantiates a new transcription list from a recording.

Parameters:
client -
recordingSid -
Returns:
a call transcription list

recordingTranscriptionList

public static TranscriptionList recordingTranscriptionList(TwilioRestClient client,
                                                           String recordingSid,
                                                           Map<String,String> filters)
Instantiates a new transcription list from a recording.

Parameters:
client -
recordingSid -
filters -
Returns:
a call transcription list

getRequestCallSid

public String getRequestCallSid()
Gets the call sid of the transcription *if* it was constructed with a call sid.

Returns:
the call sid of the parent call

getRequestRecordingSid

public String getRequestRecordingSid()
Gets the recording sid of the transcription *if* it was constructed with a recording sid.

Returns:
the recording sid of the parent recording


Copyright © 2011 Twilio, Inc. All Rights Reserved.