Ë
    [üàgwŠ  ã                   óà   — d Z ddlmZ ddlmZmZmZmZmZmZm	Z	 ddl
mZmZmZ ddlmZ ddlmZ ddlmZ ddlmZ dd	lmZ  G d
„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Zy)aï  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Intelligence
    This is the public Twilio REST API.

    NOTE: This class is auto generated by OpenAPI Generator.
    https://openapi-generator.tech
    Do not edit the class manually.
é    )Údatetime)ÚAnyÚDictÚListÚOptionalÚUnionÚIteratorÚAsyncIterator)ÚdeserializeÚ	serializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersion)ÚPagec                   óB  ‡ — e Zd Z G d„ de«      Z	 	 ddedeeef   de	e   fˆ fd„Z
edd„«       Zdefd	„Zdefd
„Zdd„Zdd„Zej&                  ej&                  ej&                  ej&                  ej&                  ej&                  ej&                  ej&                  ej&                  f	deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   dedef   dd fd„Zej&                  ej&                  ej&                  ej&                  ej&                  ej&                  ej&                  ej&                  ej&                  f	deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   dedef   dd fd„Zdefd„Zˆ xZS )ÚServiceInstancec                   ó   — e Zd ZdZdZdZy)úServiceInstance.HttpMethodÚGETÚPOSTÚNULLN)Ú__name__Ú
__module__Ú__qualname__r   r   r   © ó    úa/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/intelligence/v2/service.pyÚ
HttpMethodr      s   „ ØˆØˆØ‰r   r    ÚversionÚpayloadÚsidc                 ó’  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _
        t        j                  |j                  d«      «      | _        |j                  d«      | _        |j                  d	«      | _        |j                  d
