Ë
    [üàg±u  ã                   óà   — 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 - Conversations
    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                   óX  ‡ — e Zd Z G d„ de«      Z G d„ de«      Z	 	 ddedeee	f   dede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(                  fdeeef   dedef   deee   ef   deee   ef   deeef   dd fd„Zej(                  ej(                  ej(                  ej(                  ej(                  fdeeef   dedef   deee   ef   deee   ef   deeef   dd fd„Zdefd„Zˆ xZS )ÚWebhookInstancec                   ó   — e Zd ZdZdZy)úWebhookInstance.MethodÚGETÚPOSTN)Ú__name__Ú
__module__Ú__qualname__r   r   © ó    úw/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/conversations/v1/service/conversation/webhook.pyÚMethodr      s   „ ØˆØ‰r   r   c                   ó   — e Zd ZdZdZdZy)úWebhookInstance.TargetÚwebhookÚtriggerÚstudioN)r   r   r   ÚWEBHOOKÚTRIGGERÚSTUDIOr   r   r   ÚTargetr!      s   „ ØˆØˆØ‰r   r(   ÚversionÚpayloadÚchat_service_sidÚconversation_sidÚsidc                 ó<  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _	        t        j                  |j                  d«      «      | _        t        j                  |j                  d	«      «      | _        |||xs | j                  d
œ| _        d | _        y )Nr-   Úaccount_sidr+   r,   ÚtargetÚurlÚconfigurationÚdate_createdÚdate_updated©r+   r,   r-   )ÚsuperÚ__init__Úgetr-   r/   r+   r,   r0   r1   r2   r   Úiso8601_datetimer3   r4   Ú	_solutionÚ_context)Úselfr)   r*   r+   r,   r-   Ú	__class__s         €r   r7   zWebhookInstance.__init__0   sí   ø€ ô 	‰Ñ˜Ô!à")§+¡+¨eÓ"4ˆŒØ*1¯+©+°mÓ*DˆÔØ/6¯{©{Ð;MÓ/NˆÔØ/6¯{©{Ð;MÓ/NˆÔØ%,§[¡[°Ó%:ˆŒØ")§+¡+¨eÓ"4ˆŒØ:A¿+¹+ÀoÓ:VˆÔÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð
 !1Ø 0Ø’?˜$Ÿ(™(ñ
ˆŒð
 37ˆ�r   Úreturnc                 ó¼   — | j                   €Et        | j                  | j                  d   | j                  d   | 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: WebhookContext for this WebhookInstance
        r+   r,   r-   r5   )r;   ÚWebhookContextÚ_versionr:   ©r<   s    r   Ú_proxyzWebhookInstance._proxyO   sS   € ð �=‰=Ð Ü*Ø—‘Ø!%§¡Ð0BÑ!CØ!%§¡Ð0BÑ!CØ—N‘N 5Ñ)ô	ˆDŒMð �}‰}Ðr   c                 ó6   — | j                   j                  «       S )új
        Deletes the WebhookInstance


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


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


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


        :returns: The fetched WebhookInstance
        N)rC   Úfetch_asyncrB   s    r   rP   zWebhookInstance.fetch_async{   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.úrJ   Úconfiguration_urlÚconfiguration_methodr   Úconfiguration_filtersÚconfiguration_triggersÚconfiguration_flow_sidc                 óB   — | j                   j                  |||||¬«      S )á  
        Update the WebhookInstance

        :param configuration_url: The absolute url the webhook request should be sent to.
        :param configuration_method:
        :param configuration_filters: The list of events, firing webhook event for this Conversation.
        :param configuration_triggers: The list of keywords, firing webhook event for this Conversation.
        :param configuration_flow_sid: The studio flow SID, where the webhook should be sent to.

        :returns: The updated WebhookInstance
        ©rQ   rR   rS   rT   rU   )rC   Úupdate©r<   rQ   rR   rS   rT   rU   s         r   rY   zWebhookInstance.update„   s/   € ð& �{‰{×!Ñ!Ø/Ø!5Ø"7Ø#9Ø#9ð "ó 
ð 	
r   c              ƒ   ó^   K  — | j                   j                  |||||¬«      ƒ d{  –—† S 7 Œ­w)á%  
        Asynchronous coroutine to update the WebhookInstance

        :param configuration_url: The absolute url the webhook request should be sent to.
        :param configuration_method:
        :param configuration_filters: The list of events, firing webhook event for this Conversation.
        :param configuration_triggers: The list of keywords, firing webhook event for this Conversation.
        :param configuration_flow_sid: The studio flow SID, where the webhook should be sent to.

        :returns: The updated WebhookInstance
        rX   N)rC   Úupdate_asyncrZ   s         r   r]   zWebhookInstance.update_asyncŸ   s=   è ø€ ð& —[‘[×-Ñ-Ø/Ø!5Ø"7Ø#9Ø#9ð .ó 
÷ 
ð 	
ð 
ús   ‚$-¦+§-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+WebhookInstance.__repr__.<locals>.<genexpr>À   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z,<Twilio.Conversations.V1.WebhookInstance {}>©Újoinr:   Úitemsrd   ©r<   Úcontexts     r   Ú__repr__zWebhookInstance.__repr__º   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ=×DÑDÀWÓMÐMr   ©N)r>   r@   )r>   r   )r   r   r   Úobjectr   r(   r   r   Ústrr   r   r7   ÚpropertyrC   ÚboolrF   rI   rM   rP   r   Úunsetr   r   rY   r]   rq   Ú__classcell__©r=   s   @r   r   r      sä  ø„ ô�ô ô�ô ð

