com.twilio.sdk.resource.instance
Class Transcription

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.InstanceResource
          extended by com.twilio.sdk.resource.instance.Transcription

public class Transcription
extends InstanceResource

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


Constructor Summary
Transcription(TwilioRestClient client)
          Instantiates a new transcription.
Transcription(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new transcription.
Transcription(TwilioRestClient client, String sid)
          Instantiates a new transcription.
 
Method Summary
 boolean delete()
          Delete this Transcription
 String getAccountSid()
          Gets the account sid.
 Date getDateCreated()
          Gets the date created.
 Date getDateUpdated()
          Gets the date updated.
 int getDuration()
          Gets the duration.
 String getPrice()
          Gets the price.
 String getRecordingSid()
          Gets the recording sid.
 String getSid()
          Gets the sid.
 String getStatus()
          Gets the status.
 String getTranscriptionText()
          Gets the transcription text.
 
Methods inherited from class com.twilio.sdk.resource.InstanceResource
getObject, getProperty, update, update
 
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

Transcription

public Transcription(TwilioRestClient client)
Instantiates a new transcription.

Parameters:
client - the client

Transcription

public Transcription(TwilioRestClient client,
                     String sid)
Instantiates a new transcription.

Parameters:
client - the client
sid - the sid

Transcription

public Transcription(TwilioRestClient client,
                     Map<String,Object> properties)
Instantiates a new transcription.

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

getSid

public String getSid()
Gets the sid.

Returns:
the sid

getDateCreated

public Date getDateCreated()
Gets the date created.

Returns:
the date created

getDateUpdated

public Date getDateUpdated()
Gets the date updated.

Returns:
the date updated

getAccountSid

public String getAccountSid()
Gets the account sid.

Returns:
the account sid

getStatus

public String getStatus()
Gets the status.

Returns:
the status

getRecordingSid

public String getRecordingSid()
Gets the recording sid.

Returns:
the recording sid

getDuration

public int getDuration()
Gets the duration.

Returns:
the duration

getPrice

public String getPrice()
Gets the price.

Returns:
the price

getTranscriptionText

public String getTranscriptionText()
Gets the transcription text.

Returns:
the transcription text

delete

public boolean delete()
               throws TwilioRestException
Delete this Transcription

Returns:
true, if successful
Throws:
TwilioRestException - the twilio rest exception


Copyright © 2011 Twilio, Inc. All Rights Reserved.