«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        t        j(                  |j                  d«      «      | _        d
|xs | j                  i| _        d | _        y )NÚaccount_sidÚauto_redactionÚmedia_redactionÚauto_transcribeÚdata_loggingÚdate_createdÚdate_updatedÚfriendly_nameÚlanguage_coder#   Úunique_nameÚurlÚwebhook_urlÚwebhook_http_methodÚ read_only_attached_operator_sidsr!   )ÚsuperÚ__init__Úgetr%   r&   r'   r(   r)   r   Úiso8601_datetimer*   r+   r,   r-   r#   r.   r/   r0   r1   r2   Úintegerr!   Ú	_solutionÚ_context)Úselfr!   r"   r#   Ú	__class__s       €r   r4   zServiceInstance.__init__3   s|  ø€ ô 	‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔØ.5¯k©kÐ:JÓ.KˆÔØ/6¯{©{Ð;LÓ/MˆÔØ/6¯{©{Ð;LÓ/MˆÔØ,3¯K©K¸Ó,GˆÔÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð -4¯K©K¸Ó,HˆÔØ,3¯K©K¸Ó,HˆÔØ")§+¡+¨eÓ"4ˆŒØ*1¯+©+°mÓ*DˆÔØ")§+¡+¨eÓ"4ˆŒØ*1¯+©+°mÓ*DˆÔØKRÏ;É;Ø!óL
ˆÔ ð FMÇ[Á[Ø.óF
ˆÔ-ô '2×&9Ñ&9¸'¿+¹+ÀiÓ:PÓ&QˆŒð �3’?˜$Ÿ(™(ð
ˆŒð 37ˆ�r   Úreturnc                 ó„   — | j                   €)t        | j                  | j                  d   ¬«      | _         | j                   S )zé
        Generate an instance context for the instance, the context is capable of
        performing various actions. All instance actions are proxied to the context

        :returns: ServiceContext for this ServiceInstance
        r#   ©r#   )r9   ÚServiceContextÚ_versionr8   ©r:   s    r   Ú_proxyzServiceInstance._proxyV   s9   € ð �=‰=Ð Ü*Ø—‘Ø—N‘N 5Ñ)ôˆDŒMð �}‰}Ðr   c                 ó6   — | j                   j                  «       S )új
        Deletes the ServiceInstance


        :returns: True if delete succeeds, False otherwise
        )rB   ÚdeleterA   s    r   rE   zServiceInstance.deletee   s   € ð �{‰{×!Ñ!Ó#Ð#r   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ú†
        Asynchronous coroutine that deletes the ServiceInstance


        :returns: True if delete succeeds, False otherwise
        N)rB   Údelete_asyncrA   s    r   rH   zServiceInstance.delete_asyncn   s!   è ø€ ð —[‘[×-Ñ-Ó/×/Ð/Ð/úó   ‚' %¡'c                 ó6   — | j                   j                  «       S )ú[
        Fetch the ServiceInstance


        :returns: The fetched ServiceInstance
        )rB   ÚfetchrA   s    r   rL   zServiceInstance.fetchw   s   € ð �{‰{× Ñ Ó"Ð"r   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)úu
        Asynchronous coroutine to fetch the ServiceInstance


        :returns: The fetched ServiceInstance
        N)rB   Úfetch_asyncrA   s    r   rO   zServiceInstance.fetch_async€   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.úrI   Úif_matchr(   r)   r,   r.   r&   r'   r0   r1   r   c
                 óJ   — | j                   j                  |||||||||	¬«	      S )áY  
        Update the ServiceInstance

        :param if_match: The If-Match HTTP request header
        :param auto_transcribe: Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
        :param data_logging: Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
        :param friendly_name: A human readable description of this resource, up to 64 characters.
        :param unique_name: Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
        :param auto_redaction: Instructs the Speech Recognition service to automatically redact PII from all transcripts made on this service.
        :param media_redaction: Instructs the Speech Recognition service to automatically redact PII from all transcripts media made on this service. The auto_redaction flag must be enabled, results in error otherwise.
        :param webhook_url: The URL Twilio will request when executing the Webhook.
        :param webhook_http_method:

        :returns: The updated ServiceInstance
        ©	rP   r(   r)   r,   r.   r&   r'   r0   r1   )rB   Úupdate©
r:   rP   r(   r)   r,   r.   r&   r'   r0   r1   s
             r   rT   zServiceInstance.update‰   s;   € ð6 �{‰{×!Ñ!ØØ+Ø%Ø'Ø#Ø)Ø+Ø#Ø 3ð "ó 

ð 
	
r   c
              ƒ   óf   K  — | j                   j                  |||||||||	¬«	      ƒ d{  –—† S 7 Œ­w)ás  
        Asynchronous coroutine to update the ServiceInstance

        :param if_match: The If-Match HTTP request header
        :param auto_transcribe: Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
        :param data_logging: Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
        :param friendly_name: A human readable description of this resource, up to 64 characters.
        :param unique_name: Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
        :param auto_redaction: Instructs the Speech Recognition service to automatically redact PII from all transcripts made on this service.
        :param media_redaction: Instructs the Speech Recognition service to automatically redact PII from all transcripts media made on this service. The auto_redaction flag must be enabled, results in error otherwise.
        :param webhook_url: The URL Twilio will request when executing the Webhook.
        :param webhook_http_method:

        :returns: The updated ServiceInstance
        rS   N)rB   Úupdate_asyncrU   s
             r   rX   zServiceInstance.update_async°   sI   è ø€ ð6 —[‘[×-Ñ-ØØ+Ø%Ø'Ø#Ø)Ø+Ø#Ø 3ð .ó 

÷ 

ð 
	
ð 

ús   ‚(1ª/«1c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )úf
        Provide a friendly representation

        :returns: Machine friendly representation
        ú c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­w©z{}={}N©Úformat©Ú.0ÚkÚvs      r   ú	<genexpr>z+ServiceInstance.__repr__.<locals>.<genexpr>Ý   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z+<Twilio.Intelligence.V2.ServiceInstance {}>©Újoinr8   Úitemsr_   ©r:   Úcontexts     r   Ú__repr__zServiceInstance.__repr__×   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ<×CÑCÀGÓLÐLr   )N)r<   r?   )r<   r   )r   r   r   Úobjectr    r   r   Ústrr   r   r4   ÚpropertyrB   ÚboolrE   rH   rL   rO   r   Úunsetr   rT   rX   rl   Ú__classcell__©r;   s   @r   r   r      s�  ø„ ô�Vô ð
ð( OSñ!7Øð!7Ø)-¨c°3¨h©ð!7Ø>FÀs¹mõ!7ðF òó ðð$˜ó $ð0 Dó 0ó#ó/ð (.§|¡|Ø/5¯|©|Ø,2¯L©LØ,2¯L©LØ*0¯,©,Ø.4¯l©lØ/5¯|©|Ø*0¯,©,ØKQÏ<É<ñ%
à˜˜V˜Ñ$ð%
ð ˜t V˜|Ñ,ð%
ð ˜D &˜LÑ)ð	%
ð
 ˜S &˜[Ñ)ð%
