Ë
    [üàgo  ã                   óà   — 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                   óT  ‡ — 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
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   © ó    úo/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/conversations/v1/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Úconversation_sidÚsidc                 ó  •— t         ‰| �  |«       |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+   ÚtargetÚurlÚconfigurationÚdate_createdÚdate_updated©r+   r,   )ÚsuperÚ__init__Úgetr,   r.   r+   r/   r0   r1   r   Úiso8601_datetimer2   r3   Ú	_solutionÚ_context)Úselfr)   r*   r+   r,   Ú	__class__s        €r   r6   zWebhookInstance.__init__/   sØ   ø€ ô 	‰Ñ˜Ô!à")§+¡+¨eÓ"4ˆŒØ*1¯+©+°mÓ*DˆÔØ/6¯{©{Ð;MÓ/NˆÔØ%,§[¡[°Ó%:ˆŒØ")§+¡+¨eÓ"4ˆŒØ:A¿+¹+ÀoÓ:VˆÔÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð
 !1Ø’?˜$Ÿ(™(ñ
ˆŒð 37ˆ�r   Úreturnc                 ó    — | j                   €7t        | j                  | 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,   r4   )r:   ÚWebhookContextÚ_versionr9   ©r;   s    r   Ú_proxyzWebhookInstance._proxyK   sF   € ð �=‰=Ð Ü*Ø—‘Ø!%§¡Ð0BÑ!CØ—N‘N 5Ñ)ôˆDŒMð
 �}‰}Ðr   c                 ó6   — | j                   j                  «       S )új
        Deletes the WebhookInstance


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


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


        :returns: The fetched WebhookInstance
        N)rB   Úfetch_asyncrA   s    r   rO   zWebhookInstance.fetch_asyncv   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.úrI   Ú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
        ©rP   rQ   rR   rS   rT   )rB   Úupdate©r;   rP   rQ   rR   rS   rT   s         r   rX   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
        rW   N)rB   Úupdate_asyncrY   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 {}>©Újoinr9   Úitemsrc   ©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   r6   ÚpropertyrB   ÚboolrE   rH   rL   rO   r   Úunsetr   r   rX   r\   rp   Ú__classcell__©r<   s   @r   r   r      sÚ  ø„ ô�ô ô�ô ð
	ð  "ñ7àð7ð �c˜3�h‘ð7ð ð	7ð
 �c‰]õ7ð8 òó ðð$˜ó $ð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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,   c                 óz   •— t         ‰| �  |«       ||dœ| _         dj                  di | j                  ¤Ž| _        y)aY  
        Initialize the WebhookContext

        :param version: Version that contains the resource
        :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.
        r4   z0/Conversations/{conversation_sid}/Webhooks/{sid}Nr   ©r5   r6   r9   rc   Ú_uri)r;   r)   r+   r,   r<   s       €r   r6   zWebhookContext.__init__Á   sG   ø€ ô 	‰Ñ˜Ô!ð !1Øñ
