Class ParticipantCreator
- java.lang.Object
-
- com.twilio.base.Creator<Participant>
-
- com.twilio.rest.api.v2010.account.conference.ParticipantCreator
-
public class ParticipantCreator extends Creator<Participant>
-
-
Constructor Summary
Constructors Constructor Description ParticipantCreator(String pathConferenceSid, Endpoint from, Endpoint to)ParticipantCreator(String pathAccountSid, String pathConferenceSid, Endpoint from, Endpoint to)
-
Method Summary
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setFrom
public ParticipantCreator setFrom(Endpoint from)
-
setTo
public ParticipantCreator setTo(Endpoint to)
-
setStatusCallback
public ParticipantCreator setStatusCallback(URI statusCallback)
-
setStatusCallback
public ParticipantCreator setStatusCallback(String statusCallback)
-
setStatusCallbackMethod
public ParticipantCreator setStatusCallbackMethod(HttpMethod statusCallbackMethod)
-
setStatusCallbackEvent
public ParticipantCreator setStatusCallbackEvent(List<String> statusCallbackEvent)
-
setStatusCallbackEvent
public ParticipantCreator setStatusCallbackEvent(String statusCallbackEvent)
-
setLabel
public ParticipantCreator setLabel(String label)
-
setTimeout
public ParticipantCreator setTimeout(Integer timeout)
-
setRecord
public ParticipantCreator setRecord(Boolean record)
-
setMuted
public ParticipantCreator setMuted(Boolean muted)
-
setBeep
public ParticipantCreator setBeep(String beep)
-
setStartConferenceOnEnter
public ParticipantCreator setStartConferenceOnEnter(Boolean startConferenceOnEnter)
-
setEndConferenceOnExit
public ParticipantCreator setEndConferenceOnExit(Boolean endConferenceOnExit)
-
setWaitUrl
public ParticipantCreator setWaitUrl(URI waitUrl)
-
setWaitUrl
public ParticipantCreator setWaitUrl(String waitUrl)
-
setWaitMethod
public ParticipantCreator setWaitMethod(HttpMethod waitMethod)
-
setEarlyMedia
public ParticipantCreator setEarlyMedia(Boolean earlyMedia)
-
setMaxParticipants
public ParticipantCreator setMaxParticipants(Integer maxParticipants)
-
setConferenceRecord
public ParticipantCreator setConferenceRecord(String conferenceRecord)
-
setConferenceTrim
public ParticipantCreator setConferenceTrim(String conferenceTrim)
-
setConferenceStatusCallback
public ParticipantCreator setConferenceStatusCallback(URI conferenceStatusCallback)
-
setConferenceStatusCallback
public ParticipantCreator setConferenceStatusCallback(String conferenceStatusCallback)
-
setConferenceStatusCallbackMethod
public ParticipantCreator setConferenceStatusCallbackMethod(HttpMethod conferenceStatusCallbackMethod)
-
setConferenceStatusCallbackEvent
public ParticipantCreator setConferenceStatusCallbackEvent(List<String> conferenceStatusCallbackEvent)
-
setConferenceStatusCallbackEvent
public ParticipantCreator setConferenceStatusCallbackEvent(String conferenceStatusCallbackEvent)
-
setRecordingChannels
public ParticipantCreator setRecordingChannels(String recordingChannels)
-
setRecordingStatusCallback
public ParticipantCreator setRecordingStatusCallback(URI recordingStatusCallback)
-
setRecordingStatusCallback
public ParticipantCreator setRecordingStatusCallback(String recordingStatusCallback)
-
setRecordingStatusCallbackMethod
public ParticipantCreator setRecordingStatusCallbackMethod(HttpMethod recordingStatusCallbackMethod)
-
setSipAuthUsername
public ParticipantCreator setSipAuthUsername(String sipAuthUsername)
-
setSipAuthPassword
public ParticipantCreator setSipAuthPassword(String sipAuthPassword)
-
setRegion
public ParticipantCreator setRegion(String region)
-
setConferenceRecordingStatusCallback
public ParticipantCreator setConferenceRecordingStatusCallback(URI conferenceRecordingStatusCallback)
-
setConferenceRecordingStatusCallback
public ParticipantCreator setConferenceRecordingStatusCallback(String conferenceRecordingStatusCallback)
-
setConferenceRecordingStatusCallbackMethod
public ParticipantCreator setConferenceRecordingStatusCallbackMethod(HttpMethod conferenceRecordingStatusCallbackMethod)
-
setRecordingStatusCallbackEvent
public ParticipantCreator setRecordingStatusCallbackEvent(List<String> recordingStatusCallbackEvent)
-
setRecordingStatusCallbackEvent
public ParticipantCreator setRecordingStatusCallbackEvent(String recordingStatusCallbackEvent)
-
setConferenceRecordingStatusCallbackEvent
public ParticipantCreator setConferenceRecordingStatusCallbackEvent(List<String> conferenceRecordingStatusCallbackEvent)
-
setConferenceRecordingStatusCallbackEvent
public ParticipantCreator setConferenceRecordingStatusCallbackEvent(String conferenceRecordingStatusCallbackEvent)
-
setCoaching
public ParticipantCreator setCoaching(Boolean coaching)
-
setCallSidToCoach
public ParticipantCreator setCallSidToCoach(String callSidToCoach)
-
setJitterBufferSize
public ParticipantCreator setJitterBufferSize(String jitterBufferSize)
-
setByoc
public ParticipantCreator setByoc(String byoc)
-
setCallerId
public ParticipantCreator setCallerId(String callerId)
-
setCallReason
public ParticipantCreator setCallReason(String callReason)
-
setRecordingTrack
public ParticipantCreator setRecordingTrack(String recordingTrack)
-
setTimeLimit
public ParticipantCreator setTimeLimit(Integer timeLimit)
-
setMachineDetection
public ParticipantCreator setMachineDetection(String machineDetection)
-
setMachineDetectionTimeout
public ParticipantCreator setMachineDetectionTimeout(Integer machineDetectionTimeout)
-
setMachineDetectionSpeechThreshold
public ParticipantCreator setMachineDetectionSpeechThreshold(Integer machineDetectionSpeechThreshold)
-
setMachineDetectionSpeechEndThreshold
public ParticipantCreator setMachineDetectionSpeechEndThreshold(Integer machineDetectionSpeechEndThreshold)
-
setMachineDetectionSilenceTimeout
public ParticipantCreator setMachineDetectionSilenceTimeout(Integer machineDetectionSilenceTimeout)
-
setAmdStatusCallback
public ParticipantCreator setAmdStatusCallback(URI amdStatusCallback)
-
setAmdStatusCallback
public ParticipantCreator setAmdStatusCallback(String amdStatusCallback)
-
setAmdStatusCallbackMethod
public ParticipantCreator setAmdStatusCallbackMethod(HttpMethod amdStatusCallbackMethod)
-
create
public Participant create(TwilioRestClient client)
Description copied from class:CreatorExecute a request using specified client.- Specified by:
createin classCreator<Participant>- Parameters:
client- client used to make request- Returns:
- Requested object
-
-