[docs]classEventList(ListResource):
+
+ def__init__(self,version,account_sid,call_sid):
+ """
+ Initialize the EventList
+
+ :param Version version: Version that contains the resource
+ :param account_sid: The SID of the Account that created this resource
+ :param call_sid: The unique string that identifies this resource
+
+ :returns: twilio.rest.api.v2010.account.call.event.EventList
+ :rtype: twilio.rest.api.v2010.account.call.event.EventList
+ """
+ super(EventList,self).__init__(version)
+
+ # Path Solution
+ self._solution={'account_sid':account_sid,'call_sid':call_sid,}
+ self._uri='/Accounts/{account_sid}/Calls/{call_sid}/Events.json'.format(**self._solution)
+
+
[docs]defstream(self,limit=None,page_size=None):
+ """
+ Streams EventInstance 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.
+
+ :param int limit: Upper limit for the number of records to return. stream()
+ guarantees to never return more than limit. Default is no limit
+ :param int page_size: 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
+ :rtype: list[twilio.rest.api.v2010.account.call.event.EventInstance]
+ """
+ limits=self._version.read_limits(limit,page_size)
+
+ page=self.page(page_size=limits['page_size'],)
+
+ returnself._version.stream(page,limits['limit'])
+
+
[docs]deflist(self,limit=None,page_size=None):
+ """
+ Lists EventInstance records from the API as a list.
+ Unlike stream(), this operation is eager and will load `limit` records into
+ memory before returning.
+
+ :param int limit: Upper limit for the number of records to return. list() guarantees
+ never to return more than limit. Default is no limit
+ :param int page_size: 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
+ :rtype: list[twilio.rest.api.v2010.account.call.event.EventInstance]
+ """
+ returnlist(self.stream(limit=limit,page_size=page_size,))
+
+
[docs]defpage(self,page_token=values.unset,page_number=values.unset,
+ page_size=values.unset):
+ """
+ Retrieve a single page of EventInstance records from the API.
+ Request is executed immediately
+
+ :param str page_token: PageToken provided by the API
+ :param int page_number: Page Number, this value is simply for client state
+ :param int page_size: Number of records to return, defaults to 50
+
+ :returns: Page of EventInstance
+ :rtype: twilio.rest.api.v2010.account.call.event.EventPage
+ """
+ data=values.of({'PageToken':page_token,'Page':page_number,'PageSize':page_size,})
+
+ response=self._version.page(method='GET',uri=self._uri,params=data,)
+
+ returnEventPage(self._version,response,self._solution)
+
+
[docs]defget_page(self,target_url):
+ """
+ Retrieve a specific page of EventInstance records from the API.
+ Request is executed immediately
+
+ :param str target_url: API-generated URL for the requested results page
+
+ :returns: Page of EventInstance
+ :rtype: twilio.rest.api.v2010.account.call.event.EventPage
+ """
+ response=self._version.domain.twilio.request(
+ 'GET',
+ target_url,
+ )
+
+ returnEventPage(self._version,response,self._solution)
[docs]classEventPage(Page):
+
+ def__init__(self,version,response,solution):
+ """
+ Initialize the EventPage
+
+ :param Version version: Version that contains the resource
+ :param Response response: Response from the API
+ :param account_sid: The SID of the Account that created this resource
+ :param call_sid: The unique string that identifies this resource
+
+ :returns: twilio.rest.api.v2010.account.call.event.EventPage
+ :rtype: twilio.rest.api.v2010.account.call.event.EventPage
+ """
+ super(EventPage,self).__init__(version,response)
+
+ # Path Solution
+ self._solution=solution
+
+
[docs]defget_instance(self,payload):
+ """
+ Build an instance of EventInstance
+
+ :param dict payload: Payload response from the API
+
+ :returns: twilio.rest.api.v2010.account.call.event.EventInstance
+ :rtype: twilio.rest.api.v2010.account.call.event.EventInstance
+ """
+ returnEventInstance(
+ self._version,
+ payload,
+ account_sid=self._solution['account_sid'],
+ call_sid=self._solution['call_sid'],
+ )
[docs]defstream(self,sink_sid=values.unset,limit=None,page_size=None):""" Streams SubscriptionInstance 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.
+ :param unicode sink_sid: Sink SID. :param int limit: Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -85,16 +86,17 @@
Source code for twilio.rest.events.v1.subscription
[docs]deflist(self,sink_sid=values.unset,limit=None,page_size=None):""" Lists SubscriptionInstance records from the API as a list. Unlike stream(), this operation is eager and will load `limit` records into memory before returning.
+ :param unicode sink_sid: Sink SID. :param int limit: Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -105,14 +107,15 @@
Source code for twilio.rest.events.v1.subscription
:returns: Generator that will yield up to limit results
:rtype: list[twilio.rest.events.v1.subscription.SubscriptionInstance] """
- returnlist(self.stream(limit=limit,page_size=page_size,))
[docs]defpage(self,sink_sid=values.unset,page_token=values.unset,
+ page_number=values.unset,page_size=values.unset):""" Retrieve a single page of SubscriptionInstance records from the API. Request is executed immediately
+ :param unicode sink_sid: Sink SID. :param str page_token: PageToken provided by the API :param int page_number: Page Number, this value is simply for client state :param int page_size: Number of records to return, defaults to 50
@@ -120,7 +123,12 @@
Source code for twilio.rest.events.v1.subscription
[docs]classServiceList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version):"""
@@ -202,9 +201,8 @@
Source code for twilio.rest.serverless.v1.service
[docs]classServicePage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -243,9 +241,8 @@
Source code for twilio.rest.serverless.v1.service
[docs]classServiceContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,sid):"""
@@ -371,9 +368,8 @@
Source code for twilio.rest.serverless.v1.service
[docs]classServiceInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,payload,sid=None):"""
diff --git a/docs/build/html/_modules/twilio/rest/serverless/v1/service/asset.html b/docs/build/html/_modules/twilio/rest/serverless/v1/service/asset.html
index 88582d3804..b4787c5715 100644
--- a/docs/build/html/_modules/twilio/rest/serverless/v1/service/asset.html
+++ b/docs/build/html/_modules/twilio/rest/serverless/v1/service/asset.html
@@ -10,7 +10,7 @@
})(window,document,'script','dataLayer','GTM-MWRD6S');
-twilio.rest.serverless.v1.service.asset — twilio-python 6.47.0 documentation
+twilio.rest.serverless.v1.service.asset — twilio-python 6.48.0 documentation
@@ -46,9 +46,8 @@
Source code for twilio.rest.serverless.v1.service.asset
[docs]classAssetList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid):"""
@@ -191,9 +190,8 @@
Source code for twilio.rest.serverless.v1.service.asset
[docs]classAssetPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -233,9 +231,8 @@
Source code for twilio.rest.serverless.v1.service.asset
[docs]classAssetContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,sid):"""
@@ -330,9 +327,8 @@
Source code for twilio.rest.serverless.v1.service.asset
[docs]classAssetInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,payload,service_sid,sid=None):"""
diff --git a/docs/build/html/_modules/twilio/rest/serverless/v1/service/asset/asset_version.html b/docs/build/html/_modules/twilio/rest/serverless/v1/service/asset/asset_version.html
index 9d2a5e6593..4bbbcaa855 100644
--- a/docs/build/html/_modules/twilio/rest/serverless/v1/service/asset/asset_version.html
+++ b/docs/build/html/_modules/twilio/rest/serverless/v1/service/asset/asset_version.html
@@ -10,7 +10,7 @@
})(window,document,'script','dataLayer','GTM-MWRD6S');
-twilio.rest.serverless.v1.service.asset.asset_version — twilio-python 6.47.0 documentation
+twilio.rest.serverless.v1.service.asset.asset_version — twilio-python 6.48.0 documentation
@@ -45,9 +45,8 @@
Source code for twilio.rest.serverless.v1.service.asset.asset_version
[docs]classAssetVersionList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,asset_sid):"""
@@ -186,9 +185,8 @@
Source code for twilio.rest.serverless.v1.service.asset.asset_version
[docs]classAssetVersionPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -234,9 +232,8 @@
Source code for twilio.rest.serverless.v1.service.asset.asset_version
[docs]classAssetVersionContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,asset_sid,sid):"""
@@ -285,9 +282,8 @@
Source code for twilio.rest.serverless.v1.service.asset.asset_version
[docs]classAssetVersionInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """
Source code for twilio.rest.serverless.v1.service.build
[docs]classBuildList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid):"""
@@ -199,9 +198,8 @@
Source code for twilio.rest.serverless.v1.service.build
[docs]classBuildPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -241,9 +239,8 @@
Source code for twilio.rest.serverless.v1.service.build
[docs]classBuildContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,sid):"""
@@ -318,9 +315,8 @@
Source code for twilio.rest.serverless.v1.service.build
[docs]classBuildInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """
Source code for twilio.rest.serverless.v1.service.build.build_status
[docs]classBuildStatusList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,sid):"""
@@ -101,9 +100,8 @@
Source code for twilio.rest.serverless.v1.service.build.build_status
[docs]classBuildStatusPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -149,9 +147,8 @@
Source code for twilio.rest.serverless.v1.service.build.build_status
[docs]classBuildStatusContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,sid):"""
@@ -198,9 +195,8 @@
Source code for twilio.rest.serverless.v1.service.build.build_status
[docs]classBuildStatusInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """
Source code for twilio.rest.serverless.v1.service.environment
[docs]classEnvironmentList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid):"""
@@ -194,9 +193,8 @@
Source code for twilio.rest.serverless.v1.service.environment
[docs]classEnvironmentPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -236,9 +234,8 @@
Source code for twilio.rest.serverless.v1.service.environment
[docs]classEnvironmentContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,sid):"""
@@ -347,9 +344,8 @@
Source code for twilio.rest.serverless.v1.service.environment
[docs]classEnvironmentInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,payload,service_sid,sid=None):"""
diff --git a/docs/build/html/_modules/twilio/rest/serverless/v1/service/environment/deployment.html b/docs/build/html/_modules/twilio/rest/serverless/v1/service/environment/deployment.html
index d7caf38dfb..e7f8bd572b 100644
--- a/docs/build/html/_modules/twilio/rest/serverless/v1/service/environment/deployment.html
+++ b/docs/build/html/_modules/twilio/rest/serverless/v1/service/environment/deployment.html
@@ -10,7 +10,7 @@
})(window,document,'script','dataLayer','GTM-MWRD6S');
-twilio.rest.serverless.v1.service.environment.deployment — twilio-python 6.47.0 documentation
+twilio.rest.serverless.v1.service.environment.deployment — twilio-python 6.48.0 documentation
@@ -45,9 +45,8 @@
Source code for twilio.rest.serverless.v1.service.environment.deployment
[docs]classDeploymentList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,environment_sid):"""
@@ -206,9 +205,8 @@
Source code for twilio.rest.serverless.v1.service.environment.deployment
[docs]classDeploymentPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -254,9 +252,8 @@
Source code for twilio.rest.serverless.v1.service.environment.deployment
[docs]classDeploymentContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,environment_sid,sid):"""
@@ -305,9 +302,8 @@
Source code for twilio.rest.serverless.v1.service.environment.deployment
[docs]classDeploymentInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,payload,service_sid,environment_sid,sid=None):"""
diff --git a/docs/build/html/_modules/twilio/rest/serverless/v1/service/environment/log.html b/docs/build/html/_modules/twilio/rest/serverless/v1/service/environment/log.html
index f026574bf4..86872d8a69 100644
--- a/docs/build/html/_modules/twilio/rest/serverless/v1/service/environment/log.html
+++ b/docs/build/html/_modules/twilio/rest/serverless/v1/service/environment/log.html
@@ -10,7 +10,7 @@
})(window,document,'script','dataLayer','GTM-MWRD6S');
-twilio.rest.serverless.v1.service.environment.log — twilio-python 6.47.0 documentation
+twilio.rest.serverless.v1.service.environment.log — twilio-python 6.48.0 documentation
@@ -46,9 +46,8 @@
Source code for twilio.rest.serverless.v1.service.environment.log
[docs]classLogList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,environment_sid):"""
@@ -217,9 +216,8 @@
Source code for twilio.rest.serverless.v1.service.environment.log
[docs]classLogPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -265,9 +263,8 @@
Source code for twilio.rest.serverless.v1.service.environment.log
[docs]classLogContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,environment_sid,sid):"""
@@ -316,9 +313,8 @@
Source code for twilio.rest.serverless.v1.service.environment.log
[docs]classLogInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """
Source code for twilio.rest.serverless.v1.service.environment.variable
<
[docs]classVariableList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,environment_sid):"""
@@ -207,9 +206,8 @@
Source code for twilio.rest.serverless.v1.service.environment.variable
<
[docs]classVariablePage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -255,9 +253,8 @@
Source code for twilio.rest.serverless.v1.service.environment.variable
<
[docs]classVariableContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,environment_sid,sid):"""
@@ -337,9 +334,8 @@
Source code for twilio.rest.serverless.v1.service.environment.variable
<
[docs]classVariableInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,payload,service_sid,environment_sid,sid=None):"""
diff --git a/docs/build/html/_modules/twilio/rest/serverless/v1/service/function.html b/docs/build/html/_modules/twilio/rest/serverless/v1/service/function.html
index 15f0b65583..8b7b50742d 100644
--- a/docs/build/html/_modules/twilio/rest/serverless/v1/service/function.html
+++ b/docs/build/html/_modules/twilio/rest/serverless/v1/service/function.html
@@ -10,7 +10,7 @@
})(window,document,'script','dataLayer','GTM-MWRD6S');
-twilio.rest.serverless.v1.service.function — twilio-python 6.47.0 documentation
+twilio.rest.serverless.v1.service.function — twilio-python 6.48.0 documentation
@@ -46,9 +46,8 @@
Source code for twilio.rest.serverless.v1.service.function
[docs]classFunctionList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid):"""
@@ -191,9 +190,8 @@
Source code for twilio.rest.serverless.v1.service.function
[docs]classFunctionPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -233,9 +231,8 @@
Source code for twilio.rest.serverless.v1.service.function
[docs]classFunctionContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,sid):"""
@@ -330,9 +327,8 @@
Source code for twilio.rest.serverless.v1.service.function
[docs]classFunctionInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,payload,service_sid,sid=None):"""
diff --git a/docs/build/html/_modules/twilio/rest/serverless/v1/service/function/function_version.html b/docs/build/html/_modules/twilio/rest/serverless/v1/service/function/function_version.html
index db983cc89f..abc35992aa 100644
--- a/docs/build/html/_modules/twilio/rest/serverless/v1/service/function/function_version.html
+++ b/docs/build/html/_modules/twilio/rest/serverless/v1/service/function/function_version.html
@@ -10,7 +10,7 @@
})(window,document,'script','dataLayer','GTM-MWRD6S');
-twilio.rest.serverless.v1.service.function.function_version — twilio-python 6.47.0 documentation
+twilio.rest.serverless.v1.service.function.function_version — twilio-python 6.48.0 documentation
@@ -46,9 +46,8 @@
Source code for twilio.rest.serverless.v1.service.function.function_version<
[docs]classFunctionVersionList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,function_sid):"""
@@ -187,9 +186,8 @@
Source code for twilio.rest.serverless.v1.service.function.function_version<
[docs]classFunctionVersionPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -235,9 +233,8 @@
Source code for twilio.rest.serverless.v1.service.function.function_version<
[docs]classFunctionVersionContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,function_sid,sid):"""
@@ -306,9 +303,8 @@
Source code for twilio.rest.serverless.v1.service.function.function_version<
[docs]classFunctionVersionInstance(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """
Source code for twilio.rest.serverless.v1.service.function.function_version.
[docs]classFunctionVersionContentList(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,function_sid,sid):"""
@@ -104,9 +103,8 @@
Source code for twilio.rest.serverless.v1.service.function.function_version.
[docs]classFunctionVersionContentPage(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,response,solution):"""
@@ -154,9 +152,8 @@
Source code for twilio.rest.serverless.v1.service.function.function_version.
[docs]classFunctionVersionContentContext(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. """
+ """ PLEASE NOTE that this class contains beta products that are subject to
+ change. Use them with caution. """def__init__(self,version,service_sid,function_sid,sid):"""
@@ -205,9 +202,8 @@
Source code for twilio.rest.serverless.v1.service.function.function_version.
[docs]defstream(self,hide_expired=values.unset,limit=None,page_size=None):""" Streams DocumentInstance 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.
+ :param DocumentInstance.HideExpiredType hide_expired: Hide expired Sync Documents and show only active ones. :param int limit: Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -102,16 +103,17 @@
Source code for twilio.rest.sync.v1.service.document
[docs]deflist(self,hide_expired=values.unset,limit=None,page_size=None):""" Lists DocumentInstance records from the API as a list. Unlike stream(), this operation is eager and will load `limit` records into memory before returning.
+ :param DocumentInstance.HideExpiredType hide_expired: Hide expired Sync Documents and show only active ones. :param int limit: Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -122,14 +124,15 @@
Source code for twilio.rest.sync.v1.service.document
:returns: Generator that will yield up to limit results
:rtype: list[twilio.rest.sync.v1.service.document.DocumentInstance] """
- returnlist(self.stream(limit=limit,page_size=page_size,))
[docs]defpage(self,hide_expired=values.unset,page_token=values.unset,
+ page_number=values.unset,page_size=values.unset):""" Retrieve a single page of DocumentInstance records from the API. Request is executed immediately
+ :param DocumentInstance.HideExpiredType hide_expired: Hide expired Sync Documents and show only active ones. :param str page_token: PageToken provided by the API :param int page_number: Page Number, this value is simply for client state :param int page_size: Number of records to return, defaults to 50
@@ -137,7 +140,12 @@
Source code for twilio.rest.sync.v1.service.document
[docs]defstream(self,hide_expired=values.unset,limit=None,page_size=None):""" Streams SyncListInstance 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.
+ :param SyncListInstance.HideExpiredType hide_expired: Hide expired Sync Lists and show only active ones. :param int limit: Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -103,16 +104,17 @@
Source code for twilio.rest.sync.v1.service.sync_list
[docs]deflist(self,hide_expired=values.unset,limit=None,page_size=None):""" Lists SyncListInstance records from the API as a list. Unlike stream(), this operation is eager and will load `limit` records into memory before returning.
+ :param SyncListInstance.HideExpiredType hide_expired: Hide expired Sync Lists and show only active ones. :param int limit: Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -123,14 +125,15 @@
Source code for twilio.rest.sync.v1.service.sync_list
:returns: Generator that will yield up to limit results
:rtype: list[twilio.rest.sync.v1.service.sync_list.SyncListInstance] """
- returnlist(self.stream(limit=limit,page_size=page_size,))
[docs]defpage(self,hide_expired=values.unset,page_token=values.unset,
+ page_number=values.unset,page_size=values.unset):""" Retrieve a single page of SyncListInstance records from the API. Request is executed immediately
+ :param SyncListInstance.HideExpiredType hide_expired: Hide expired Sync Lists and show only active ones. :param str page_token: PageToken provided by the API :param int page_number: Page Number, this value is simply for client state :param int page_size: Number of records to return, defaults to 50
@@ -138,7 +141,12 @@
Source code for twilio.rest.sync.v1.service.sync_list
Source code for twilio.rest.sync.v1.service.sync_list.sync_list_item
)
[docs]defstream(self,order=values.unset,from_=values.unset,bounds=values.unset,
- limit=None,page_size=None):
+ hide_expired=values.unset,limit=None,page_size=None):""" Streams SyncListItemInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit
@@ -106,6 +106,7 @@
Source code for twilio.rest.sync.v1.service.sync_list.sync_list_item
:param SyncListItemInstance.QueryResultOrder order: The order to return the List Items
:param unicode from_: The index of the first Sync List Item resource to read :param SyncListItemInstance.QueryFromBoundType bounds: Whether to include the List Item referenced by the from parameter
+ :param SyncListItemInstance.HideExpiredType hide_expired: Hide expired Sync List items and show only active ones. :param int limit: Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -118,12 +119,18 @@
Source code for twilio.rest.sync.v1.service.sync_list.sync_list_item
[docs]deflist(self,order=values.unset,from_=values.unset,bounds=values.unset,
- limit=None,page_size=None):
+ hide_expired=values.unset,limit=None,page_size=None):""" Lists SyncListItemInstance records from the API as a list. Unlike stream(), this operation is eager and will load `limit` records into
@@ -132,6 +139,7 @@
Source code for twilio.rest.sync.v1.service.sync_list.sync_list_item
:param SyncListItemInstance.QueryResultOrder order: The order to return the List Items
:param unicode from_: The index of the first Sync List Item resource to read :param SyncListItemInstance.QueryFromBoundType bounds: Whether to include the List Item referenced by the from parameter
+ :param SyncListItemInstance.HideExpiredType hide_expired: Hide expired Sync List items and show only active ones. :param int limit: Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -142,11 +150,18 @@
Source code for twilio.rest.sync.v1.service.sync_list.sync_list_item
:returns: Generator that will yield up to limit results
:rtype: list[twilio.rest.sync.v1.service.sync_list.sync_list_item.SyncListItemInstance] """
- returnlist(self.stream(order=order,from_=from_,bounds=bounds,limit=limit,page_size=page_size,))
[docs]defpage(self,order=values.unset,from_=values.unset,bounds=values.unset,
- page_token=values.unset,page_number=values.unset,
- page_size=values.unset):
+ hide_expired=values.unset,page_token=values.unset,
+ page_number=values.unset,page_size=values.unset):""" Retrieve a single page of SyncListItemInstance records from the API. Request is executed immediately
@@ -154,6 +169,7 @@
Source code for twilio.rest.sync.v1.service.sync_list.sync_list_item
:param SyncListItemInstance.QueryResultOrder order: The order to return the List Items
:param unicode from_: The index of the first Sync List Item resource to read :param SyncListItemInstance.QueryFromBoundType bounds: Whether to include the List Item referenced by the from parameter
+ :param SyncListItemInstance.HideExpiredType hide_expired: Hide expired Sync List items and show only active ones. :param str page_token: PageToken provided by the API :param int page_number: Page Number, this value is simply for client state :param int page_size: Number of records to return, defaults to 50
@@ -165,6 +181,7 @@
Source code for twilio.rest.sync.v1.service.sync_list.sync_list_item
[docs]defstream(self,hide_expired=values.unset,limit=None,page_size=None):""" Streams SyncMapInstance 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.
+ :param SyncMapInstance.HideExpiredType hide_expired: Hide expired Sync Maps and show only active ones. :param int limit: Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -103,16 +104,17 @@
Source code for twilio.rest.sync.v1.service.sync_map
[docs]deflist(self,hide_expired=values.unset,limit=None,page_size=None):""" Lists SyncMapInstance records from the API as a list. Unlike stream(), this operation is eager and will load `limit` records into memory before returning.
+ :param SyncMapInstance.HideExpiredType hide_expired: Hide expired Sync Maps and show only active ones. :param int limit: Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -123,14 +125,15 @@
Source code for twilio.rest.sync.v1.service.sync_map
:returns: Generator that will yield up to limit results
:rtype: list[twilio.rest.sync.v1.service.sync_map.SyncMapInstance] """
- returnlist(self.stream(limit=limit,page_size=page_size,))
[docs]defpage(self,hide_expired=values.unset,page_token=values.unset,
+ page_number=values.unset,page_size=values.unset):""" Retrieve a single page of SyncMapInstance records from the API. Request is executed immediately
+ :param SyncMapInstance.HideExpiredType hide_expired: Hide expired Sync Maps and show only active ones. :param str page_token: PageToken provided by the API :param int page_number: Page Number, this value is simply for client state :param int page_size: Number of records to return, defaults to 50
@@ -138,7 +141,12 @@
Source code for twilio.rest.sync.v1.service.sync_map
Source code for twilio.rest.sync.v1.service.sync_map.sync_map_item
)
[docs]defstream(self,order=values.unset,from_=values.unset,bounds=values.unset,
- limit=None,page_size=None):
+ hide_expired=values.unset,limit=None,page_size=None):""" Streams SyncMapItemInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit
@@ -108,6 +108,7 @@
Source code for twilio.rest.sync.v1.service.sync_map.sync_map_item
:param SyncMapItemInstance.QueryResultOrder order: How to order the Map Items returned by their key value
:param unicode from_: The index of the first Sync Map Item resource to read :param SyncMapItemInstance.QueryFromBoundType bounds: Whether to include the Map Item referenced by the from parameter
+ :param SyncMapItemInstance.HideExpiredType hide_expired: Hide expired Sync Map items and show only active ones. :param int limit: Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -120,12 +121,18 @@
Source code for twilio.rest.sync.v1.service.sync_map.sync_map_item
[docs]deflist(self,order=values.unset,from_=values.unset,bounds=values.unset,
- limit=None,page_size=None):
+ hide_expired=values.unset,limit=None,page_size=None):""" Lists SyncMapItemInstance records from the API as a list. Unlike stream(), this operation is eager and will load `limit` records into
@@ -134,6 +141,7 @@
Source code for twilio.rest.sync.v1.service.sync_map.sync_map_item
:param SyncMapItemInstance.QueryResultOrder order: How to order the Map Items returned by their key value
:param unicode from_: The index of the first Sync Map Item resource to read :param SyncMapItemInstance.QueryFromBoundType bounds: Whether to include the Map Item referenced by the from parameter
+ :param SyncMapItemInstance.HideExpiredType hide_expired: Hide expired Sync Map items and show only active ones. :param int limit: Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -144,11 +152,18 @@
Source code for twilio.rest.sync.v1.service.sync_map.sync_map_item
:returns: Generator that will yield up to limit results
:rtype: list[twilio.rest.sync.v1.service.sync_map.sync_map_item.SyncMapItemInstance] """
- returnlist(self.stream(order=order,from_=from_,bounds=bounds,limit=limit,page_size=page_size,))
[docs]defpage(self,order=values.unset,from_=values.unset,bounds=values.unset,
- page_token=values.unset,page_number=values.unset,
- page_size=values.unset):
+ hide_expired=values.unset,page_token=values.unset,
+ page_number=values.unset,page_size=values.unset):""" Retrieve a single page of SyncMapItemInstance records from the API. Request is executed immediately
@@ -156,6 +171,7 @@
Source code for twilio.rest.sync.v1.service.sync_map.sync_map_item
:param SyncMapItemInstance.QueryResultOrder order: How to order the Map Items returned by their key value
:param unicode from_: The index of the first Sync Map Item resource to read :param SyncMapItemInstance.QueryFromBoundType bounds: Whether to include the Map Item referenced by the from parameter
+ :param SyncMapItemInstance.HideExpiredType hide_expired: Hide expired Sync Map items and show only active ones. :param str page_token: PageToken provided by the API :param int page_number: Page Number, this value is simply for client state :param int page_size: Number of records to return, defaults to 50
@@ -167,6 +183,7 @@
Source code for twilio.rest.sync.v1.service.sync_map.sync_map_item
[docs]defstream(self,hide_expired=values.unset,limit=None,page_size=None):""" Streams SyncStreamInstance 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.
+ :param SyncStreamInstance.HideExpiredType hide_expired: Hide expired Sync Streams and show only active ones. :param int limit: Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -100,16 +101,17 @@
Source code for twilio.rest.sync.v1.service.sync_stream
[docs]deflist(self,hide_expired=values.unset,limit=None,page_size=None):""" Lists SyncStreamInstance records from the API as a list. Unlike stream(), this operation is eager and will load `limit` records into memory before returning.
+ :param SyncStreamInstance.HideExpiredType hide_expired: Hide expired Sync Streams and show only active ones. :param int limit: Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit :param int page_size: Number of records to fetch per request, when not set will use
@@ -120,14 +122,15 @@
Source code for twilio.rest.sync.v1.service.sync_stream
:returns: Generator that will yield up to limit results
:rtype: list[twilio.rest.sync.v1.service.sync_stream.SyncStreamInstance] """
- returnlist(self.stream(limit=limit,page_size=page_size,))
[docs]defpage(self,hide_expired=values.unset,page_token=values.unset,
+ page_number=values.unset,page_size=values.unset):""" Retrieve a single page of SyncStreamInstance records from the API. Request is executed immediately
+ :param SyncStreamInstance.HideExpiredType hide_expired: Hide expired Sync Streams and show only active ones. :param str page_token: PageToken provided by the API :param int page_number: Page Number, this value is simply for client state :param int page_size: Number of records to return, defaults to 50
@@ -135,7 +138,12 @@
Source code for twilio.rest.sync.v1.service.sync_stream
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
Initialize the TaskChannelList
:param Version version: Version that contains the resource
- :param workspace_sid: The SID of the Workspace that contains the TaskChannel
+ :param workspace_sid: The SID of the Workspace that contains the Task Channel :returns: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelList :rtype: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelList
@@ -144,9 +144,9 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
"""
Create the TaskChannelInstance
- :param unicode friendly_name: A string to describe the TaskChannel resource
- :param unicode unique_name: An application-defined string that uniquely identifies the TaskChannel
- :param bool channel_optimized_routing: Whether the TaskChannel should prioritize Workers that have been idle
+ :param unicode friendly_name: A string to describe the Task Channel resource
+ :param unicode unique_name: An application-defined string that uniquely identifies the Task Channel
+ :param bool channel_optimized_routing: Whether the Task Channel should prioritize Workers that have been idle :returns: The created TaskChannelInstance :rtype: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelInstance
@@ -165,7 +165,7 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
"""
Constructs a TaskChannelContext
- :param sid: The SID of the TaskChannel resource to fetch
+ :param sid: The SID of the Task Channel resource to fetch :returns: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelContext :rtype: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelContext
@@ -176,7 +176,7 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
"""
Constructs a TaskChannelContext
- :param sid: The SID of the TaskChannel resource to fetch
+ :param sid: The SID of the Task Channel resource to fetch :returns: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelContext :rtype: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelContext
@@ -201,7 +201,7 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
:param Version version: Version that contains the resource
:param Response response: Response from the API
- :param workspace_sid: The SID of the Workspace that contains the TaskChannel
+ :param workspace_sid: The SID of the Workspace that contains the Task Channel :returns: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelPage :rtype: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelPage
@@ -239,8 +239,8 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
Initialize the TaskChannelContext
:param Version version: Version that contains the resource
- :param workspace_sid: The SID of the Workspace with the TaskChannel to fetch
- :param sid: The SID of the TaskChannel resource to fetch
+ :param workspace_sid: The SID of the Workspace with the Task Channel to fetch
+ :param sid: The SID of the Task Channel resource to fetch :returns: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelContext :rtype: twilio.rest.taskrouter.v1.workspace.task_channel.TaskChannelContext
@@ -272,7 +272,7 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
"""
Update the TaskChannelInstance
- :param unicode friendly_name: A string to describe the TaskChannel resource
+ :param unicode friendly_name: A string to describe the Task Channel resource :param bool channel_optimized_routing: Whether the TaskChannel should prioritize Workers that have been idle :returns: The updated TaskChannelInstance
@@ -401,7 +401,7 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
@property
defunique_name(self):"""
- :returns: An application-defined string that uniquely identifies the TaskChannel
+ :returns: An application-defined string that uniquely identifies the Task Channel :rtype: unicode """returnself._properties['unique_name']
@@ -409,7 +409,7 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
@property
defworkspace_sid(self):"""
- :returns: The SID of the Workspace that contains the TaskChannel
+ :returns: The SID of the Workspace that contains the Task Channel :rtype: unicode """returnself._properties['workspace_sid']
@@ -417,7 +417,7 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
@property
defchannel_optimized_routing(self):"""
- :returns: Whether the TaskChannel will prioritize Workers that have been idle
+ :returns: Whether the Task Channel will prioritize Workers that have been idle :rtype: bool """returnself._properties['channel_optimized_routing']
@@ -425,7 +425,7 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
@property
defurl(self):"""
- :returns: The absolute URL of the TaskChannel resource
+ :returns: The absolute URL of the Task Channel resource :rtype: unicode """returnself._properties['url']
@@ -452,7 +452,7 @@
Source code for twilio.rest.taskrouter.v1.workspace.task_channel
Source code for twilio.rest.verify.v2.service.entity.challenge
Create the ChallengeInstance
:param unicode factor_sid: Factor Sid.
- :param datetime expiration_date: The future date in which this Challenge will expire
+ :param datetime expiration_date: The date-time when this Challenge expires :param unicode details_message: Shown to the user when the push notification arrives :param dict details_fields: A list of objects that describe the Fields included in the Challenge :param dict hidden_details: Hidden details provided to contextualize the Challenge
@@ -498,7 +498,7 @@
Source code for twilio.rest.verify.v2.service.entity.challenge
Lists EventInstance 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)
Streams EventInstance 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)
Lists SubscriptionInstance records from the API as a list.
Unlike stream(), this operation is eager and will load limit records into
memory before returning.
@@ -609,6 +609,7 @@
Submodules
Parameters:
+
sink_sid (unicode) – Sink SID.
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
@@ -629,7 +630,7 @@
Streams SubscriptionInstance records from the API as a generator stream.
This operation lazily loads records as efficiently as possible until the limit
is reached.
@@ -664,6 +666,7 @@
Submodules
Parameters:
+
sink_sid (unicode) – Sink SID.
limit (int) – Upper limit for the number of records to return. stream()
guarantees to never return more than limit. Default is no limit
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.
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.
+
PLEASE NOTE that this class contains beta products that are subject to
+change. Use them with caution.