ð ˜3 ˜;Ñ'ð%
ð ˜d F˜lÑ+ð%
ð ˜t V˜|Ñ,ð%
ð ˜3 ˜;Ñ'ð%
ð #Ð#?ÀÐ#GÑHð%
ð 
ó%
ðR (.§|¡|Ø/5¯|©|Ø,2¯L©LØ,2¯L©LØ*0¯,©,Ø.4¯l©lØ/5¯|©|Ø*0¯,©,ØKQÏ<É<ñ%
à˜˜V˜Ñ$ð%
ð ˜t V˜|Ñ,ð%
ð ˜D &˜LÑ)ð	%
ð
 ˜S &˜[Ñ)ð%
ð ˜3 ˜;Ñ'ð%
ð ˜d F˜lÑ+ð%
ð ˜t V˜|Ñ,ð%
ð ˜3 ˜;Ñ'ð%
ð #Ð#?ÀÐ#GÑHð%
ð 
ó%
ðNM˜#÷ Mr   r   c                   ó  ‡ — e Zd Zdedefˆ fd„Zdefd„Zdefd„Zde	fd„Z
de	fd„Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f	d	eeef   d
eeef   deeef   deeef   deeef   deeef   deeef   deeef   dedef   de	fd„Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f	d	eeef   d
eeef   deeef   deeef   deeef   deeef   deeef   deeef   dedef   de	fd„Zdefd„Zˆ xZS )r?   r!   r#   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)z¼
        Initialize the ServiceContext

        :param version: Version that contains the resource
        :param sid: A 34 character string that uniquely identifies this Service.
        r#   z/Services/{sid}Nr   )r3   r4   r8   r_   Ú_uri)r:   r!   r#   r;   s      €r   r4   zServiceContext.__init__ã   s@   ø€ ô 	‰Ñ˜Ô!ð �3ð
ˆŒð -Ð%×,Ñ,Ñ>¨t¯~©~Ñ>ˆ�	r   r<   c                 ó|   — t        j                  i «      }| j                  j                  d| j                  |¬«      S )rD   ÚDELETE©ÚmethodÚuriÚheaders)r   Úofr@   rE   rv   ©r:   r|   s     r   rE   zServiceContext.deleteò   s1   € ô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr   c              ƒ   ó˜   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)rG   rx   ry   N)r   r}   r@   rH   rv   r~   s     r   rH   zServiceContext.delete_asyncþ   sF   è ø€ ô —)‘)˜B“-ˆà—]‘]×/Ñ/Ø §¡°Gð 0ó 
÷ 
ð 	
ð 
ús   ‚AA
ÁAÁA
c                 óÐ   — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  || j                  d   ¬«      S )rK   úapplication/jsonÚAcceptr   ry   r#   r>   )r   r}   r@   rL   rv   r   r8   ©r:   r|   r"   s      r   rL   zServiceContext.fetch  s]   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆäØ�M‰MØØ—‘˜uÑ%ô
ð 	
r   c              ƒ   óì   K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)rN   r�   r‚   r   ry   Nr#   r>   )r   r}   r@   rO   rv   r   r8   rƒ   s      r   rO   zServiceContext.fetch_async   sr   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô Ø�M‰MØØ—‘˜uÑ%ô
ð 	
ð	
ús   ‚AA4ÁA2Á	*A4rP   r(   r)   r,   r.   r&   r'   r0   r1   r   c
                 ó  — t        j                  t        j                  |«      t        j                  |«      ||t        j                  |«      t        j                  |«      ||	dœ«      }
