
    g                         S r SSKJr  SSKJrJrJrJrJrJrJ	r	  SSK
JrJrJr  SSKJr  SSKJr  SSKJr  SSKJr  SS	KJr   " S
 S\5      r " S S\5      r " S S\5      r " S S\5      rg)a  
 This code was generated by
___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

 Twilio - Chat
 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                     ^  \ rS rSr " S S\5      r " S S\5      r  SS\S\\	\
4   S\	S	\	S
\\	   4
U 4S jjjr\SS j5       rS\4S jrS\4S jrSS jrSS jr\R*                  \R*                  \R*                  \R*                  \R*                  \R*                  4S\\	\4   S\S\4   S\\\	   \4   S\\\	   \4   S\\	\4   S\\\4   SS 4S jjr\R*                  \R*                  \R*                  \R*                  \R*                  \R*                  4S\\	\4   S\S\4   S\\\	   \4   S\\\	   \4   S\\	\4   S\\\4   SS 4S jjrS\	4S jrSrU =r$ ) WebhookInstance   c                       \ rS rSrSrSrSrg)WebhookInstance.Method   GETPOST N)__name__
__module____qualname____firstlineno__r   r   __static_attributes__r       s/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/chat/v2/service/channel/webhook.pyMethodr      s    r!   r#   c                        \ rS rSrSrSrSrSrg)WebhookInstance.Type   webhooktriggerstudior   N)r   r   r   r   WEBHOOKTRIGGERSTUDIOr    r   r!   r"   Typer%      s    r!   r-   versionpayloadservice_sidchannel_sidsidc                 J  > [         TU ]  U5        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l	        [        R                  " UR                  S5      5      U l        [        R                  " UR                  S	5      5      U l        UUU=(       d    U R                  S
.U l        S U l        g )Nr2   account_sidr0   r1   typeurlconfigurationdate_createddate_updatedr0   r1   r2   )super__init__getr2   r4   r0   r1   r5   r6   r7   r   iso8601_datetimer8   r9   	_solution_context)selfr.   r/   r0   r1   r2   	__class__s         r"   r<   WebhookInstance.__init__0   s     	!")++e"4*1++m*D*1++m*D*1++m*D#*;;v#6	")++e"4:A++o:V0;0L0LKK'1
 1<0L0LKK'1

 '&?$((

 37r!   returnc                     U R                   cB  [        U R                  U R                  S   U R                  S   U R                  S   S9U l         U R                   $ )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
r0   r1   r2   r:   )r@   WebhookContext_versionr?   rA   s    r"   _proxyWebhookInstance._proxyO   sQ     == * NN=9 NN=9NN5)	DM }}r!   c                 6    U R                   R                  5       $ )R
Deletes the WebhookInstance


:returns: True if delete succeeds, False otherwise
)rI   deleterH   s    r"   rM   WebhookInstance.delete`   s     {{!!##r!   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)n
Asynchronous coroutine that deletes the WebhookInstance


:returns: True if delete succeeds, False otherwise
N)rI   delete_asyncrH   s    r"   rQ   WebhookInstance.delete_asynci   s       [[--////   '%'c                 6    U R                   R                  5       $ )C
Fetch the WebhookInstance


:returns: The fetched WebhookInstance
)rI   fetchrH   s    r"   rV   WebhookInstance.fetchr   s     {{  ""r!   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)]
Asynchronous coroutine to fetch the WebhookInstance


:returns: The fetched WebhookInstance
N)rI   fetch_asyncrH   s    r"   rZ   WebhookInstance.fetch_async{   s       [[,,....rS   configuration_urlconfiguration_methodr   configuration_filtersconfiguration_triggersconfiguration_flow_sidconfiguration_retry_countc           	      >    U R                   R                  UUUUUUS9$ )  
Update the WebhookInstance

