public class Calls extends BaseModelObject
/v1/users/{userId}/calls| Modifier and Type | Class and Description |
|---|---|
class |
Calls.NewCallBuilder |
class |
Calls.QueryCallsBuilder |
client, dateFormat, parentUri, properties| Constructor and Description |
|---|
Calls(BandwidthRestClient client,
String parentUri) |
| Modifier and Type | Method and Description |
|---|---|
Call |
getCall(String callId)
Gets information about an active or completed call.
|
protected String |
getUri() |
Calls.NewCallBuilder |
newCallBuilder()
Creates builder for making a phone call.
|
Calls.QueryCallsBuilder |
queryCallsBuilder()
Creates builder for getting a list of active and historic calls you made or received.
|
getId, getProperty, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, putProperty, toMap, updatePropertiespublic Calls(BandwidthRestClient client, String parentUri)
public Calls.QueryCallsBuilder queryCallsBuilder()
List list = calls.queryCallsBuilder().bridgeId("{bridgeId}").list(); public Calls.NewCallBuilder newCallBuilder()
Call call = calls.newCallBuilder().from("{number1}").to("{number2}").create();public Call getCall(String callId) throws IOException
callId - call idIOExceptionprotected String getUri()
getUri in class BaseModelObjectCopyright © 2014. All rights reserved.