t        j                  i «      }|t         j                  u st        |t        «      r|r||d<   d|d<   d|d<   | j                  j                  d| j                  |
|¬«      }t        | j                  || j                  d	   ¬
«      S )rR   ©ÚAutoTranscribeÚDataLoggingÚFriendlyNameÚ
UniqueNameÚAutoRedactionÚMediaRedactionÚ
WebhookUrlÚWebhookHttpMethodúIf-Matchú!application/x-www-form-urlencodedúContent-Typer�   r‚   r   ©rz   r{   Údatar|   r#   r>   )r   r}   r   Úboolean_to_stringrq   Ú
isinstancern   r@   rT   rv   r   r8   ©r:   rP   r(   r)   r,   r.   r&   r'   r0   r1   r“   r|   r"   s                r   rT   zServiceContext.update6  så   € ô8 �y‰yä"+×"=Ñ"=¸oÓ"NÜ(×:Ñ:¸<ÓHØ -Ø)Ü!*×!<Ñ!<¸^Ó!LÜ"+×"=Ñ"=¸oÓ"NØ)Ø%8ñ	ó
ˆô —)‘)˜B“-ˆð œŸ™Ñ$¬°H¼cÔ)BÉ8à"*ˆG�JÑà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô ˜tŸ}™}¨g¸4¿>¹>È%Ñ;PÔQÐQr   c
              ƒ   ó  K  — t        j                  t        j                  |«      t        j                  |«      ||t        j                  |«      t        j                  |«      ||	dœ«      }
t        j                  i «      }|t         j                  u st        |t        «      r|r||d<   d|d<   d|d<   | j                  j                  d| j                  |
|¬«      ƒ d	{  –—† }t        | j                  || j                  d
   ¬«      S 7 Œ)­w)rW   r†   r�   r�   r‘   r�   r‚   r   r’   Nr#   r>   )r   r}   r   r”   rq   r•   rn   r@   rX   rv   r   r8   r–   s                r   rX   zServiceContext.update_asynco  só   è ø€ ô8 �y‰yä"+×"=Ñ"=¸oÓ"NÜ(×:Ñ:¸<ÓHØ -Ø)Ü!*×!<Ñ!<¸^Ó!LÜ"+×"=Ñ"=¸oÓ"NØ)Ø%8ñ	ó
ˆô —)‘)˜B“-ˆð œŸ™Ñ$¬°H¼cÔ)BÉ8à"*ˆG�JÑà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô ˜tŸ}™}¨g¸4¿>¹>È%Ñ;PÔQÐQð	
ús   ‚CDÃ!DÃ"*Dc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )rZ   r[   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wr]   r^   r`   s      r   rd   z*ServiceContext.__repr__.<locals>.<genexpr>®  re   rf   z*<Twilio.Intelligence.V2.ServiceContext {}>rg   rj   s     r   rl   zServiceContext.__repr__¨  s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ;×BÑBÀ7ÓKÐKr   )r   r   r   r   rn   r4   rp   rE   rH   r   rL   rO   r   rq   r   rm   rT   rX   rl   rr   rs   s   @r   r?   r?   á   sd  ø„ ð? ð ?¨cõ ?ð
U˜ó 
Uð
 Dó 
ð
�ó 
ð(
 ?ó 
ð0 (.§|¡|Ø/5¯|©|Ø,2¯L©LØ,2¯L©LØ*0¯,©,Ø.4¯l©lØ/5¯|©|Ø*0¯,©,ØKQÏ<É<ñ7Rà˜˜V˜Ñ$ð7Rð ˜t V˜|Ñ,ð7Rð ˜D &˜LÑ)ð	7Rð
 ˜S &˜[Ñ)ð7Rð ˜3 ˜;Ñ'ð7Rð ˜d F˜lÑ+ð7Rð ˜t V˜|Ñ,ð7Rð ˜3 ˜;Ñ'ð7Rð #Ð#?ÀÐ#GÑHð7Rð 
ó7Rðv (.§|¡|Ø/5¯|©|Ø,2¯L©LØ,2¯L©LØ*0¯,©,Ø.4¯l©lØ/5¯|©|Ø*0¯,©,ØKQÏ<É<ñ7Rà˜˜V˜Ñ$ð7Rð ˜t V˜|Ñ,ð7Rð ˜D &˜LÑ)ð	7Rð
 ˜S &˜[Ñ)ð7Rð ˜3 ˜;Ñ'ð7Rð ˜d F˜lÑ+ð7Rð ˜t V˜|Ñ,ð7Rð ˜3 ˜;Ñ'ð7Rð #Ð#?ÀÐ#GÑHð7Rð 
ó7RðrL˜#÷ Lr   r?   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)ÚServicePager"   r<   c                 ó.   — t        | j                  |«      S )zm
        Build an instance of ServiceInstance

        :param payload: Payload response from the API
        )r   r@   )r:   r"   s     r   Úget_instancezServicePage.get_instance´  s   € ô ˜tŸ}™}¨gÓ6Ð6r   c                  ó   — y)rZ   z$<Twilio.Intelligence.V2.ServicePage>r   rA   s    r   rl   zServicePage.__repr__¼  ó   € ð 6r   N)	r   r   r   r   rn   r   r   r�   rl   r   r   r   r›   r›   ²  s)   „ ð7 D¨¨c¨¡Nð 7°ó 7ð6˜#ô 6r   r›   c                   óx  ‡ — e Zd Zdefˆ fd„Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  fdedee	e
