|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource
com.twilio.sdk.resource.InstanceResource
com.twilio.sdk.resource.instance.Call
public class Call
The Class Call. For more information see https://www.twilio.com/docs/api/rest/call
| Constructor Summary | |
|---|---|
Call(TwilioRestClient client)
Instantiates a new call. |
|
Call(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new call. |
|
Call(TwilioRestClient client,
String sid)
Instantiates a new call. |
|
| Method Summary | |
|---|---|
Call |
cancel()
Cancel. |
String |
getAccountSid()
Gets the account sid. |
String |
getAnsweredBy()
Gets the answered by. |
String |
getCallerName()
Gets the caller name. |
Date |
getDateCreated()
Gets the date created. |
Date |
getDateUpdated()
Gets the date updated. |
String |
getDirection()
Gets the direction. |
String |
getDuration()
Gets the duration. |
String |
getEndTime()
Gets the end time. |
String |
getForwardedFrom()
Gets the forwarded from. |
String |
getFrom()
Gets the from. |
String |
getParentCallSid()
Gets the parent call sid. |
String |
getPhoneNumberSid()
Gets the phone number sid. |
String |
getPrice()
Gets the price. |
RecordingList |
getRecordings()
Returns the list of associated recordings |
String |
getSid()
Gets the sid. |
String |
getStartTime()
Gets the start time. |
String |
getStatus()
Gets the status. |
String |
getTo()
Gets the to. |
TranscriptionList |
getTranscriptions()
Returns the list of associated transcriptions |
Call |
hangup()
Hangup. |
Call |
redirect(String url,
String method)
Redirect. |
| Methods inherited from class com.twilio.sdk.resource.InstanceResource |
|---|
getObject, getProperty, update, update |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Call(TwilioRestClient client)
client - the client
public Call(TwilioRestClient client,
String sid)
client - the clientsid - the sid
public Call(TwilioRestClient client,
Map<String,Object> properties)
client - the clientproperties - the properties| Method Detail |
|---|
public String getSid()
public TranscriptionList getTranscriptions()
public RecordingList getRecordings()
public String getParentCallSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getAccountSid()
public String getTo()
public String getFrom()
public String getPhoneNumberSid()
public String getStatus()
public String getStartTime()
public String getEndTime()
public String getDuration()
public String getPrice()
public String getDirection()
public String getAnsweredBy()
public String getForwardedFrom()
public String getCallerName()
public Call redirect(String url,
String method)
throws TwilioRestException
url - the urlmethod - the method
TwilioRestException - the twilio rest exception
public Call hangup()
throws TwilioRestException
TwilioRestException - the twilio rest exception
public Call cancel()
throws TwilioRestException
TwilioRestException - the twilio rest exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||