:param configuration_url: The URL of the webhook to call using the `configuration.method`.
:param configuration_method:
:param configuration_filters: The events that cause us to call the Channel Webhook. Used when `type` is `webhook`. This parameter takes only one event. To specify more than one event, repeat this parameter for each event. For the list of possible events, see [Webhook Event Triggers](https://www.twilio.com/docs/chat/webhook-events#webhook-event-trigger).
:param configuration_triggers: A string that will cause us to call the webhook when it is present in a message body. This parameter takes only one trigger string. To specify more than one, repeat this parameter for each trigger string up to a total of 5 trigger strings. Used only when `type` = `trigger`.
:param configuration_flow_sid: The SID of the Studio [Flow](https://www.twilio.com/docs/studio/rest-api/flow) to call when an event in `configuration.filters` occurs. Used only when `type` = `studio`.
:param configuration_retry_count: The number of times to retry the webhook if the first attempt fails. Can be an integer between 0 and 3, inclusive, and the default is 0.

:returns: The updated WebhookInstance
r\   r]   r^   r_   r`   ra   )rI   updaterA   r\   r]   r^   r_   r`   ra   s          r"   re   WebhookInstance.update   s2    * {{!!/!5"7#9#9&? " 
 	
r!   c           	      Z   #    U R                   R                  UUUUUUS9I Sh  vN $  N7f)  
Asynchronous coroutine to update the WebhookInstance

:param configuration_url: The URL of the webhook to call using the `configuration.method`.
:param configuration_method:
:param configuration_filters: The events that cause us to call the Channel Webhook. Used when `type` is `webhook`. This parameter takes only one event. To specify more than one event, repeat this parameter for each event. For the list of possible events, see [Webhook Event Triggers](https://www.twilio.com/docs/chat/webhook-events#webhook-event-trigger).
:param configuration_triggers: A string that will cause us to call the webhook when it is present in a message body. This parameter takes only one trigger string. To specify more than one, repeat this parameter for each trigger string up to a total of 5 trigger strings. Used only when `type` = `trigger`.
:param configuration_flow_sid: The SID of the Studio [Flow](https://www.twilio.com/docs/studio/rest-api/flow) to call when an event in `configuration.filters` occurs. Used only when `type` = `studio`.
:param configuration_retry_count: The number of times to retry the webhook if the first attempt fails. Can be an integer between 0 and 3, inclusive, and the default is 0.

:returns: The updated WebhookInstance
rd   N)rI   update_asyncrf   s          r"   rj   WebhookInstance.update_async   s?     * [[--/!5"7#9#9&? . 
 
 	
 
s   "+)+c                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )N
Provide a friendly representation

:returns: Machine friendly representation
 c              3   H   #    U  H  u  pS R                  X5      v   M     g7fz{}={}Nformat.0kvs      r"   	<genexpr>+WebhookInstance.__repr__.<locals>.<genexpr>         S<RDA7>>!//<R    "z#<Twilio.Chat.V2.WebhookInstance {}>joinr?   itemsrr   rA   contexts     r"   __repr__WebhookInstance.__repr__   s6     ((SDNN<P<P<RSS4;;GDDr!   )r@   r?   r4   r1   r7   r8   r9   r0   r2   r5   r6   N)rD   rF   )rD   r   )r   r   r   r   objectr#   r-   r   r   strr   r   r<   propertyrI   boolrM   rQ   rV   rZ   r   unsetr   r   intre   rj   r   r    __classcell__rB   s   @r"   r   r      s$    v 

$ "77 c3h7 	7
 7 c]7 7>   $ $0D 0#/ 17HN:@,,;A<<5;\\8>
 f-
 $$<f$DE
  %T#Y%67	

 !&d3i&7 8
 !&c6k 2
 $)f#5
 

@ 17HN:@,,;A<<5;\\8>
 f-
 $$<f$DE
  %T#Y%67	

 !&d3i&7 8
 !&c6k 2
 $)f#5
 

<E# E Er!   r   c                   n  ^  \ rS rSrS\S\S\S\4U 4S jjrS\4S jrS\4S	 jr	S\
4S
 jrS\
