public class Bridges extends BaseModelObject
/v1/users/{userId}/bridges| Modifier and Type | Class and Description |
|---|---|
class |
Bridges.NewBridgeBuilder |
client, dateFormat, parentUri, properties| Constructor and Description |
|---|
Bridges(BandwidthRestClient client,
String parentUri) |
| Modifier and Type | Method and Description |
|---|---|
Bridge |
getBridge(String id)
Gets information about a specific bridge.
|
List<Bridge> |
getBridges()
Gets list of bridges for a given user.
|
protected String |
getUri() |
Bridges.NewBridgeBuilder |
newBridgeBuilder()
Creates builder for creating new bridge.
|
getId, getProperty, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, putProperty, toMap, updatePropertiespublic Bridges(BandwidthRestClient client, String parentUri)
public List<Bridge> getBridges() throws IOException
IOExceptionpublic Bridge getBridge(String id) throws IOException
id - bridge idIOExceptionpublic Bridges.NewBridgeBuilder newBridgeBuilder()
Bridge bridge = bridges.newBridgeBuilder().addCallId("{call1}").addCallId("{call2}").create();protected String getUri()
getUri in class BaseModelObjectCopyright © 2014. All rights reserved.