How to use the messagebird.call_flow.CallFlowNumberList function in messagebird

To help you get started, we’ve selected a few messagebird examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github messagebird / python-rest-api / messagebird / client.py View on Github external
def call_flow_numbers_add(self, call_flow_id, numbers=()):
        params = {'numbers': numbers}
        return CallFlowNumberList().load(
            self.request('call-flows/' + str(call_flow_id) + '/numbers', 'POST', params, VOICE_TYPE))
github messagebird / python-rest-api / messagebird / call_flow.py View on Github external
def __init__(self):
        self._data = None
        self._pagination = None

        super(CallFlowNumberList, self).__init__(CallFlowNumber)
github messagebird / python-rest-api / messagebird / client.py View on Github external
def call_flow_numbers_list(self, call_flow_id):
        return CallFlowNumberList().load(
            self.request('call-flows/' + str(call_flow_id) + '/numbers', 'GET', None, VOICE_TYPE))