Package com.twilio.twiml.voice
Class VirtualAgent
- java.lang.Object
-
- com.twilio.twiml.TwiML
-
- com.twilio.twiml.voice.VirtualAgent
-
public class VirtualAgent extends TwiML
TwiML wrapper for<VirtualAgent>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVirtualAgent.BuilderCreate a new<VirtualAgent>element
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConnectorName()Defines the conversation profile Dialogflow needs to useStringgetLanguage()Language to be used by Dialogflow to transcribe speechStringgetStatusCallback()URL to post status callbacks from TwilioHttpMethodgetStatusCallbackMethod()HTTP method to use when requesting the status callback URLBooleanisSentimentAnalysis()Whether sentiment analysis needs to be enabled or not-
Methods inherited from class com.twilio.twiml.TwiML
equals, getChildren, getOptions, getTagName, hashCode, toUrl, toXml
-
-
-
-
Method Detail
-
getConnectorName
public String getConnectorName()
Defines the conversation profile Dialogflow needs to use- Returns:
- Defines the conversation profile Dialogflow needs to use
-
getLanguage
public String getLanguage()
Language to be used by Dialogflow to transcribe speech- Returns:
- Language to be used by Dialogflow to transcribe speech
-
isSentimentAnalysis
public Boolean isSentimentAnalysis()
Whether sentiment analysis needs to be enabled or not- Returns:
- Whether sentiment analysis needs to be enabled or not
-
getStatusCallback
public String getStatusCallback()
URL to post status callbacks from Twilio- Returns:
- URL to post status callbacks from Twilio
-
getStatusCallbackMethod
public HttpMethod getStatusCallbackMethod()
HTTP method to use when requesting the status callback URL- Returns:
- HTTP method to use when requesting the status callback URL
-
-