ð$ "ñ7àð7ð �c˜3�h‘ð7ð ð	7ð
 ð7ð �c‰]õ7ð> òó ðð $˜ó $ð0 Dó 0ó#ó/ð 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\ñ
à   f Ñ-ð
ð $Ð$<¸fÐ$DÑEð
ð  % T¨#¡Y°Ð%6Ñ7ð	
ð
 !& d¨3¡i°Ð&7Ñ 8ð
ð !& c¨6 kÑ 2ð
ð 
ó
ð: 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\ñ
à   f Ñ-ð
ð $Ð$<¸fÐ$DÑEð
ð  % T¨#¡Y°Ð%6Ñ7ð	
ð
 !& d¨3¡i°Ð&7Ñ 8ð
ð !& c¨6 kÑ 2ð
ð 
ó
ð6N˜#÷ Nr   r   c                   ó  ‡ — e Zd Zdede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                  fdeeef   dedef   deee   ef   deee   ef   deeef   de	fd„Zej                  ej                  ej                  ej                  ej                  fdeeef   dedef   deee   ef   deee   ef   deeef   de	fd„Zdefd„Zˆ xZS )r@   r)   r+   r,   r-   c                 ó|   •— t         ‰| �  |«       |||dœ| _         dj                  di | j                  ¤Ž| _        y)a  
        Initialize the WebhookContext

        :param version: Version that contains the resource
        :param chat_service_sid: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with.
        :param conversation_sid: The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this webhook.
        :param sid: A 34 character string that uniquely identifies this resource.
        r5   zL/Services/{chat_service_sid}/Conversations/{conversation_sid}/Webhooks/{sid}Nr   ©r6   r7   r:   rd   Ú_uri)r<   r)   r+   r,   r-   r=   s        €r   r7   zWebhookContext.__init__Æ   sJ   ø€ ô 	‰Ñ˜Ô!ð !1Ø 0Øñ
ˆŒð
 jÐb×iÑiñ 
