public class Participant extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Participant.Status |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static ParticipantFetcher |
fetcher(String pathRoomSid,
String pathSid)
Create a ParticipantFetcher to execute fetch.
|
static Participant |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Participant object using the provided
ObjectMapper.
|
static Participant |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Participant object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
Integer |
getDuration()
Returns The The duration.
|
org.joda.time.DateTime |
getEndTime()
Returns The The end_time.
|
String |
getIdentity()
Returns The The identity.
|
Map<String,String> |
getLinks()
Returns The The links.
|
String |
getRoomSid()
Returns The The room_sid.
|
String |
getSid()
Returns The The sid.
|
org.joda.time.DateTime |
getStartTime()
Returns The The start_time.
|
Participant.Status |
getStatus()
Returns The The status.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static ParticipantReader |
reader(String pathRoomSid)
Create a ParticipantReader to execute read.
|
String |
toString() |
static ParticipantUpdater |
updater(String pathRoomSid,
String pathSid)
Create a ParticipantUpdater to execute update.
|
public static ParticipantFetcher fetcher(String pathRoomSid, String pathSid)
pathRoomSid - The room_sidpathSid - The sidpublic static ParticipantReader reader(String pathRoomSid)
pathRoomSid - The room_sidpublic static ParticipantUpdater updater(String pathRoomSid, String pathSid)
pathRoomSid - The room_sidpathSid - The sidpublic static Participant fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Participant fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getRoomSid()
public final String getAccountSid()
public final Participant.Status getStatus()
public final String getIdentity()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final org.joda.time.DateTime getStartTime()
public final org.joda.time.DateTime getEndTime()
public final Integer getDuration()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.