f   dee	e
f   deee
f   deee
f   dee	e
f   d	ee	e
f   d
eee
f   dede
f   defd„Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  fdedee	e
f   dee	e
f   deee
f   deee
f   dee	e
f   d	ee	e
f   d
eee
f   dede
f   defd„Z	 	 d!dee   dee   dee   fd„Z	 	 d!dee   dee   dee   fd„Z	 	 d!dee   dee   dee   fd„Z	 	 d!dee   dee   dee   fd„Zej                  ej                  ej                  fdeee
f   deee
f   deee
f   defd„Zej                  ej                  ej                  fdeee
f   deee
f   deee
f   defd„Zdedefd„Zdedefd„Zdedefd„Zdedefd„Zdefd „Zˆ xZ S )"ÚServiceListr!   c                 ó2   •— t         ‰| �  |«       d| _        y)zi
        Initialize the ServiceList

        :param version: Version that contains the resource

        z	/ServicesN)r3   r4   rv   )r:   r!   r;   s     €r   r4   zServiceList.__init__Ç  s   ø€ ô 	‰Ñ˜Ô!àˆ�	r   r.   r(   r)   r,   r-   r&   r'   r0   r1   r   r<   c
                 ó˜  — t        j                  |t        j                  |«      t        j                  |«      ||t        j                  |«      t        j                  |«      ||	dœ	«      }
t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  |
|¬«      }t        | j                  |«      S )aK  
        Create the ServiceInstance

        :param unique_name: Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
        :param auto_transcribe: Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
        :param data_logging: Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
        :param friendly_name: A human readable description of this resource, up to 64 characters.
        :param language_code: The language code set during Service creation determines the Transcription language for all call recordings processed by that Service. The default is en-US if no language code is set. A Service can only support one language code, and it cannot be updated once it's set.
        :param auto_redaction: Instructs the Speech Recognition service to automatically redact PII from all transcripts made on this service.
        :param media_redaction: Instructs the Speech Recognition service to automatically redact PII from all transcripts media made on this service. The auto_redaction flag must be enabled, results in error otherwise.
        :param webhook_url: The URL Twilio will request when executing the Webhook.
        :param webhook_http_method:

        :returns: The created ServiceInstance
        ©	rŠ   r‡   rˆ   r‰   ÚLanguageCoder‹   rŒ   r�   rŽ   r‘   r�   r�   r‚   r   r’   )r   r}   r   r”   r@   Úcreaterv   r   ©r:   r.   r(   r)   r,   r-   r&   r'   r0   r1   r“   r|   r"   s                r   r¦   zServiceList.createÒ  sÁ   € ô8 �y‰yà)Ü"+×"=Ñ"=¸oÓ"NÜ(×:Ñ:¸<ÓHØ -Ø -Ü!*×!<Ñ!<¸^Ó!LÜ"+×"=Ñ"=¸oÓ"NØ)Ø%8ñ
ó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô ˜tŸ}™}¨gÓ6Ð6r   c
              ƒ   ó´  K  — t        j                  |t        j                  |«      t        j                  |«      ||t        j                  |«      t        j                  |«      ||	dœ	«      }
t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  |
|¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)	aZ  
        Asynchronously create the ServiceInstance

        :param unique_name: Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
        :param auto_transcribe: Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
        :param data_logging: Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
        :param friendly_name: A human readable description of this resource, up to 64 characters.
        :param language_code: The language code set during Service creation determines the Transcription language for all call recordings processed by that Service. The default is en-US if no language code is set. A Service can only support one language code, and it cannot be updated once it's set.
        :param auto_redaction: Instructs the Speech Recognition service to automatically redact PII from all transcripts made on this service.
        :param media_redaction: Instructs the Speech Recognition service to automatically redact PII from all transcripts media made on this service. The auto_redaction flag must be enabled, results in error otherwise.
        :param webhook_url: The URL Twilio will request when executing the Webhook.
        :param webhook_http_method:

        :returns: The created ServiceInstance
        r¤   r‘   r�   r�   r‚   r   r’   N)r   r}   r   r”   r@   Úcreate_asyncrv   r   r§   s                r   r©   zServiceList.create_async  sÏ   è ø€ ô8 �y‰yà)Ü"+×"=Ñ"=¸oÓ"NÜ(×:Ñ:¸<ÓHØ -Ø -Ü!*×!<Ñ!<¸^Ó!LÜ"+×"=Ñ"=¸oÓ"NØ)Ø%8ñ
