twilio.rest.voice.v1.dialing_permissions package¶
Subpackages¶
Submodules¶
twilio.rest.voice.v1.dialing_permissions.bulk_country_update module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdateInstance(version, payload)[source]¶ Bases:
twilio.base.instance_resource.InstanceResourcePLEASE 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.
-
update_count¶ Returns: The number of countries updated Return type: unicode
-
update_request¶ Returns: A URL encoded JSON array of update objects Return type: unicode
-
-
class
twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdateList(version)[source]¶ Bases:
twilio.base.list_resource.ListResourcePLEASE 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.
-
create(update_request)[source]¶ Create the BulkCountryUpdateInstance
Parameters: update_request (unicode) – URL encoded JSON array of update objects Returns: The created BulkCountryUpdateInstance Return type: twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdateInstance
-
-
class
twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdatePage(version, response, solution)[source]¶ Bases:
twilio.base.page.PagePLEASE 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 BulkCountryUpdateInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdateInstance Return type: twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdateInstance
-
twilio.rest.voice.v1.dialing_permissions.settings module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.voice.v1.dialing_permissions.settings.SettingsContext(version)[source]¶ Bases:
twilio.base.instance_context.InstanceContextPLEASE 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 SettingsInstance
Returns: The fetched SettingsInstance Return type: twilio.rest.voice.v1.dialing_permissions.settings.SettingsInstance
-
update(dialing_permissions_inheritance=<object object>)[source]¶ Update the SettingsInstance
Parameters: dialing_permissions_inheritance (bool) – true for the sub-account to inherit voice dialing permissions from the Master Project; otherwise false Returns: The updated SettingsInstance Return type: twilio.rest.voice.v1.dialing_permissions.settings.SettingsInstance
-
-
class
twilio.rest.voice.v1.dialing_permissions.settings.SettingsInstance(version, payload)[source]¶ Bases:
twilio.base.instance_resource.InstanceResourcePLEASE 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.
-
dialing_permissions_inheritance¶ Returns: true if the sub-account will inherit voice dialing permissions from the Master Project; otherwise false Return type: bool
-
fetch()[source]¶ Fetch the SettingsInstance
Returns: The fetched SettingsInstance Return type: twilio.rest.voice.v1.dialing_permissions.settings.SettingsInstance
-
update(dialing_permissions_inheritance=<object object>)[source]¶ Update the SettingsInstance
Parameters: dialing_permissions_inheritance (bool) – true for the sub-account to inherit voice dialing permissions from the Master Project; otherwise false Returns: The updated SettingsInstance Return type: twilio.rest.voice.v1.dialing_permissions.settings.SettingsInstance
-
url¶ Returns: The absolute URL of this resource Return type: unicode
-
-
class
twilio.rest.voice.v1.dialing_permissions.settings.SettingsList(version)[source]¶ Bases:
twilio.base.list_resource.ListResourcePLEASE 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()[source]¶ Constructs a SettingsContext
Returns: twilio.rest.voice.v1.dialing_permissions.settings.SettingsContext Return type: twilio.rest.voice.v1.dialing_permissions.settings.SettingsContext
-
-
class
twilio.rest.voice.v1.dialing_permissions.settings.SettingsPage(version, response, solution)[source]¶ Bases:
twilio.base.page.PagePLEASE 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 SettingsInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.voice.v1.dialing_permissions.settings.SettingsInstance Return type: twilio.rest.voice.v1.dialing_permissions.settings.SettingsInstance
-
Module contents¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.voice.v1.dialing_permissions.DialingPermissionsInstance(version, payload)[source]¶ Bases:
twilio.base.instance_resource.InstanceResourcePLEASE 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.
-
class
twilio.rest.voice.v1.dialing_permissions.DialingPermissionsList(version)[source]¶ Bases:
twilio.base.list_resource.ListResourcePLEASE 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.
-
bulk_country_updates¶ Access the bulk_country_updates
Returns: twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdateList Return type: twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdateList
-
countries¶ Access the countries
Returns: twilio.rest.voice.v1.dialing_permissions.country.CountryList Return type: twilio.rest.voice.v1.dialing_permissions.country.CountryList
-
settings¶ Access the settings
Returns: twilio.rest.voice.v1.dialing_permissions.settings.SettingsList Return type: twilio.rest.voice.v1.dialing_permissions.settings.SettingsList
-
-
class
twilio.rest.voice.v1.dialing_permissions.DialingPermissionsPage(version, response, solution)[source]¶ Bases:
twilio.base.page.PagePLEASE 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 DialingPermissionsInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.voice.v1.dialing_permissions.DialingPermissionsInstance Return type: twilio.rest.voice.v1.dialing_permissions.DialingPermissionsInstance
-