public class Recording extends SidResource
Modifier and Type | Method and Description |
---|---|
static RecordingDeleter |
delete(String accountSid,
String callSid,
String sid)
Create a RecordingDeleter to execute delete.
|
boolean |
equals(Object o) |
static RecordingFetcher |
fetch(String accountSid,
String callSid,
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 account_sid.
|
String |
getApiVersion()
Returns The The api_version.
|
String |
getCallSid()
Returns The The call_sid.
|
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.
|
String |
getSid()
Returns The The sid.
|
String |
getUri()
Returns The The uri.
|
int |
hashCode() |
static RecordingReader |
read(String accountSid,
String callSid)
Create a RecordingReader to execute read.
|
String |
toString() |
public static RecordingFetcher fetch(String accountSid, String callSid, String sid)
accountSid
- The account_sidcallSid
- The call_sidsid
- The sidpublic static RecordingDeleter delete(String accountSid, String callSid, String sid)
accountSid
- The account_sidcallSid
- The call_sidsid
- The sidpublic static RecordingReader read(String accountSid, String callSid)
accountSid
- The account_sidcallSid
- 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()
getSid
in class SidResource
public final String getUri()
Copyright © 2011 Twilio, Inc. All Rights Reserved.