Package com.twilio.twiml.voice
Class Conversation
- java.lang.Object
-
- com.twilio.twiml.TwiML
-
- com.twilio.twiml.voice.Conversation
-
public class Conversation extends TwiML
TwiML wrapper for<Conversation>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversation.BuilderCreate a new<Conversation>elementstatic classConversation.Eventstatic classConversation.Recordstatic classConversation.RecordingEventstatic classConversation.Trim
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetInboundTimeout()Inbound timeoutHttpMethodgetMethod()TwiML URL methodConversation.RecordgetRecord()RecordURIgetRecordingStatusCallback()Recording status callback URLList<Conversation.RecordingEvent>getRecordingStatusCallbackEvents()Recording status callback eventsHttpMethodgetRecordingStatusCallbackMethod()Recording status callback URL methodIntegergetRoutingAssignmentTimeout()Routing assignment timeoutStringgetServiceInstanceSid()Service instance SidURIgetStatusCallback()Status callback URLList<Conversation.Event>getStatusCallbackEvents()Events to call status callback URLHttpMethodgetStatusCallbackMethod()Status callback URL methodConversation.TrimgetTrim()TrimURIgetUrl()TwiML URLBooleanisInboundAutocreation()Inbound autocreation-
Methods inherited from class com.twilio.twiml.TwiML
equals, getChildren, getOptions, getTagName, hashCode, toUrl, toXml
-
-
-
-
Method Detail
-
getServiceInstanceSid
public String getServiceInstanceSid()
Service instance Sid- Returns:
- Service instance Sid
-
isInboundAutocreation
public Boolean isInboundAutocreation()
Inbound autocreation- Returns:
- Inbound autocreation
-
getRoutingAssignmentTimeout
public Integer getRoutingAssignmentTimeout()
Routing assignment timeout- Returns:
- Routing assignment timeout
-
getInboundTimeout
public Integer getInboundTimeout()
Inbound timeout- Returns:
- Inbound timeout
-
getUrl
public URI getUrl()
TwiML URL- Returns:
- TwiML URL
-
getMethod
public HttpMethod getMethod()
TwiML URL method- Returns:
- TwiML URL method
-
getRecord
public Conversation.Record getRecord()
Record- Returns:
- Record
-
getTrim
public Conversation.Trim getTrim()
Trim- Returns:
- Trim
-
getRecordingStatusCallback
public URI getRecordingStatusCallback()
Recording status callback URL- Returns:
- Recording status callback URL
-
getRecordingStatusCallbackMethod
public HttpMethod getRecordingStatusCallbackMethod()
Recording status callback URL method- Returns:
- Recording status callback URL method
-
getRecordingStatusCallbackEvents
public List<Conversation.RecordingEvent> getRecordingStatusCallbackEvents()
Recording status callback events- Returns:
- Recording status callback events
-
getStatusCallback
public URI getStatusCallback()
Status callback URL- Returns:
- Status callback URL
-
getStatusCallbackMethod
public HttpMethod getStatusCallbackMethod()
Status callback URL method- Returns:
- Status callback URL method
-
getStatusCallbackEvents
public List<Conversation.Event> getStatusCallbackEvents()
Events to call status callback URL- Returns:
- Events to call status callback URL
-
-