public class ParticipantCreator extends Creator<Participant>
| Constructor and Description |
|---|
ParticipantCreator(String pathServiceSid,
String pathSessionSid,
String identifier)
Construct a new ParticipantCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Participant |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
ParticipantCreator |
setFriendlyName(String friendlyName)
A human readable description of this resource, up to 64 characters..
|
ParticipantCreator |
setParticipantType(Participant.ParticipantType participantType)
The Type of this Participant.
|
create, createAsync, createAsyncpublic ParticipantCreator setFriendlyName(String friendlyName)
friendlyName - A human readable description of this resourcepublic ParticipantCreator setParticipantType(Participant.ParticipantType participantType)
participantType - The Type of this Participantpublic Participant create(TwilioRestClient client)
create in class Creator<Participant>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.