ˆŒð NÐF×MÑMñ 
Ø�n‰nñ
ˆ�	r   r=   c                 ó|   — t        j                  i «      }| j                  j                  d| j                  |¬«      S )rD   ÚDELETE©ÚmethodÚuriÚheaders)r   Úofr@   rE   r|   ©r;   r‚   s     r   rE   zWebhookContext.deleteÔ   s1   € ô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr   c              ƒ   ó˜   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)rG   r~   r   N)r   rƒ   r@   rH   r|   r„   s     r   rH   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   ¬«      S )rK   úapplication/jsonÚAcceptr   r   r+   r,   r4   )r   rƒ   r@   rL   r|   r   r9   ©r;   r‚   r*   s      r   rL   zWebhookContext.fetchî   sj   € ô —)‘)˜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   ¬«      S 7 Œ7­w)	rN   r‡   rˆ   r   r   Nr+   r,   r4   )r   rƒ   r@   rO   r|   r   r9   r‰   s      r   rO   zWebhookContext.fetch_async  s   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô Ø�M‰MØØ!Ÿ^™^Ð,>Ñ?Ø—‘˜uÑ%ô	
ð 	
ð	
ús   ‚ABÁB Á	8BrP   rQ   r   rR   rS   rT   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   ¬«      S )rV   c                 ó   — | S rq   r   ©Úes    r   ú<lambda>z'WebhookContext.update.<locals>.<lambda>3  ó   € °Q€ r   c                 ó   — | S rq   r   r�   s    r   r�   z'WebhookContext.update.<locals>.<lambda>6  ó   € °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,   r4   )	r   rƒ   r   Úmapr@   rX   r|   r   r9   ©	r;   rP   rQ   rR   rS   rT   rœ   r‚   r*   s	            r   rX   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   ¬«      S 7 Œ7­w)r[   c                 ó   — | S rq   r   r�   s    r   r�   z-WebhookContext.update_async.<locals>.<lambda>e  r�   r   c                 ó   — | S rq   r   r�   s    r   r�   z-WebhookContext.update_async.<locals>.<lambda>h  r’   r   r“   r™   rš   r‡   rˆ   r   r›   Nr+   r,   r4   )	r   rƒ   r   r�   r@   r\   r|   r   r9   rž   s	            r   r\   zWebhookContext.update_asyncL  sÐ   è ø€ ô( �y‰yà%6Ø(<Ü)2¯©Ø)©;ó*ô +4¯-©-Ø*©Kó+ð *@ñ
ó
ˆô —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô Ø�M‰MØØ!Ÿ^™^Ð,>Ñ?Ø—‘˜uÑ%ô	
ð 	
ð	
ús   ‚BCÂCÂ8Cc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )r^   r_   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wra   rb   rd   s      r   rh   z*WebhookContext.__repr__.<locals>.<genexpr>„  ri   rj   z+<Twilio.Conversations.V1.WebhookContext {}>rk   rn   s     r   rp   zWebhookContext.__repr__~  s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ<×CÑCÀGÓLÐLr   )r   r   r   r   rs   r6   ru   rE   rH   r   rL   rO   r   rv   r   rr   r   rX   r\   rp   rw   rx   s   @r   r?   r?   ¿   s™  ø„ ð
 ð 
¸3ð 
ÀSõ 
ð&
U˜ó 
Uð
 Dó 
ð
�ó 
ð*
 ?ó 
ð2 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\ñ0
à   f Ñ-ð0
ð $Ð$<¸fÐ$DÑEð0
ð  % T¨#¡Y°Ð%6Ñ7ð	0
ð
 !& d¨3¡i°Ð&7Ñ 8ð0
ð !& c¨6 kÑ 2ð0
ð 
ó0
ðh 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\ñ0
à   f Ñ-ð0
ð $Ð$<¸fÐ$DÑEð0
ð  % T¨#¡Y°Ð%6Ñ7ð	0
ð
 !& d¨3¡i°Ð&7Ñ 8ð0
ð !& c¨6 kÑ 2ð0
ð 
ó0
ðd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                 óL   — t        | j                  || j                  d   ¬«      S )zm
        Build an instance of WebhookInstance

        :param payload: Payload response from the API
        r+   ©r+   )r   r@   r9   )r;   r*   s     r   Úget_instancezWebhookPage.get_instanceŠ  s&   € ô Ø�M‰M˜7°T·^±^ÐDVÑ5Wô
ð 	
r   c                  ó   — y)r^   z%<Twilio.Conversations.V1.WebhookPage>r   rA   s    r   rp   zWebhookPage.__repr__”  ó   € ð 7r   N)	r   r   r   r   rs   r   r   r¨   rp   r   r   r   r¥   r¥   ˆ  s)   „ ð
 D¨¨c¨¡Nð 