4S jr\R                  \R                  \R                  \R                  \R                  \R                  4S\\\4   S\S\4   S\\\   \4   S\\\   \4   S\\\4   S\\\4   S\
4S jjr\R                  \R                  \R                  \R                  \R                  \R                  4S\\\4   S\S\4   S\\\   \4   S\\\   \4   S\\\4   S\\\4   S\
4S jjrS\4S jrSrU =r$ )rF      r.   r0   r1   r2   c                 |   > [         TU ]  U5        UUUS.U l        SR                  " S0 U R                  D6U l        g)a  
Initialize the WebhookContext

:param version: Version that contains the resource
:param service_sid: The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) with the Channel that has the Webhook resource to update.
:param channel_sid: The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Channel Webhook resource to update belongs to. This value can be the Channel resource's `sid` or `unique_name`.
:param sid: The SID of the Channel Webhook resource to update.
r:   z=/Services/{service_sid}/Channels/{channel_sid}/Webhooks/{sid}Nr   r;   r<   r?   rr   _uri)rA   r.   r0   r1   r2   rB   s        r"   r<   WebhookContext.__init__   sJ     	! '&
 LRR .. 		r!   rD   c                 x    [         R                  " 0 5      nU R                  R                  SU R                  US9$ )rL   DELETEmethoduriheaders)r   ofrG   rM   r   rA   r   s     r"   rM   WebhookContext.delete   s1     ))B-}}##8G#TTr!   c                    #    [         R                  " 0 5      nU R                  R                  SU R                  US9I Sh  vN $  N7f)rP   r   r   N)r   r   rG   rQ   r   r   s     r"   rQ   WebhookContext.delete_async   sE      ))B-]]//G 0 
 
 	
 
s   ?AAAc                     [         R                  " 0 5      nSUS'   U R                  R                  SU R                  US9n[        U R                  UU R                  S   U R                  S   U R                  S   S9$ )	rU   application/jsonAcceptr   r   r0   r1   r2   r:   )r   r   rG   rV   r   r   r?   rA   r   r/   s      r"   rV   WebhookContext.fetch   su     ))B-.--%%U		7%SMM}5}5u%
 	
r!   c                   #    [         R                  " 0 5      nSUS'   U R                  R                  SU R                  US9I Sh  vN n[        U R                  UU R                  S   U R                  S   U R                  S   S	9$  NB7f)
rY   r   r   r   r   Nr0   r1   r2   r:   )r   r   rG   rZ   r   r   r?   r   s      r"   rZ   WebhookContext.fetch_async  s      ))B-.11dii 2 
 
 MM}5}5u%
 	
	
s   ABB	ABr\   r]   r   r^   r_   r`   ra   c           	         [         R                  " UU[        R                  " US 5      [        R                  " US 5      UUS.5      n[         R                  " 0 5      nSUS'   SUS'   U R                  R                  SU R                  XxS	9n	[        U R                  U	U R                  S
   U R                  S   U R                  S   S9$ )rc   c                     U $ r   r   es    r"   <lambda>'WebhookContext.update.<locals>.<lambda>F      Qr!   c                     U $ r   r   r   s    r"   r   r   I      ar!   Configuration.UrlConfiguration.MethodConfiguration.FiltersConfiguration.TriggersConfiguration.FlowSidConfiguration.RetryCount!application/x-www-form-urlencodedContent-Typer   r   r   r   r   datar   r0   r1   r2   r:   )	r   r   r   maprG   re   r   r   r?   
rA   r\   r]   r^   r_   r`   ra   r   r   r/   s
             r"   re   WebhookContext.update+  s    , yy%6(<)2);* +4--*K+ *@,E
 ))B-"E.--&&tyyt ' 
 MM}5}5u%
 	
