Package com.twilio.twiml.voice
Class Client
- java.lang.Object
-
- com.twilio.twiml.TwiML
-
- com.twilio.twiml.voice.Client
-
public class Client extends TwiML
TwiML wrapper for<Client>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Client.Builder
Create a new<Client>
elementstatic class
Client.Event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIdentity()
Client identityHttpMethod
getMethod()
Client URL MethodURI
getStatusCallback()
Status Callback URLList<Client.Event>
getStatusCallbackEvents()
Events to trigger status callbackHttpMethod
getStatusCallbackMethod()
Status Callback URL MethodURI
getUrl()
Client URL-
Methods inherited from class com.twilio.twiml.TwiML
equals, getChildren, getOptions, getTagName, hashCode, toUrl, toXml
-
-
-
-
Method Detail
-
getUrl
public URI getUrl()
Client URL- Returns:
- Client URL
-
getMethod
public HttpMethod getMethod()
Client URL Method- Returns:
- Client URL Method
-
getStatusCallbackEvents
public List<Client.Event> getStatusCallbackEvents()
Events to trigger status callback- Returns:
- Events to trigger status callback
-
getStatusCallback
public URI getStatusCallback()
Status Callback URL- Returns:
- Status Callback URL
-
getStatusCallbackMethod
public HttpMethod getStatusCallbackMethod()
Status Callback URL Method- Returns:
- Status Callback URL Method
-
getIdentity
public String getIdentity()
Client identity- Returns:
- Client identity
-
-