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 pathCallSid,
String pathSid)
Create a RecordingDeleter to execute delete.
|
static RecordingDeleter |
deleter(String pathAccountSid,
String pathCallSid,
String pathSid)
Create a RecordingDeleter to execute delete.
|
boolean |
equals(Object o) |
static RecordingFetcher |
fetcher(String pathCallSid,
String pathSid)
Create a RecordingFetcher to execute fetch.
|
static RecordingFetcher |
fetcher(String pathAccountSid,
String pathCallSid,
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 account_sid.
|
String |
getApiVersion()
Returns The The api_version.
|
String |
getCallSid()
Returns The The call_sid.
|
Integer |
getChannels()
Returns The The channels.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getDuration()
Returns The The duration.
|
Map<String,Object> |
getEncryptionDetails()
Returns The The encryption_details.
|
Integer |
getErrorCode()
Returns The The error_code.
|
BigDecimal |
getPrice()
Returns The The price.
|
Currency |
getPriceUnit()
Returns The The price_unit.
|
String |
getSid()
Returns The The sid.
|
Recording.Source |
getSource()
Returns The The source.
|
Recording.Status |
getStatus()
Returns The The status.
|
String |
getUri()
Returns The The uri.
|
int |
hashCode() |
static RecordingReader |
reader(String pathCallSid)
Create a RecordingReader to execute read.
|
static RecordingReader |
reader(String pathAccountSid,
String pathCallSid)
Create a RecordingReader to execute read.
|
String |
toString() |
public static RecordingFetcher fetcher(String pathAccountSid, String pathCallSid, String pathSid)
pathAccountSid - The account_sidpathCallSid - The call_sidpathSid - The sidpublic static RecordingFetcher fetcher(String pathCallSid, String pathSid)
pathCallSid - The call_sidpathSid - The sidpublic static RecordingDeleter deleter(String pathAccountSid, String pathCallSid, String pathSid)
pathAccountSid - The account_sidpathCallSid - The call_sidpathSid - The sidpublic static RecordingDeleter deleter(String pathCallSid, String pathSid)
pathCallSid - The call_sidpathSid - The sidpublic static RecordingReader reader(String pathAccountSid, String pathCallSid)
pathAccountSid - The account_sidpathCallSid - The call_sidpublic static RecordingReader reader(String pathCallSid)
pathCallSid - The call_sidpublic 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 BigDecimal getPrice()
public final String getUri()
public final Map<String,Object> getEncryptionDetails()
public final Currency getPriceUnit()
public final Recording.Status getStatus()
public final Integer getChannels()
public final Recording.Source getSource()
public final Integer getErrorCode()
Copyright © 2016 Twilio, Inc. All Rights Reserved.