twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on package¶
Submodules¶
twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.
AssignedAddOnExtensionContext
(version, account_sid, resource_sid, assigned_add_on_sid, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
fetch
()[source]¶ Fetch the AssignedAddOnExtensionInstance
Returns: The fetched AssignedAddOnExtensionInstance Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionInstance
-
-
class
twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.
AssignedAddOnExtensionInstance
(version, payload, account_sid, resource_sid, assigned_add_on_sid, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
account_sid
¶ Returns: The SID of the Account that created the resource Return type: unicode
-
assigned_add_on_sid
¶ Returns: The SID that uniquely identifies the assigned Add-on installation Return type: unicode
-
fetch
()[source]¶ Fetch the AssignedAddOnExtensionInstance
Returns: The fetched AssignedAddOnExtensionInstance Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionInstance
-
friendly_name
¶ Returns: The string that you assigned to describe the resource Return type: unicode
-
product_name
¶ Returns: A string that you assigned to describe the Product this Extension is used within Return type: unicode
-
resource_sid
¶ Returns: The SID of the Phone Number to which the Add-on is assigned Return type: unicode
-
sid
¶ Returns: The unique string that identifies the resource Return type: unicode
-
unique_name
¶ Returns: An application-defined string that uniquely identifies the resource Return type: unicode
-
uri
¶ Returns: The URI of the resource, relative to https://api.twilio.com Return type: unicode
-
-
class
twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.
AssignedAddOnExtensionList
(version, account_sid, resource_sid, assigned_add_on_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
get
(sid)[source]¶ Constructs a AssignedAddOnExtensionContext
Parameters: sid – The unique string that identifies the resource Returns: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionContext Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of AssignedAddOnExtensionInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of AssignedAddOnExtensionInstance Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionPage
-
list
(limit=None, page_size=None)[source]¶ Lists AssignedAddOnExtensionInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionInstance]
-
page
(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of AssignedAddOnExtensionInstance records from the API. Request is executed immediately
Parameters: Returns: Page of AssignedAddOnExtensionInstance
Return type:
-
stream
(limit=None, page_size=None)[source]¶ Streams AssignedAddOnExtensionInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionInstance]
-
-
class
twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.
AssignedAddOnExtensionPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
get_instance
(payload)[source]¶ Build an instance of AssignedAddOnExtensionInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionInstance Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionInstance
-
Module contents¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.
AssignedAddOnContext
(version, account_sid, resource_sid, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
delete
()[source]¶ Deletes the AssignedAddOnInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
extensions
¶ Access the extensions
Returns: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionList Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionList
-
fetch
()[source]¶ Fetch the AssignedAddOnInstance
Returns: The fetched AssignedAddOnInstance Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnInstance
-
-
class
twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.
AssignedAddOnInstance
(version, payload, account_sid, resource_sid, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
account_sid
¶ Returns: The SID of the Account that created the resource Return type: unicode
-
date_created
¶ Returns: The RFC 2822 date and time in GMT that the resource was created Return type: datetime
-
date_updated
¶ Returns: The RFC 2822 date and time in GMT that the resource was last updated Return type: datetime
-
delete
()[source]¶ Deletes the AssignedAddOnInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
description
¶ Returns: A short description of the Add-on functionality Return type: unicode
-
extensions
¶ Access the extensions
Returns: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionList Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionList
-
fetch
()[source]¶ Fetch the AssignedAddOnInstance
Returns: The fetched AssignedAddOnInstance Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnInstance
-
friendly_name
¶ Returns: The string that you assigned to describe the resource Return type: unicode
-
resource_sid
¶ Returns: The SID of the Phone Number that installed this Add-on Return type: unicode
-
sid
¶ Returns: The unique string that identifies the resource Return type: unicode
-
subresource_uris
¶ Returns: A list of related resources identified by their relative URIs Return type: unicode
-
unique_name
¶ Returns: An application-defined string that uniquely identifies the resource Return type: unicode
-
uri
¶ Returns: The URI of the resource, relative to https://api.twilio.com Return type: unicode
-
-
class
twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.
AssignedAddOnList
(version, account_sid, resource_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
create
(installed_add_on_sid)[source]¶ Create the AssignedAddOnInstance
Parameters: installed_add_on_sid (unicode) – The SID that identifies the Add-on installation Returns: The created AssignedAddOnInstance Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnInstance
-
get
(sid)[source]¶ Constructs a AssignedAddOnContext
Parameters: sid – The unique string that identifies the resource Returns: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnContext Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of AssignedAddOnInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of AssignedAddOnInstance Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnPage
-
list
(limit=None, page_size=None)[source]¶ Lists AssignedAddOnInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnInstance]
-
page
(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of AssignedAddOnInstance records from the API. Request is executed immediately
Parameters: Returns: Page of AssignedAddOnInstance
Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnPage
-
stream
(limit=None, page_size=None)[source]¶ Streams AssignedAddOnInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnInstance]
-
-
class
twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.
AssignedAddOnPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
get_instance
(payload)[source]¶ Build an instance of AssignedAddOnInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnInstance Return type: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.AssignedAddOnInstance
-