r!   c           	        #    [         R                  " UU[        R                  " US 5      [        R                  " US 5      UUS.5      n[         R                  " 0 5      nSUS'   SUS'   U R                  R                  SU R                  XxS	9I S
h  vN n	[        U R                  U	U R                  S   U R                  S   U R                  S   S9$  NB7f)ri   c                     U $ r   r   r   s    r"   r   -WebhookContext.update_async.<locals>.<lambda>|  r   r!   c                     U $ r   r   r   s    r"   r   r     r   r!   r   r   r   r   r   r   r   Nr0   r1   r2   r:   )	r   r   r   r   rG   rj   r   r   r?   r   s
             r"   rj   WebhookContext.update_asynca  s     , yy%6(<)2);* +4--*K+ *@,E
 ))B-"E.22tyyt 3 
 
 MM}5}5u%
 	
	
s   BCCACc                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )rm   rn   c              3   H   #    U  H  u  pS R                  X5      v   M     g7frp   rq   rs   s      r"   rw   *WebhookContext.__repr__.<locals>.<genexpr>  ry   rz   z"<Twilio.Chat.V2.WebhookContext {}>r{   r~   s     r"   r   WebhookContext.__repr__  s6     ((SDNN<P<P<RSS3::7CCr!   r?   r   )r   r   r   r   r   r   r<   r   rM   rQ   r   rV   rZ   r   r   r   r   r   r   re   rj   r   r    r   r   s   @r"   rF   rF      s   
 
c 
 
RU 
.
U 
U
D 

 
,
? 
4 17HN:@,,;A<<5;\\8>4
 f-4
 $$<f$DE4
  %T#Y%67	4

 !&d3i&7 84
 !&c6k 24
 $)f#54
 
4
p 17HN:@,,;A<<5;\\8>4
 f-4
 $$<f$DE4
  %T#Y%67	4

 !&d3i&7 84
 !&c6k 24
 $)f#54
 
4
lD# D Dr!   rF   c                   >    \ rS rSrS\\\4   S\4S jrS\4S jr	Sr
g)WebhookPagei  r/   rD   c                 b    [        U R                  UU R                  S   U R                  S   S9$ )zU
Build an instance of WebhookInstance

:param payload: Payload response from the API
r0   r1   r0   r1   )r   rG   r?   )rA   r/   s     r"   get_instanceWebhookPage.get_instance  s3     MM}5}5	
 	
r!   c                     g)rm   z<Twilio.Chat.V2.WebhookPage>r   rH   s    r"   r   WebhookPage.__repr__       .r!   r   N)r   r   r   r   r   r   r   r   r   r   r    r   r!   r"   r   r     s)    
DcN 
 
.# .r!   r   c                   >  ^  \ rS rSrS\S\S\4U 4S jjr\R                  \R                  \R                  \R                  \R                  \R                  4SSS\	\\
4   S	\	S
\
4   S\	\\   \
4   S\	\\   \
4   S\	\\
4   S\	\\
4   S\4S jjr\R                  \R                  \R                  \R                  \R                  \R                  4SSS\	\\
4   S	\	S
\
4   S\	\\   \
4   S\	\\   \
4   S\	\\
4   S\	\\
4   S\4S jjr  S$S\\   S\\   S\\   4S jjr  S$S\\   S\\   S\\   4S jjr  S$S\\   S\\   S\\   4S jjr  S$S\\   S\\   S\\   4S jjr\R                  \R                  \R                  4S\	\\
4   S\	\\
4   S\	\\
4   S\4S jjr\R                  \R                  \R                  4S\	\\
4   S\	\\
4   S\	\\
4   S\4S jjrS\S\4S jrS\S\4S jrS\S\4S  jrS\S\4S! jrS\4S" jrS#r U =r!$ )%WebhookListi  r.   r0   r1   c                 z   > [         TU ]  U5        UUS.U l        SR                  " S0 U R                  D6U l        g)a  
Initialize the WebhookList

:param version: Version that contains the resource
:param service_sid: The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) with the Channel to read the resources from.
:param channel_sid: The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Channel Webhook resources to read belong to. This value can be the Channel resource's `sid` or `unique_name`.

