public class Participant extends Resource
| Modifier and Type | Method and Description |
|---|---|
static ParticipantCreator |
creator(String pathServiceSid,
String pathSessionSid,
String identifier)
Create a ParticipantCreator to execute create.
|
static ParticipantDeleter |
deleter(String pathServiceSid,
String pathSessionSid,
String pathSid)
Create a ParticipantDeleter to execute delete.
|
boolean |
equals(Object o) |
static ParticipantFetcher |
fetcher(String pathServiceSid,
String pathSessionSid,
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 Account Sid..
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this Participant was created.
|
org.joda.time.DateTime |
getDateDeleted()
Returns The The date this Participant was deleted.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Participant was updated.
|
String |
getFriendlyName()
Returns The A human readable description of this resource..
|
String |
getIdentifier()
Returns The The phone number of this Participant..
|
Map<String,String> |
getLinks()
Returns The Nested resource URLs..
|
String |
getProxyIdentifier()
Returns The The proxy_identifier.
|
String |
getProxyIdentifierSid()
Returns The Proxy Identifier Sid..
|
String |
getServiceSid()
Returns The Service Sid..
|
String |
getSessionSid()
Returns The Session Sid..
|
String |
getSid()
Returns The A string that uniquely identifies this Participant..
|
URI |
getUrl()
Returns The The URL of this resource..
|
int |
hashCode() |
static ParticipantReader |
reader(String pathServiceSid,
String pathSessionSid)
Create a ParticipantReader to execute read.
|
String |
toString() |
static ParticipantUpdater |
updater(String pathServiceSid,
String pathSessionSid,
String pathSid)
Create a ParticipantUpdater to execute update.
|
public static ParticipantFetcher fetcher(String pathServiceSid, String pathSessionSid, String pathSid)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathSid - A string that uniquely identifies this Participant.public static ParticipantReader reader(String pathServiceSid, String pathSessionSid)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.public static ParticipantCreator creator(String pathServiceSid, String pathSessionSid, String identifier)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.identifier - The phone number of this Participant.public static ParticipantDeleter deleter(String pathServiceSid, String pathSessionSid, String pathSid)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathSid - A string that uniquely identifies this Participant.public static ParticipantUpdater updater(String pathServiceSid, String pathSessionSid, String pathSid)
pathServiceSid - Service Sid.pathSessionSid - Session Sid.pathSid - A string that uniquely identifies this Participant.public 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 getSessionSid()
public final String getServiceSid()
public final String getAccountSid()
public final String getFriendlyName()
public final String getIdentifier()
public final String getProxyIdentifier()
public final String getProxyIdentifierSid()
public final org.joda.time.DateTime getDateDeleted()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
public final Map<String,String> getLinks()
Copyright © 2016 Twilio, Inc. All Rights Reserved.