public class Conversation extends SidResource
Modifier and Type | Class and Description |
---|---|
static class |
Conversation.Status |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ConversationFetcher |
fetch(String sid)
Create a ConversationFetcher to execute fetch.
|
static Conversation |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Conversation object using the provided
ObjectMapper.
|
static Conversation |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Conversation object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
Integer |
getDuration()
Returns The The duration.
|
org.joda.time.DateTime |
getEndTime()
Returns The The end_time.
|
String |
getSid()
Returns The The sid.
|
org.joda.time.DateTime |
getStartTime()
Returns The The start_time.
|
Conversation.Status |
getStatus()
Returns The The status.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
String |
toString() |
public static ConversationFetcher fetch(String sid)
sid
- The sidpublic static Conversation fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Conversation fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
getSid
in class SidResource
public final Conversation.Status getStatus()
public final Integer getDuration()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getStartTime()
public final org.joda.time.DateTime getEndTime()
public final String getAccountSid()
public final URI getUrl()
Copyright © 2011 Twilio, Inc. All Rights Reserved.