Ø�n‰nñ
ˆ�	r   r>   c                 ó|   — t        j                  i «      }| j                  j                  d| j                  |¬«      S )rE   ÚDELETE©ÚmethodÚuriÚheaders)r   ÚofrA   rF   r}   ©r<   rƒ   s     r   rF   zWebhookContext.deleteÝ   s1   € ô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr   c              ƒ   ó˜   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)rH   r   r€   N)r   r„   rA   rI   r}   r…   s     r   rI   zWebhookContext.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   | j                  d   | j                  d   ¬«      S )	rL   úapplication/jsonÚAcceptr   r€   r+   r,   r-   r5   )r   r„   rA   rM   r}   r   r:   ©r<   rƒ   r*   s      r   rM   zWebhookContext.fetch÷   sw   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆäØ�M‰MØØ!Ÿ^™^Ð,>Ñ?Ø!Ÿ^™^Ð,>Ñ?Ø—‘˜uÑ%ô
ð 	
r   c              ƒ   ó$  K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   | j                  d   | j                  d   ¬	«      S 7 ŒE­w)
rO   rˆ   r‰   r   r€   Nr+   r,   r-   r5   )r   r„   rA   rP   r}   r   r:   rŠ   s      r   rP   zWebhookContext.fetch_async  sŒ   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô Ø�M‰MØØ!Ÿ^™^Ð,>Ñ?Ø!Ÿ^™^Ð,>Ñ?Ø—‘˜uÑ%ô
ð 	
ð	
ús   ‚ABÁBÁ	ABrQ   rR   r   rS   rT   rU   c           	      óž  — t        j                  ||t        j                  |d„ «      t        j                  |d„ «      |dœ«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬	«      }t        | j                  || j                  d
   | j                  d   | j                  d   ¬«      S )rW   c                 ó   — | S rr   r   ©Úes    r   ú<lambda>z'WebhookContext.update.<locals>.<lambda>>  ó   € °Q€ r   c                 ó   — | S rr   r   rŽ   s    r   r�   z'WebhookContext.update.<locals>.<lambda>A  ó   € °a€ r   ©úConfiguration.UrlúConfiguration.MethodúConfiguration.FiltersúConfiguration.TriggersúConfiguration.FlowSidú!application/x-www-form-urlencodedúContent-Typerˆ   r‰   r   ©r�   r‚   Údatarƒ   r+   r,   r-   r5   )	r   r„   r   ÚmaprA   rY   r}   r   r:   ©	r<   rQ   rR   rS   rT   rU   r�   rƒ   r*   s	            r   rY   zWebhookContext.update%  sÏ   € ô( �y‰yà%6Ø(<Ü)2¯©Ø)©;ó*ô +4¯-©-Ø*©Kó+ð *@ñ