r   z7/Services/{service_sid}/Channels/{channel_sid}/WebhooksNr   r   )rA   r.   r0   r1   rB   s       r"   r<   WebhookList.__init__  sD     	! '&
 NTT 
nn
	r!   r5   r%   r\   r]   r   r^   r_   r`   ra   rD   c           
         [         R                  " UUU[        R                  " US 5      [        R                  " US 5      UUS.5      n[         R                  " SS05      n	SU	S'   SU	S'   U R                  R                  SU R                  XS	9n
[        U R                  U
U R                  S
   U R                  S   S9$ )a  
Create the WebhookInstance

:param type:
:param configuration_url: The URL of the webhook to call using the `configuration.method`.
:param configuration_method:
:param configuration_filters: The events that cause us to call the Channel Webhook. Used when `type` is `webhook`. This parameter takes only one event. To specify more than one event, repeat this parameter for each event. For the list of possible events, see [Webhook Event Triggers](https://www.twilio.com/docs/chat/webhook-events#webhook-event-trigger).
:param configuration_triggers: A string that will cause us to call the webhook when it is present in a message body. This parameter takes only one trigger string. To specify more than one, repeat this parameter for each trigger string up to a total of 5 trigger strings. Used only when `type` = `trigger`.
:param configuration_flow_sid: The SID of the Studio [Flow](https://www.twilio.com/docs/studio/rest-api/flow) to call when an event in `configuration.filters` occurs. Used only when `type` is `studio`.
:param configuration_retry_count: The number of times to retry the webhook if the first attempt fails. Can be an integer between 0 and 3, inclusive, and the default is 0.

:returns: The created WebhookInstance
c                     U $ r   r   r   s    r"   r   $WebhookList.create.<locals>.<lambda>  r   r!   c                     U $ r   r   r   s    r"   r   r     r   r!   r-   r   r   r   r   r   r   r   r   r   r   r   r   r0   r1   r   )	r   r   r   r   rG   creater   r   r?   rA   r5   r\   r]   r^   r_   r`   ra   r   r   r/   s              r"   r   WebhookList.create  s    0 yy%6(<)2);* +4--*K+ *@,E
 ))^-PQR"E.--&&tyyt ' 
 MM}5}5	
 	
r!   c           
        #    [         R                  " UUU[        R                  " US 5      [        R                  " US 5      UUS.5      n[         R                  " SS05      n	SU	S'   SU	S'   U R                  R                  SU R                  XS	9I S
h  vN n
[        U R                  U
U R                  S   U R                  S   S9$  N47f)a  
Asynchronously create the WebhookInstance

:param type:
:param configuration_url: The URL of the webhook to call using the `configuration.method`.
:param configuration_method:
:param configuration_filters: The events that cause us to call the Channel Webhook. Used when `type` is `webhook`. This parameter takes only one event. To specify more than one event, repeat this parameter for each event. For the list of possible events, see [Webhook Event Triggers](https://www.twilio.com/docs/chat/webhook-events#webhook-event-trigger).
:param configuration_triggers: A string that will cause us to call the webhook when it is present in a message body. This parameter takes only one trigger string. To specify more than one, repeat this parameter for each trigger string up to a total of 5 trigger strings. Used only when `type` = `trigger`.
:param configuration_flow_sid: The SID of the Studio [Flow](https://www.twilio.com/docs/studio/rest-api/flow) to call when an event in `configuration.filters` occurs. Used only when `type` is `studio`.
:param configuration_retry_count: The number of times to retry the webhook if the first attempt fails. Can be an integer between 0 and 3, inclusive, and the default is 0.

:returns: The created WebhookInstance
c                     U $ r   r   r   s    r"   r   *WebhookList.create_async.<locals>.<lambda>%  r   r!   c                     U $ r   r   r   s    r"   r   r   (  r   r!   r   r   r   r   r   r   r   Nr0   r1   r   )	r   r   r   r   rG   create_asyncr   r   r?   r   s              r"   r   WebhookList.create_async  s     0 yy%6(<)2);* +4--*K+ *@,E
 ))^-PQR"E.22tyyt 3 
 
 MM}5}5	
 	
	
