twilio.rest.preview.bulk_exports package

Submodules

twilio.rest.preview.bulk_exports.export_configuration module

This code was generated by / _ _ _| _ _

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationContext(version, resource_type)[source]

Bases: twilio.base.instance_context.InstanceContext

PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.

fetch()[source]

Fetch the ExportConfigurationInstance

Returns:The fetched ExportConfigurationInstance
Return type:twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationInstance
update(enabled=<object object>, webhook_url=<object object>, webhook_method=<object object>)[source]

Update the ExportConfigurationInstance

Parameters:
  • enabled (bool) – Whether files are automatically generated
  • webhook_url (unicode) – URL targeted at export
  • webhook_method (unicode) – Whether to GET or POST to the webhook url
Returns:

The updated ExportConfigurationInstance

Return type:

twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationInstance

class twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationInstance(version, payload, resource_type=None)[source]

Bases: twilio.base.instance_resource.InstanceResource

PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.

enabled
Returns:Whether files are automatically generated
Return type:bool
fetch()[source]

Fetch the ExportConfigurationInstance

Returns:The fetched ExportConfigurationInstance
Return type:twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationInstance
resource_type
Returns:The type of communication – Messages, Calls, Conferences, and Participants
Return type:unicode
update(enabled=<object object>, webhook_url=<object object>, webhook_method=<object object>)[source]

Update the ExportConfigurationInstance

Parameters:
  • enabled (bool) – Whether files are automatically generated
  • webhook_url (unicode) – URL targeted at export
  • webhook_method (unicode) – Whether to GET or POST to the webhook url
Returns:

The updated ExportConfigurationInstance

Return type:

twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationInstance

url
Returns:The URL of this resource.
Return type:unicode
webhook_method
Returns:Whether to GET or POST to the webhook url
Return type:unicode
webhook_url
Returns:URL targeted at export
Return type:unicode
class twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationList(version)[source]

Bases: twilio.base.list_resource.ListResource

PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.

get(resource_type)[source]

Constructs a ExportConfigurationContext

Parameters:resource_type – The type of communication – Messages, Calls, Conferences, and Participants
Returns:twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationContext
Return type:twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationContext
class twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationPage(version, response, solution)[source]

Bases: twilio.base.page.Page

PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.

get_instance(payload)[source]

Build an instance of ExportConfigurationInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationInstance
Return type:twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationInstance

Module contents

This code was generated by / _ _ _| _ _

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.preview.bulk_exports.BulkExports(domain)[source]

Bases: twilio.base.version.Version

export_configuration
Return type:twilio.rest.preview.bulk_exports.export_configuration.ExportConfigurationList
exports
Return type:twilio.rest.preview.bulk_exports.export.ExportList