public class Recording extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Recording.Source |
static class |
Recording.Status |
| Modifier and Type | Method and Description |
|---|---|
static RecordingDeleter |
deleter(String pathSid)
Create a RecordingDeleter to execute delete.
|
static RecordingDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a RecordingDeleter to execute delete.
|
boolean |
equals(Object o) |
static RecordingFetcher |
fetcher(String pathSid)
Create a RecordingFetcher to execute fetch.
|
static RecordingFetcher |
fetcher(String pathAccountSid,
String pathSid)
Create a RecordingFetcher to execute fetch.
|
static Recording |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Recording object using the provided
ObjectMapper.
|
static Recording |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Recording object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The unique sid that identifies this account.
|
String |
getApiVersion()
Returns The The version of the API in use during the recording..
|
String |
getCallSid()
Returns The The unique id for the call leg that corresponds to the
recording..
|
Integer |
getChannels()
Returns The The number of channels in the final recording file as an
integer..
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this resource was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this resource was last updated.
|
String |
getDuration()
Returns The The length of the recording, in seconds..
|
Map<String,Object> |
getEncryptionDetails()
Returns The The encryption_details.
|
Integer |
getErrorCode()
Returns The More information about the recording failure, if Status is
failed..
|
String |
getPrice()
Returns The The one-time cost of creating this recording..
|
String |
getPriceUnit()
Returns The The currency used in the Price property..
|
String |
getSid()
Returns The A string that uniquely identifies this recording.
|
Recording.Source |
getSource()
Returns The The way in which this recording was created..
|
Recording.Status |
getStatus()
Returns The The status of the recording..
|
Map<String,String> |
getSubresourceUris()
Returns The The subresource_uris.
|
String |
getUri()
Returns The The URI for this resource.
|
int |
hashCode() |
static RecordingReader |
reader()
Create a RecordingReader to execute read.
|
static RecordingReader |
reader(String pathAccountSid)
Create a RecordingReader to execute read.
|
String |
toString() |
public static RecordingFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - Fetch by unique recording Sidpublic static RecordingFetcher fetcher(String pathSid)
pathSid - Fetch by unique recording Sidpublic static RecordingDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - Delete by unique recording Sidpublic static RecordingDeleter deleter(String pathSid)
pathSid - Delete by unique recording Sidpublic static RecordingReader reader(String pathAccountSid)
pathAccountSid - The account_sidpublic static RecordingReader reader()
public static Recording fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Recording fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final String getApiVersion()
public final String getCallSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getDuration()
public final String getSid()
public final String getPrice()
public final String getPriceUnit()
public final Recording.Status getStatus()
public final Integer getChannels()
public final Recording.Source getSource()
public final Integer getErrorCode()
public final String getUri()
public final Map<String,Object> getEncryptionDetails()
public final Map<String,String> getSubresourceUris()
Copyright © 2016 Twilio, Inc. All Rights Reserved.