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 SID of the Account that created the resource.
|
String |
getApiVersion()
Returns The API version used during the recording..
|
String |
getCallSid()
Returns The SID of the Call the resource is associated with.
|
Integer |
getChannels()
Returns The number of channels in the final recording file as an integer..
|
String |
getConferenceSid()
Returns The unique ID for the conference associated with the recording..
|
ZonedDateTime |
getDateCreated()
Returns The RFC 2822 date and time in GMT that the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The RFC 2822 date and time in GMT that the resource was last updated.
|
String |
getDuration()
Returns The length of the recording in seconds..
|
Map<String,Object> |
getEncryptionDetails()
Returns How to decrypt the recording..
|
Integer |
getErrorCode()
Returns More information about why the recording is missing, if status is
`absent`..
|
String |
getPrice()
Returns The one-time cost of creating the recording..
|
String |
getPriceUnit()
Returns The currency used in the price property..
|
String |
getSid()
Returns The unique string that identifies the resource.
|
Recording.Source |
getSource()
Returns How the recording was created.
|
ZonedDateTime |
getStartTime()
Returns The start time of the recording, given in RFC 2822 format.
|
Recording.Status |
getStatus()
Returns The status of the recording..
|
Map<String,String> |
getSubresourceUris()
Returns A list of related resources identified by their relative URIs.
|
String |
getUri()
Returns The URI of the resource, relative to `https://api.twilio.com`.
|
int |
hashCode() |
static RecordingReader |
reader()
Create a RecordingReader to execute read.
|
static RecordingReader |
reader(String pathAccountSid)
Create a RecordingReader to execute read.
|
public static RecordingFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid
- The SID of the Account that created the resource to
fetchpathSid
- The unique string that identifies the resourcepublic static RecordingFetcher fetcher(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static RecordingDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid
- The SID of the Account that created the resources to
deletepathSid
- The unique string that identifies the resourcepublic static RecordingDeleter deleter(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static RecordingReader reader(String pathAccountSid)
pathAccountSid
- The SID of the Account that created the resources to
readpublic 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 String getConferenceSid()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final ZonedDateTime getStartTime()
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 © 2019 Twilio, Inc. All Rights Reserved.