s   BCC5Climit	page_sizec                     U R                   R                  X5      nU R                  US   S9nU R                   R                  XCS   5      $ )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   )rG   read_limitspagestreamrA   r   r   limitsr   s        r"   r   WebhookList.stream?  sF    ( **5<yy6+#6y7}}##D/::r!   c                    #    U R                   R                  X5      nU R                  US   S9I Sh  vN nU R                   R                  XCS   5      $  N"7f)a  
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   )rG   r   
page_asyncstream_asyncr   s        r"   r   WebhookList.stream_asyncX  sR     ( **5<__vk/B_CC}}))$w@@ Ds   1AA#Ac                 4    [        U R                  UUS95      $ )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   )rA   r   r   s      r"   r   WebhookList.listq  s(    & KK#  
 	
r!   c                 v   #    U R                  UUS9I Sh  vN  Vs/ s Sh  vN nUPM   N N

 sn$ s  snf 7f)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   )rA   r   r   records       r"   
list_asyncWebhookList.list_async  sQ     * '+&7&7# '8 ' ! !
 
 !
 	
 
s0   9,940.
049049
page_tokenpage_numberc                     [         R                  " UUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  XES9n[        U R                  X`R                  5      $ )a;  
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   rG   r   r   r   r?   rA   r   r   r   r   r   responses          r"   r   WebhookList.page  s{      yy'#%
 ))^-PQR.==%%dii & 
 4==(NNCCr!   c                   #    [         R                  " UUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  XES9I Sh  vN n[        U R                  X`R                  5      $  N$7f)	aJ  
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   rG   r   r   r   r?   r   s          r"   r   WebhookList.page_async  s       yy'#%
 ))^-PQR.11dii 2 
 
 4==(NNCC
s   A B	"B#%B	
target_urlc                     U R                   R                  R                  R                  SU5      n[	        U R                   X R
                  5      $ )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   )rG   domaintwiliorequestr   r?   rA   r  r   s      r"   get_pageWebhookList.get_page  s;     ==''..66ujI4==(NNCCr!   c                    #    U R                   R                  R                  R                  SU5      I Sh  vN n[	        U R                   X R
                  5      $  N$7f)z
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)rG   r  r  request_asyncr   r?   r  s      r"   get_page_asyncWebhookList.get_page_async  sG      --44BB5*UU4==(NNCC Vs   4AA%Ar2   c                 b    [        U R                  U R                  S   U R                  S   US9$ z]
Constructs a WebhookContext

:param sid: The SID of the Channel Webhook resource to update.
r0   r1   r:   rF   rG   r?   rA   r2   s     r"   r=   WebhookList.get   3     MM}5}5	
 	
r!   c                 b    [        U R                  U R                  S   U R                  S   US9$ r  r  r  s     r"   __call__WebhookList.__call__  r  r!   c                     g)rm   z<Twilio.Chat.V2.WebhookList>r   rH   s    r"   r   WebhookList.__repr__  r   r!   r   )NN)"r   r   r   r   r   r   r<   r   r   r   r   r   r   r   r   r   r   r	   r   r
   r   r   r   r   r   r   r  r  rF   r=   r  r   r    r   r   s   @r"   r   r     s   
 
c 
 
. 17HN:@,,;A<<5;\\8>6
$6
 !f-6
 $$<f$DE	6

  %T#Y%676
 !&d3i&7 86
 !&c6k 26
 $)f#56
 
6
v 17HN:@,,;A<<5;\\8>6
$6
 !f-6
 $$<f$DE	6

  %T#Y%676
 !&d3i&7 86
 !&c6k 26
 $)f#5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 
.# . .r!   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   rF   r   r   r   r!   r"   <module>r!     sj     L L L 6 6 8 : 2 ' !nE& nEbTD_ TDn.$ .0g., g.r!   