public class Participant extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Participant.Status |
| Modifier and Type | Method and Description |
|---|---|
static ParticipantCreator |
creator(String pathConferenceSid,
PhoneNumber from,
PhoneNumber to)
Create a ParticipantCreator to execute create.
|
static ParticipantCreator |
creator(String pathAccountSid,
String pathConferenceSid,
PhoneNumber from,
PhoneNumber to)
Create a ParticipantCreator to execute create.
|
static ParticipantDeleter |
deleter(String pathConferenceSid,
String pathCallSid)
Create a ParticipantDeleter to execute delete.
|
static ParticipantDeleter |
deleter(String pathAccountSid,
String pathConferenceSid,
String pathCallSid)
Create a ParticipantDeleter to execute delete.
|
boolean |
equals(Object o) |
static ParticipantFetcher |
fetcher(String pathConferenceSid,
String pathCallSid)
Create a ParticipantFetcher to execute fetch.
|
static ParticipantFetcher |
fetcher(String pathAccountSid,
String pathConferenceSid,
String pathCallSid)
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 unique sid that identifies this account.
|
String |
getCallSid()
Returns The A string that uniquely identifies this call.
|
String |
getConferenceSid()
Returns The A string that uniquely identifies this conference.
|
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.
|
Boolean |
getEndConferenceOnExit()
Returns The Indicates if the endConferenceOnExit was set.
|
Boolean |
getHold()
Returns The The hold.
|
Boolean |
getMuted()
Returns The Indicates if the participant is muted.
|
Boolean |
getStartConferenceOnEnter()
Returns The Indicates if the startConferenceOnEnter attribute was set.
|
Participant.Status |
getStatus()
Returns The The status.
|
String |
getUri()
Returns The The URI for this resource.
|
int |
hashCode() |
static ParticipantReader |
reader(String pathConferenceSid)
Create a ParticipantReader to execute read.
|
static ParticipantReader |
reader(String pathAccountSid,
String pathConferenceSid)
Create a ParticipantReader to execute read.
|
String |
toString() |
static ParticipantUpdater |
updater(String pathConferenceSid,
String pathCallSid)
Create a ParticipantUpdater to execute update.
|
static ParticipantUpdater |
updater(String pathAccountSid,
String pathConferenceSid,
String pathCallSid)
Create a ParticipantUpdater to execute update.
|
public static ParticipantFetcher fetcher(String pathAccountSid, String pathConferenceSid, String pathCallSid)
pathAccountSid - The account_sidpathConferenceSid - The string that uniquely identifies this conferencepathCallSid - The call_sidpublic static ParticipantFetcher fetcher(String pathConferenceSid, String pathCallSid)
pathConferenceSid - The string that uniquely identifies this conferencepathCallSid - The call_sidpublic static ParticipantUpdater updater(String pathAccountSid, String pathConferenceSid, String pathCallSid)
pathAccountSid - The account_sidpathConferenceSid - The string that uniquely identifies this conferencepathCallSid - The call_sidpublic static ParticipantUpdater updater(String pathConferenceSid, String pathCallSid)
pathConferenceSid - The string that uniquely identifies this conferencepathCallSid - The call_sidpublic static ParticipantCreator creator(String pathAccountSid, String pathConferenceSid, PhoneNumber from, PhoneNumber to)
pathAccountSid - The account_sidpathConferenceSid - The conference_sidfrom - The fromto - The topublic static ParticipantCreator creator(String pathConferenceSid, PhoneNumber from, PhoneNumber to)
pathConferenceSid - The conference_sidfrom - The fromto - The topublic static ParticipantDeleter deleter(String pathAccountSid, String pathConferenceSid, String pathCallSid)
pathAccountSid - The account_sidpathConferenceSid - The string that uniquely identifies this conferencepathCallSid - The call_sidpublic static ParticipantDeleter deleter(String pathConferenceSid, String pathCallSid)
pathConferenceSid - The string that uniquely identifies this conferencepathCallSid - The call_sidpublic static ParticipantReader reader(String pathAccountSid, String pathConferenceSid)
pathAccountSid - The account_sidpathConferenceSid - The string that uniquely identifies this conferencepublic static ParticipantReader reader(String pathConferenceSid)
pathConferenceSid - The string that uniquely identifies this conferencepublic 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 getAccountSid()
public final String getCallSid()
public final String getConferenceSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final Boolean getEndConferenceOnExit()
public final Boolean getMuted()
public final Boolean getHold()
public final Boolean getStartConferenceOnEnter()
public final Participant.Status getStatus()
public final String getUri()
Copyright © 2016 Twilio, Inc. All Rights Reserved.