com.telapi.api.domain
Class Transcription
java.lang.Object
com.telapi.api.domain.BaseTelapiObject
com.telapi.api.domain.Transcription
public class Transcription
- extends BaseTelapiObject
This resource represents a transcription of a Recording or audio.
| Methods inherited from class com.telapi.api.domain.BaseTelapiObject |
getAccountSid, getApiVersion, getDateCreated, getDateUpdated, getSid, getUri, setAccountSid, setApiVersion, setDateCreated, setDateUpdated, setSid, setUri |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Transcription
public Transcription()
getStatus
public TranscriptionStatus getStatus()
- Returns:
- The status of the transcription (e.g. completed, in-progress, failed).
setStatus
public void setStatus(TranscriptionStatus status)
getType
public TranscriptionType getType()
- Returns:
- Transcription quality tier. May be auto, silver, gold, or platinum. Default is auto.
setType
public void setType(TranscriptionType type)
getAudioUrl
public String getAudioUrl()
- Returns:
- URL where a file containing the transcribed audio is located.
setAudioUrl
public void setAudioUrl(String audioUrl)
getDuration
public Long getDuration()
- Returns:
- Length in seconds of the transcribed recording.
setDuration
public void setDuration(Long duration)
getTranscriptionText
public String getTranscriptionText()
- Returns:
- Text of the transcribed audio.
setTranscriptionText
public void setTranscriptionText(String transcriptionText)
getPrice
public BigDecimal getPrice()
- Returns:
- Cost of the transcription.
setPrice
public void setPrice(BigDecimal price)
getTranscribeCallback
public String getTranscribeCallback()
- Returns:
- URL where transcription will report to after completion.
setTranscribeCallback
public void setTranscribeCallback(String transcribeCallback)
getCallbackMethod
public HttpMethod getCallbackMethod()
- Returns:
- Method to request TranscribeCallback URL. Can be POST or GET. Default is POST
setCallbackMethod
public void setCallbackMethod(HttpMethod callbackMethod)
getRecordingSid
public String getRecordingSid()
- Returns:
- An alphanumeric string used to identify the recording that was transcribed.
setRecordingSid
public void setRecordingSid(String recordingSid)
Copyright © 2012. All Rights Reserved.