public static Bridge get ( final BandwidthClient client , final String id ) throws Exception { assert ( client != null ) ; final String bridgesUri = client . getUserResourceInstanceUri ( BandwidthConstants . BRIDGES_URI_PATH , id ) ; final JSONObject jsonObject = toJSONObject ( client . get ( bridgesUri , null ) ) ; return new Bridge ( client , jsonObject ) ; }
Convenience method to return a bridge object given a client and an id