ó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô ˜tŸ}™}¨gÓ6Ð6ð	
ús   ‚B9CÂ;CÂ<CÚlimitÚ	page_sizec                 ó¢   — | j                   j                  ||«      }| j                  |d   ¬«      }| j                   j                  ||d   «      S )a]  
        Streams ServiceInstance 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 limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param 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
        r«   ©r«   rª   )r@   Úread_limitsÚpageÚstream©r:   rª   r«   Úlimitsr¯   s        r   r°   zServiceList.stream<  sJ   € ð( —‘×*Ñ*¨5°)Ó<ˆØ�y‰y 6¨+Ñ#6ˆyÓ7ˆà�}‰}×#Ñ# D¨&°©/Ó:Ð:r   c              ƒ   ó¾   K  — | j                   j                  ||«      }| j                  |d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)al  
        Asynchronously streams ServiceInstance 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 limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param 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
        r«   r­   Nrª   )r@   r®   Ú
page_asyncÚstream_asyncr±   s        r   rµ   zServiceList.stream_asyncU  sW   è ø€ ð( —‘×*Ñ*¨5°)Ó<ˆØ—_‘_¨v°kÑ/B�_ÓC×Cˆà�}‰}×)Ñ)¨$°°w±Ó@Ð@ð Dús   ‚5A·A¸$Ac                 ó:   — t        | j                  ||¬«      «      S )aú  
        Lists ServiceInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param 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: list that will contain up to limit results
        ©rª   r«   )Úlistr°   )r:   rª   r«   s      r   r¸   zServiceList.listn  s(   € ô& Ø�K‰KØØ#ð ó ó
ð 	
r   c              ƒ   óz   K  — | j                  ||¬«      ƒ d{  –—† 2 �cg c3 d{  –—† }|‘Œ7 Œ7 Œ	6 c}S c c}w ­w)a	  
        Asynchronously lists ServiceInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param 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: list that will contain up to limit results
        r·   N)rµ   )r:   rª   r«   Úrecords       r   Ú
list_asynczServiceList.list_asyncˆ  sT   è ø€ ð* '+×&7Ñ&7ØØ#ð '8ó '÷ !÷
ô 
àò ð!øð
øò 
ð 	
ùò 
ùs0   ‚;™.š; 6¢2¦0
§2ª6®;°2²6³;Ú
page_tokenÚpage_numberc                 óê   — t        j                  |||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )as  
        Retrieve a single page of ServiceInstance records from the API.
        Request is executed immediately

        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of ServiceInstance
        ©Ú	PageTokenr   ÚPageSizer‘   r�   r�   r‚   r   ©rz   r{   Úparamsr|   )r   r}   r@   r¯   rv   r›   ©r:   r¼   r½   r«   r“   r|   Úresponses          r   r¯   zServiceList.page£  sy   € ô  �y‰yà'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô ˜4Ÿ=™=¨(Ó3Ð3r   c              ƒ   ó  K  — t        j                  |||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)	a‚  
        Asynchronously retrieve a single page of ServiceInstance records from the API.
        Request is executed immediately

        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of ServiceInstance
        r¿   r‘   r�   r�   r‚   r   rÂ   N)r   r}   r@   r´   rv   r›   rÄ   s          r   r´   zServiceList.page_asyncÄ  s‡   è ø€ ô  �y‰yà'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô ˜4Ÿ=™=¨(Ó3Ð3ð
