twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping package¶
Submodules¶
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.
AuthCallsCredentialListMappingContext
(version, account_sid, domain_sid, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
delete
()[source]¶ Deletes the AuthCallsCredentialListMappingInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the AuthCallsCredentialListMappingInstance
Returns: The fetched AuthCallsCredentialListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingInstance
-
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.
AuthCallsCredentialListMappingInstance
(version, payload, account_sid, domain_sid, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
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 AuthCallsCredentialListMappingInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the AuthCallsCredentialListMappingInstance
Returns: The fetched AuthCallsCredentialListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingInstance
-
friendly_name
¶ Returns: The string that you assigned to describe the resource Return type: unicode
-
sid
¶ Returns: The unique string that identifies the resource Return type: unicode
-
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.
AuthCallsCredentialListMappingList
(version, account_sid, domain_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
create
(credential_list_sid)[source]¶ Create the AuthCallsCredentialListMappingInstance
Parameters: credential_list_sid (unicode) – The SID of the CredentialList resource to map to the SIP domain Returns: The created AuthCallsCredentialListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingInstance
-
get
(sid)[source]¶ Constructs a AuthCallsCredentialListMappingContext
Parameters: sid – The unique string that identifies the resource Returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingContext Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of AuthCallsCredentialListMappingInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of AuthCallsCredentialListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingPage
-
list
(limit=None, page_size=None)[source]¶ Lists AuthCallsCredentialListMappingInstance 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.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingInstance]
-
page
(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of AuthCallsCredentialListMappingInstance records from the API. Request is executed immediately
Parameters: Returns: Page of AuthCallsCredentialListMappingInstance
Return type:
-
stream
(limit=None, page_size=None)[source]¶ Streams AuthCallsCredentialListMappingInstance 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.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingInstance]
-
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.
AuthCallsCredentialListMappingPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of AuthCallsCredentialListMappingInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingInstance
-
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.
AuthCallsIpAccessControlListMappingContext
(version, account_sid, domain_sid, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
delete
()[source]¶ Deletes the AuthCallsIpAccessControlListMappingInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the AuthCallsIpAccessControlListMappingInstance
Returns: The fetched AuthCallsIpAccessControlListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingInstance
-
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.
AuthCallsIpAccessControlListMappingInstance
(version, payload, account_sid, domain_sid, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
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 AuthCallsIpAccessControlListMappingInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the AuthCallsIpAccessControlListMappingInstance
Returns: The fetched AuthCallsIpAccessControlListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingInstance
-
friendly_name
¶ Returns: The string that you assigned to describe the resource Return type: unicode
-
sid
¶ Returns: The unique string that identifies the resource Return type: unicode
-
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.
AuthCallsIpAccessControlListMappingList
(version, account_sid, domain_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
create
(ip_access_control_list_sid)[source]¶ Create the AuthCallsIpAccessControlListMappingInstance
Parameters: ip_access_control_list_sid (unicode) – The SID of the IpAccessControlList resource to map to the SIP domain Returns: The created AuthCallsIpAccessControlListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingInstance
-
get
(sid)[source]¶ Constructs a AuthCallsIpAccessControlListMappingContext
Parameters: sid – The unique string that identifies the resource Returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingContext Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of AuthCallsIpAccessControlListMappingInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of AuthCallsIpAccessControlListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingPage
-
list
(limit=None, page_size=None)[source]¶ Lists AuthCallsIpAccessControlListMappingInstance 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.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingInstance]
-
page
(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of AuthCallsIpAccessControlListMappingInstance records from the API. Request is executed immediately
Parameters: Returns: Page of AuthCallsIpAccessControlListMappingInstance
Return type:
-
stream
(limit=None, page_size=None)[source]¶ Streams AuthCallsIpAccessControlListMappingInstance 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.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingInstance]
-
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.
AuthCallsIpAccessControlListMappingPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of AuthCallsIpAccessControlListMappingInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingInstance
-
Module contents¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.
AuthTypeCallsInstance
(version, payload, account_sid, domain_sid)[source]¶
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.
AuthTypeCallsList
(version, account_sid, domain_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
credential_list_mappings
¶ Access the credential_list_mappings
Returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingList Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_credential_list_mapping.AuthCallsCredentialListMappingList
-
ip_access_control_list_mappings
¶ Access the ip_access_control_list_mappings
Returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingList Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.auth_calls_ip_access_control_list_mapping.AuthCallsIpAccessControlListMappingList
-
-
class
twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.
AuthTypeCallsPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of AuthTypeCallsInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.AuthTypeCallsInstance Return type: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_calls_mapping.AuthTypeCallsInstance
-