public class Recording extends SidResource
Modifier and Type | Method and Description |
---|---|
static RecordingDeleter |
delete(String accountSid,
String sid)
Create a RecordingDeleter to execute delete.
|
boolean |
equals(Object o) |
static RecordingFetcher |
fetch(String accountSid,
String sid)
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 call during which the recording was made..
|
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..
|
String |
getSid()
Returns The A string that uniquely identifies this recording.
|
String |
getUri()
Returns The The URI for this resource.
|
int |
hashCode() |
static RecordingReader |
read(String accountSid)
Create a RecordingReader to execute read.
|
String |
toString() |
public static RecordingFetcher fetch(String accountSid, String sid)
accountSid
- The account_sidsid
- Fetch by unique recording Sidpublic static RecordingDeleter delete(String accountSid, String sid)
accountSid
- The account_sidsid
- Delete by unique recording Sidpublic static RecordingReader read(String accountSid)
accountSid
- The account_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()
getSid
in class SidResource
public final String getUri()
Copyright © 2011 Twilio, Inc. All Rights Reserved.