ó
ˆô —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô Ø�M‰MØØ!Ÿ^™^Ð,>Ñ?Ø!Ÿ^™^Ð,>Ñ?Ø—‘˜uÑ%ô
ð 	
r   c           	   ƒ   óº  K  — t        j                  ||t        j                  |d„ «      t        j                  |d„ «      |dœ«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬	«      ƒ d
{  –—† }t        | j                  || j                  d   | j                  d   | j                  d   ¬«      S 7 ŒE­w)r\   c                 ó   — | S rr   r   rŽ   s    r   r�   z-WebhookContext.update_async.<locals>.<lambda>q  r‘   r   c                 ó   — | S rr   r   rŽ   s    r   r�   z-WebhookContext.update_async.<locals>.<lambda>t  r“   r   r”   rš   r›   rˆ   r‰   r   rœ   Nr+   r,   r-   r5   )	r   r„   r   rž   rA   r]   r}   r   r:   rŸ   s	            r   r]   zWebhookContext.update_asyncX  sÝ   è ø€ ô( �y‰yà%6Ø(<Ü)2¯©Ø)©;ó*ô +4¯-©-Ø*©Kó+ð *@ñ
ó
ˆô —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô Ø�M‰MØØ!Ÿ^™^Ð,>Ñ?Ø!Ÿ^™^Ð,>Ñ?Ø—‘˜uÑ%ô
ð 	
ð	
ús   ‚BCÂCÂACc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )r_   r`   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wrb   rc   re   s      r   ri   z*WebhookContext.__repr__.<locals>.<genexpr>‘  rj   rk   z+<Twilio.Conversations.V1.WebhookContext {}>rl   ro   s     r   rq   zWebhookContext.__repr__‹  s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ<×CÑCÀGÓLÐLr   )r   r   r   r   rt   r7   rv   rF   rI   r   rM   rP   r   rw   r   rs   r   rY   r]   rq   rx   ry   s   @r   r@   r@   Ä   s¤  ø„ ð
Øð
Ø25ð
ØILð
ØSVõ
ð.
U˜ó 
Uð
 Dó 
ð
�ó 
ð,
 ?ó 
ð4 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\ñ1
à   f Ñ-ð1
ð $Ð$<¸fÐ$DÑEð1
ð  % T¨#¡Y°Ð%6Ñ7ð	1
ð
 !& d¨3¡i°Ð&7Ñ 8ð1
ð !& c¨6 kÑ 2ð1
ð 
ó1
ðj 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\ñ1
à   f Ñ-ð1
ð $Ð$<¸fÐ$DÑEð1
ð  % T¨#¡Y°Ð%6Ñ7ð	1
ð
 !& d¨3¡i°Ð&7Ñ 8ð1
ð !& c¨6 kÑ 2ð1
ð 
ó1
ðfM˜#÷ Mr   r@   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)ÚWebhookPager*   r>   c                 óh   — t        | j                  || j                  d   | j                  d   ¬«      S )zm
        Build an instance of WebhookInstance

        :param payload: Payload response from the API
        r+   r,   ©r+   r,   )r   rA   r:   )r<   r*   s     r   Úget_instancezWebhookPage.get_instance—  s5   € ô Ø�M‰MØØ!Ÿ^™^Ð,>Ñ?Ø!Ÿ^™^Ð,>Ñ?ô	
ð 	
r   c                  ó   — y)r_   z%<Twilio.Conversations.V1.WebhookPage>r   rB   s    r   rq   zWebhookPage.__repr__¤  ó   € ð 7r   N)	r   r   r   r   rt   r   r   r©   rq   r   r   r   r¦   r¦   •  s)   „ ð
 D¨¨c¨¡Nð 
°ó 
ð7˜#ô 7r   r¦   c                   ó  ‡ — e Zd Zdededefˆ fd„Zej                  ej                  ej                  ej                  ej                  ej                  fdddeee	f   ded	e	f   d
ee
e   e	f   de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                  ej                  ej                  ej                  fdddeee	f   ded	e	f   d
ee
e   e	f   dee
e   e	f   deee	f   dee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 )#ÚWebhookListr)   r+   r,   c                 óz   •— t         ‰| �  |«       ||dœ| _         dj                  di | j                  ¤Ž| _        y)a¹  
        Initialize the WebhookList

        :param version: Version that contains the resource
        :param chat_service_sid: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with.
        :param conversation_sid: The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this webhook.

        r¨   zF/Services/{chat_service_sid}/Conversations/{conversation_sid}/WebhooksNr   r|   )r<   r)   r+   r,   r=   s       €r   r7   zWebhookList.__init__¯  sG   ø€ ô 	‰Ñ˜Ô!ð !1Ø 0ñ
ˆŒð dÐ\×cÑcñ 
Ø�n‰nñ
ˆ�	r   r0   r!   rQ   rR   r   rS   rT   rU   Úconfiguration_replay_afterr>   c           
      óŠ  — t        j                  |||t        j                  |d„ «      t        j                  |d„ «      ||dœ«      }t        j                  ddi«      }	d|	d<   d|	d<   | j                  j                  d| j                  ||	¬	«      }
t        | j                  |
| j                  d
   | j                  d   ¬«      S )a®  
        Create the WebhookInstance

        :param target:
        :param configuration_url: The absolute url the webhook request should be sent to.
        :param configuration_method:
        :param configuration_filters: The list of events, firing webhook event for this Conversation.
        :param configuration_triggers: The list of keywords, firing webhook event for this Conversation.
        :param configuration_flow_sid: The studio flow SID, where the webhook should be sent to.
        :param configuration_replay_after: The message index for which and it's successors the webhook will be replayed. Not set by default

        :returns: The created WebhookInstance
        c                 ó   — | S rr   r   rŽ   s    r   r�   z$WebhookList.create.<locals>.<lambda>á  r‘   r   c                 ó   — | S rr   r   rŽ   s    r   r�   z$WebhookList.create.<locals>.<lambda>ä  r“   r   ©r(   r•   r–   r—   r˜   r™   zConfiguration.ReplayAfterr›   rš   rˆ   r‰   r   rœ   r+   r,   r¨   )	r   r„   r   rž   rA   Úcreater}   r   r:   ©r<   r0   rQ   rR   rS   rT   rU   r¯   r�   rƒ   r*   s              r   r´   zWebhookList.createÃ  sÐ   € ô0 �y‰yà Ø%6Ø(<Ü)2¯©Ø)©;ó*ô +4¯-©-Ø*©Kó+ð *@Ø-Gñó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô Ø�M‰MØØ!Ÿ^™^Ð,>Ñ?Ø!Ÿ^™^Ð,>Ñ?ô	
ð 	
r   c           
   ƒ   ó¦  K  — t        j                  |||t        j                  |d„ «      t        j                  |d„ «      ||dœ«      }t        j                  ddi«      }	d|	d<   d|	d<   | j                  j                  d| j                  ||	¬	«      ƒ d
{  –—† }
t        | j                  |
| j                  d   | j                  d   ¬«      S 7 Œ7­w)a½  
        Asynchronously create the WebhookInstance

        :param target:
        :param configuration_url: The absolute url the webhook request should be sent to.
        :param configuration_method:
        :param configuration_filters: The list of events, firing webhook event for this Conversation.
        :param configuration_triggers: The list of keywords, firing webhook event for this Conversation.
        :param configuration_flow_sid: The studio flow SID, where the webhook should be sent to.
        :param configuration_replay_after: The message index for which and it's successors the webhook will be replayed. Not set by default

        :returns: The created WebhookInstance
        c                 ó   — | S rr   r   rŽ   s    r   r�   z*WebhookList.create_async.<locals>.<lambda>  r‘   r   c                 ó   — | S rr   r   rŽ   s    r   r�   z*WebhookList.create_async.<locals>.<lambda>  r“   r   r³   r›   rš   rˆ   r‰   r   rœ   Nr+   r,   r¨   )	r   r„   r   rž   rA   Úcreate_asyncr}   r   r:   rµ   s              r   r¹   zWebhookList.create_asyncû  sÞ   è ø€ ô0 �y‰yà Ø%6Ø(<Ü)2¯©Ø)©;ó*ô +4¯-©-Ø*©Kó+ð *@Ø-Gñó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô Ø�M‰MØØ!Ÿ^™^Ð,>Ñ?Ø!Ÿ^™^Ð,>Ñ?ô	
ð 	
ð	
ús   ‚BCÂCÂ8CÚlimitÚ	page_sizec                 ó¢   — | j                   j                  ||«      }| j                  |d   ¬«      }| j                   j                  ||d   «      S )a]  
        Streams WebhookInstance 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º   )rA   Úread_limitsÚpageÚstream©r<   rº   r»   Úlimitsr¿   s        r   rÀ   zWebhookList.stream3  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 WebhookInstance 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º   )rA   r¾   Ú
page_asyncÚstream_asyncrÁ   s        r   rÅ   zWebhookList.stream_asyncL  sW   è ø€ ð( —‘×*Ñ*¨5°)Ó<ˆØ—_‘_¨v°kÑ/B�_ÓC×Cˆà�}‰}×)Ñ)¨$°°w±Ó@Ð@ð Dús   ‚5A·A¸$Ac                 ó:   — t        | j                  ||¬«      «      S )aú  
        Lists WebhookInstance 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WebhookList.liste  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 WebhookInstance 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WebhookList.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                  || j                  «      S )as  
        Retrieve a single page of WebhookInstance 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 WebhookInstance
        ©Ú	PageTokenr   ÚPageSizer›   rš   rˆ   r‰   r   ©r�   r‚   Úparamsrƒ   )r   r„   rA   r¿   r}   r¦   r:   ©r<   rÌ   rÍ   r»   r�   rƒ   Úresponses          r   r¿   zWebhookList.pageš  s   € ô  �y‰yà'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô ˜4Ÿ=™=¨(°D·N±NÓCÐCr   c              ƒ   ó  K  — t        j                  |||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  «      S 7 Œ%­w)	a‚  
        Asynchronously retrieve a single page of WebhookInstance 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 WebhookInstance
        rÏ   r›   rš   rˆ   r‰   r   rÒ   N)r   r„   rA   rÄ   r}   r¦   r:   rÔ   s          r   rÄ   zWebhookList.page_async»  s�   è ø€ ô  �y‰yà'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô ˜4Ÿ=™=¨(°D·N±NÓCÐCð
ús   ‚A"BÁ$B
Á%&BÚ
target_urlc                 ó¤   — | j                   j                  j                  j                  d|«      }t	        | j                   || j
                  «      S )zó
        Retrieve a specific page of WebhookInstance records from the API.
        Request is executed immediately

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

        :returns: Page of WebhookInstance
        r   )rA   ÚdomainÚtwilioÚrequestr¦   r:   ©r<   r×   rÕ   s      r   Úget_pagezWebhookList.get_pageÜ  s=   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ˜4Ÿ=™=¨(°D·N±NÓCÐCr   c              ƒ   óÀ   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   || j
                  «      S 7 Œ%­w)a  
        Asynchronously retrieve a specific page of WebhookInstance records from the API.
        Request is executed immediately

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

        :returns: Page of WebhookInstance
        r   N)rA   rÙ   rÚ   Úrequest_asyncr¦   r:   rÜ   s      r   Úget_page_asynczWebhookList.get_page_asyncè  sJ   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ˜4Ÿ=™=¨(°D·N±NÓCÐCð Vús   ‚4A¶A·&Ar-   c                 óh   — t        | j                  | j                  d   | j                  d   |¬«      S ©z€
        Constructs a WebhookContext

        :param sid: A 34 character string that uniquely identifies this resource.
        r+   r,   r5   ©r@   rA   r:   ©r<   r-   s     r   r8   zWebhookList.getô  ó5   € ô Ø�M‰MØ!Ÿ^™^Ð,>Ñ?Ø!Ÿ^™^Ð,>Ñ?Øô	
ð 	
r   c                 óh   — t        | j                  | j                  d   | j                  d   |¬«      S râ   rã   rä   s     r   Ú__call__zWebhookList.__call__  rå   r   c                  ó   — y)r_   z%<Twilio.Conversations.V1.WebhookList>r   rB   s    r   rq   zWebhookList.__repr__  r«   r   )NN) r   r   r   r   rt   r7   r   rw   r   rs   r   Úintr   r´   r¹   r   r	   rÀ   r
   rÅ   rÈ   rË   r¦   r¿   rÄ   rÝ   rà   r@   r8   rç   rq   rx   ry   s   @r   r­   r­   ­  s¢  ø„ ð
 ð 
¸3ð 
ÐRUõ 
ð. 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\Ø9?¿¹ñ6
à(ð6
ð !  f Ñ-ð6
ð $Ð$<¸fÐ$DÑEð	6
ð
  % T¨#¡Y°Ð%6Ñ7ð6
ð !& d¨3¡i°Ð&7Ñ 8ð6
ð !& c¨6 kÑ 2ð6
ð %*¨#¨v¨+Ñ$6ð6
ð 
ó6
ðv 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\Ø9?¿¹ñ6
à(ð6
ð !  f Ñ-ð6
ð $Ð$<¸fÐ$DÑEð	6
ð
  % T¨#¡Y°Ð%6Ñ7ð6
ð !& d¨3¡i°Ð&7Ñ 8ð6
ð !& c¨6 kÑ 2ð6
ð %*¨#¨v¨+Ñ$6ð6
ð 
ó6
ðt  $Ø#'ñ;à˜‰}ð;ð ˜C‘=ð;ð 
�/Ñ	"ó	;ð6  $Ø#'ñAà˜‰}ðAð ˜C‘=ðAð 
�Ñ	'ó	Að6  $Ø#'ñ
à˜‰}ð
ð ˜C‘=ð
ð 
ˆoÑ	ó	
ð8  $Ø#'ñ
à˜‰}ð
ð ˜C‘=ð
ð 
ˆoÑ	ó	
ð: *0¯©Ø*0¯,©,Ø(.¯©ñ	Dà˜#˜v˜+Ñ&ðDð ˜3 ˜;Ñ'ðDð ˜˜f˜Ñ%ð	Dð
 
óDðF *0¯©Ø*0¯,©,Ø(.¯©ñ	Dà˜#˜v˜+Ñ&ðDð ˜3 ˜;Ñ'ðDð ˜˜f˜Ñ%ð	Dð
 
óDðB
D 3ð 
D¨;ó 
Dð
D¨sð 
D°{ó 
Dð
�sð 
˜~ó 
ð
˜Cð 
 Nó 
ð7˜#÷ 7r   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Ý 'Ý !ôhNÐ&ô hNôVNM�_ô NMôb7�$ô 7ô0g7�,õ g7r   