ús   ‚A"BÁ$A?Á%BÚ
target_urlc                 óŽ   — | j                   j                  j                  j                  d|«      }t	        | j                   |«      S )zó
        Retrieve a specific page of ServiceInstance records from the API.
        Request is executed immediately

        :param target_url: API-generated URL for the requested results page

        :returns: Page of ServiceInstance
        r   )r@   ÚdomainÚtwilioÚrequestr›   ©r:   rÇ   rÅ   s      r   Úget_pagezServiceList.get_pageå  s7   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ˜4Ÿ=™=¨(Ó3Ð3r   c              ƒ   óª   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   |«      S 7 Œ­w)a  
        Asynchronously retrieve a specific page of ServiceInstance records from the API.
        Request is executed immediately

        :param target_url: API-generated URL for the requested results page

        :returns: Page of ServiceInstance
        r   N)r@   rÉ   rÊ   Úrequest_asyncr›   rÌ   s      r   Úget_page_asynczServiceList.get_page_asyncñ  sD   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ˜4Ÿ=™=¨(Ó3Ð3ð Vús   ‚4A¶A·Ar#   c                 ó0   — t        | j                  |¬«      S ©z
        Constructs a ServiceContext

        :param sid: A 34 character string that uniquely identifies this Service.
        r>   ©r?   r@   ©r:   r#   s     r   r5   zServiceList.getý  ó   € ô ˜dŸm™m°Ô5Ð5r   c                 ó0   — t        | j                  |¬«      S rÒ   rÓ   rÔ   s     r   Ú__call__zServiceList.__call__  rÕ   r   c                  ó   — y)rZ   z$<Twilio.Intelligence.V2.ServiceList>r   rA   s    r   rl   zServiceList.__repr__  rŸ   r   )NN)!r   r   r   r   r4   r   rq   rn   r   rp   rm   r   r¦   r©   r   Úintr	   r°   r
   rµ   r   r¸   r»   r›   r¯   r´   rÍ   rÐ   r?   r5   r×   rl   rr   rs   s   @r   r¡   r¡   Å  s×  ø„ ð	  õ 	 ð 06¯|©|Ø,2¯L©LØ,2¯L©LØ,2¯L©LØ.4¯l©lØ/5¯|©|Ø*0¯,©,ØKQÏ<É<ñ37àð37ð ˜t V˜|Ñ,ð37ð ˜D &˜LÑ)ð	37ð
 ˜S &˜[Ñ)ð37ð ˜S &˜[Ñ)ð37ð ˜d F˜lÑ+ð37ð ˜t V˜|Ñ,ð37ð ˜3 ˜;Ñ'ð37ð #Ð#?ÀÐ#GÑHð37ð 
ó37ðp 06¯|©|Ø,2¯L©LØ,2¯L©LØ,2¯L©LØ.4¯l©lØ/5¯|©|Ø*0¯,©,ØKQÏ<É<ñ37àð37ð ˜t V˜|Ñ,ð37ð ˜D &˜LÑ)ð	37ð
 ˜S &˜[Ñ)ð37ð ˜S &˜[Ñ)ð37ð ˜d F˜lÑ+ð37ð ˜t V˜|Ñ,ð37ð ˜3 ˜;Ñ'ð37ð #Ð#?ÀÐ#GÑHð37ð 
ó37ðn  $Ø#'ñ;à˜‰}ð;ð ˜C‘=ð;ð 
�/Ñ	"ó	;ð6  $Ø#'ñAà˜‰}ðAð ˜C‘=ðAð 
�Ñ	'ó	Að6  $Ø#'ñ
à˜‰}ð
ð ˜C‘=ð
ð 
ˆoÑ	ó	
ð8  $Ø#'ñ
à˜‰}ð
ð ˜C‘=ð
ð 
ˆoÑ	ó	
ð: *0¯©Ø*0¯,©,Ø(.¯©ñ	4à˜#˜v˜+Ñ&ð4ð ˜3 ˜;Ñ'ð4ð ˜˜f˜Ñ%ð	4ð
 
ó4ðF *0¯©Ø*0¯,©,Ø(.¯©ñ	4à˜#˜v˜+Ñ&ð4ð ˜3 ˜;Ñ'ð4ð ˜˜f˜Ñ%ð	4ð
 
ó4ðB
4 3ð 
4¨;ó 
4ð
4¨sð 
4°{ó 
4ð6�sð 6˜~ó 6ð6˜Cð 6 Nó 6ð6˜#÷ 6r   r¡   N)Ú__doc__r   Útypingr   r   r   r   r   r	   r
   Útwilio.baser   r   r   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr   Útwilio.base.pager   r   r?   r›   r¡   r   r   r   ú<module>râ      sj   ðñõ ß L× LÑ Lß 6Ñ 6Ý 8Ý :Ý 2Ý 'Ý !ôEMÐ&ô EMôPNL�_ô NLôb6�$ô 6ô&N6�,õ N6r   