public class Participant extends SidResource
Modifier and Type | Method and Description |
---|---|
static ParticipantDeleter |
delete(String conferenceSid,
String callSid)
Create a ParticipantDeleter to execute delete.
|
static ParticipantDeleter |
delete(String accountSid,
String conferenceSid,
String callSid)
Create a ParticipantDeleter to execute delete.
|
boolean |
equals(Object o) |
static ParticipantFetcher |
fetch(String conferenceSid,
String callSid)
Create a ParticipantFetcher to execute fetch.
|
static ParticipantFetcher |
fetch(String accountSid,
String conferenceSid,
String callSid)
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 |
getMuted()
Returns The Indicates if the participant is muted.
|
String |
getSid()
Returns The A string that uniquely identifies this call.
|
Boolean |
getStartConferenceOnEnter()
Returns The Indicates if the startConferenceOnEnter attribute was set.
|
String |
getUri()
Returns The The URI for this resource.
|
int |
hashCode() |
static ParticipantReader |
read(String conferenceSid)
Create a ParticipantReader to execute read.
|
static ParticipantReader |
read(String accountSid,
String conferenceSid)
Create a ParticipantReader to execute read.
|
String |
toString() |
static ParticipantUpdater |
update(String conferenceSid,
String callSid,
Boolean muted)
Create a ParticipantUpdater to execute update.
|
static ParticipantUpdater |
update(String accountSid,
String conferenceSid,
String callSid,
Boolean muted)
Create a ParticipantUpdater to execute update.
|
public static ParticipantFetcher fetch(String accountSid, String conferenceSid, String callSid)
accountSid
- The account_sidconferenceSid
- The string that uniquely identifies this conferencecallSid
- The call_sidpublic static ParticipantFetcher fetch(String conferenceSid, String callSid)
conferenceSid
- The string that uniquely identifies this conferencecallSid
- The call_sidpublic static ParticipantUpdater update(String accountSid, String conferenceSid, String callSid, Boolean muted)
accountSid
- The account_sidconferenceSid
- The string that uniquely identifies this conferencecallSid
- The call_sidmuted
- Indicates if the participant should be mutedpublic static ParticipantUpdater update(String conferenceSid, String callSid, Boolean muted)
conferenceSid
- The string that uniquely identifies this conferencecallSid
- The call_sidmuted
- Indicates if the participant should be mutedpublic static ParticipantDeleter delete(String accountSid, String conferenceSid, String callSid)
accountSid
- The account_sidconferenceSid
- The string that uniquely identifies this conferencecallSid
- The call_sidpublic static ParticipantDeleter delete(String conferenceSid, String callSid)
conferenceSid
- The string that uniquely identifies this conferencecallSid
- The call_sidpublic static ParticipantReader read(String accountSid, String conferenceSid)
accountSid
- The account_sidconferenceSid
- The string that uniquely identifies this conferencepublic static ParticipantReader read(String conferenceSid)
conferenceSid
- 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 getSid()
getSid
in class SidResource
public 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 getStartConferenceOnEnter()
public final String getUri()
Copyright © 2011 Twilio, Inc. All Rights Reserved.