°ó 
ð7˜#ô 7r   r¥   c                   ó  ‡ — e Zd Z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+   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)a  
        Initialize the WebhookList

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

        r+   z*/Conversations/{conversation_sid}/WebhooksNr   r{   )r;   r)   r+   r<   s      €r   r6   zWebhookList.__init__Ÿ  sG   ø€ ô 	‰Ñ˜Ô!ð Ð 0ð
ˆŒð HÐ@×GÑGñ 
Ø�n‰nñ
ˆ�	r   r/   r!   rP   rQ   r   rR   rS   rT   Úconfiguration_replay_afterr=   c           
      ón  — 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
   ¬«      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 rq   r   r�   s    r   r�   z$WebhookList.create.<locals>.<lambda>Ï  r�   r   c                 ó   — | S rq   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@   Úcreater|   r   r9   ©r;   r/   rP   rQ   rR   rS   rT   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˜7°T·^±^ÐDVÑ5Wô
ð 	
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   ¬«      S 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 rq   r   r�   s    r   r�   z*WebhookList.create_async.<locals>.<lambda>  r�   r   c                 ó   — | S rq   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@   Úcreate_asyncr|   r   r9   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˜7°T·^±^ÐDVÑ5Wô
ð 	
ð	
ús   ‚BCÂCÂ*CÚ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¹   )r@   Úread_limitsÚpageÚstream©r;   r¹   rº   Úlimitsr¾   s        r   r¿   zWebhookList.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 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¹   )r@   r½   Ú
page_asyncÚstream_asyncrÀ   s        r   rÄ   zWebhookList.stream_async4  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.listM  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_asyncg  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ƒ   r@   r¾   r|   r¥   r9   ©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ƒ   r@   rÃ   r|   r¥   r9   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   )r@   ÚdomainÚtwilioÚrequestr¥   r9   ©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)r@   rØ   rÙ   Úrequest_asyncr¥   r9   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                 óL   — t        | j                  | j                  d   |¬«      S ©z€
        Constructs a WebhookContext

        :param sid: A 34 character string that uniquely identifies this resource.
        r+   r4   ©r?   r@   r9   ©r;   r,   s     r   r7   zWebhookList.getÜ  ó'   € ô Ø�M‰M¨D¯N©NÐ;MÑ,NÐTWô
ð 	
r   c                 óL   — t        | j                  | j                  d   |¬«      S rá   râ   rã   s     r   Ú__call__zWebhookList.__call__æ  rä   r   c                  ó   — y)r^   z%<Twilio.Conversations.V1.WebhookList>r   rA   s    r   rp   zWebhookList.__repr__ð  rª   r   )NN) r   r   r   r   rs   r6   r   rv   r   rr   r   Úintr   r³   r¸   r   r	   r¿   r
   rÄ   rÇ   rÊ   r¥   r¾   rÃ   rÜ   rß   r?   r7   ræ   rp   rw   rx   s   @r   r¬   r¬   �  sš  ø„ ð
 ð 
¸3õ 
ð* 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\Ø9?¿¹ñ3
à(ð3
ð !  f Ñ-ð3
ð $Ð$<¸fÐ$DÑEð	3
ð
  % T¨#¡Y°Ð%6Ñ7ð3
ð !& d¨3¡i°Ð&7Ñ 8ð3
ð !& c¨6 kÑ 2ð3
ð %*¨#¨v¨+Ñ$6ð3
ð 
ó3
ðp 17·±ØHNÏÉØ:@¿,¹,Ø;A¿<¹<Ø5;·\±\Ø9?¿¹ñ3
à(ð3
ð !  f Ñ-ð3
ð $Ð$<¸fÐ$DÑEð	3
ð
  % T¨#¡Y°Ð%6Ñ7ð3
ð !& d¨3¡i°Ð&7Ñ 8ð3
ð !& c¨6 kÑ 2ð3
ð %*¨#¨v¨+Ñ$6ð3
ð 
ó3
ðn  $Ø#'ñ;à˜‰}ð;ð ˜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Ý 'Ý !ôcNÐ&ô cNôLFM�_ô FMôR7�$ô 7ô*Y7�,õ Y7r   