Ë
    [üàgÝ�  ã                   óà   — 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 - Taskrouter
    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            
       óv   ‡ — e Zd ZdZ	 ddedeeef   dedee   fˆ fd„Z	e
dd„«       Zdd	„Zdd
„Zdefd„Zˆ xZS )ÚEventInstancea¦  
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Event resource.
    :ivar actor_sid: The SID of the resource that triggered the event.
    :ivar actor_type: The type of resource that triggered the event.
    :ivar actor_url: The absolute URL of the resource that triggered the event.
    :ivar description: A description of the event.
    :ivar event_data: Data about the event. For more information, see [Event types](https://www.twilio.com/docs/taskrouter/api/event#event-types).
    :ivar event_date: The time the event was sent, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    :ivar event_date_ms: The time the event was sent in milliseconds.
    :ivar event_type: The identifier for the event.
    :ivar resource_sid: The SID of the object the event is most relevant to, such as a TaskSid, ReservationSid, or a  WorkerSid.
    :ivar resource_type: The type of object the event is most relevant to, such as a Task, Reservation, or a Worker).
    :ivar resource_url: The URL of the resource the event is most relevant to.
    :ivar sid: The unique string that we created to identify the Event resource.
    :ivar source: Where the Event originated.
    :ivar source_ip_address: The IP from which the Event originated.
    :ivar url: The absolute URL of the Event resource.
    :ivar workspace_sid: The SID of the Workspace that contains the Event.
    ÚversionÚpayloadÚworkspace_sidÚsidc                 ót  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _        |j                  d«      | _        |j                  d	«      | _        |j                  d
«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        ||xs | j"                  dœ| _        d | _        y )NÚaccount_sidÚ	actor_sidÚ
actor_typeÚ	actor_urlÚdescriptionÚ
event_dataÚ
event_dateÚevent_date_msÚ
event_typeÚresource_sidÚresource_typeÚresource_urlr   ÚsourceÚsource_ip_addressÚurlr   ©r   r   )ÚsuperÚ__init__Úgetr   r   r   r   r   r   r   Úiso8601_datetimer    r!   r"   r#   r$   r%   r   r&   r'   r(   r   Ú	_solutionÚ_context)Úselfr   r   r   r   Ú	__class__s        €úg/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/taskrouter/v1/workspace/event.pyr+   zEventInstance.__init__.   s]  ø€ ô 	‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔØ(/¯©°KÓ(@ˆŒØ)0¯©°\Ó)BˆŒØ(/¯©°KÓ(@ˆŒØ*1¯+©+°mÓ*DˆÔØ7>·{±{À<Ó7PˆŒÜ.9×.JÑ.JØ�K‰K˜Ó%ó/
ˆŒð -4¯K©K¸Ó,HˆÔØ)0¯©°\Ó)BˆŒØ+2¯;©;°~Ó+FˆÔØ,3¯K©K¸Ó,HˆÔØ+2¯;©;°~Ó+FˆÔØ")§+¡+¨eÓ"4ˆŒØ%,§[¡[°Ó%:ˆŒØ07·±Ð<OÓ0PˆÔØ")§+¡+¨eÓ"4ˆŒØ,3¯K©K¸Ó,HˆÔð +Ø’?˜$Ÿ(™(ñ
ˆŒð 15ˆ�ó    Ú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: EventContext for this EventInstance
        r   r   r)   )r/   ÚEventContextÚ_versionr.   ©r0   s    r2   Ú_proxyzEventInstance._proxyQ   sE   € ð �=‰=Ð Ü(Ø—‘Ø"Ÿn™n¨_Ñ=Ø—N‘N 5Ñ)ôˆDŒMð
 �}‰}Ðr3   c                 ó6   — | j                   j                  «       S )úW
        Fetch the EventInstance


        :returns: The fetched EventInstance
        )r9   Úfetchr8   s    r2   r<   zEventInstance.fetcha   s   € ð �{‰{× Ñ Ó"Ð"r3   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)úq
        Asynchronous coroutine to fetch the EventInstance


        :returns: The fetched EventInstance
        N)r9   Úfetch_asyncr8   s    r2   r?   zEventInstance.fetch_asyncj   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.ú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      r2   ú	<genexpr>z)EventInstance.__repr__.<locals>.<genexpr>y   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z'<Twilio.Taskrouter.V1.EventInstance {}>©Újoinr.   ÚitemsrF   ©r0   Úcontexts     r2   Ú__repr__zEventInstance.__repr__s   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ8×?Ñ?ÀÓHÐHr3   )N)r4   r6   )r4   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r+   Úpropertyr9   r<   r?   rS   Ú__classcell__©r1   s   @r2   r   r      sq   ø„ ñð2 "ñ!5àð!5ð �c˜3�h‘ð!5ð ð	!5ð
 �c‰]õ!5ðF òó ðó#ó/ðI˜#÷ Ir3   r   c                   óP   ‡ — 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	ˆ xZ
S )	r6   r   r   r   c                 óz   •— t         ‰| �  |«       ||dœ| _         dj                  di | j                  ¤Ž| _        y)zõ
        Initialize the EventContext

        :param version: Version that contains the resource
        :param workspace_sid: The SID of the Workspace with the Event to fetch.
        :param sid: The SID of the Event resource to fetch.
        r)   z(/Workspaces/{workspace_sid}/Events/{sid}N© ©r*   r+   r.   rF   Ú_uri)r0   r   r   r   r1   s       €r2   r+   zEventContext.__init__   sB   ø€ ô 	‰Ñ˜Ô!ð +Øñ
ˆŒð FÐ>×EÑEÑWÈÏÉÑWˆ�	r3   r4   c                 óì   — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  || j                  d   | j                  d   ¬«      S )r;   úapplication/jsonÚAcceptÚGET©ÚmethodÚuriÚheadersr   r   r)   )r   Úofr7   r<   r`   r   r.   ©r0   rh   r   s      r2   r<   zEventContext.fetch�   si   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆäØ�M‰MØØŸ.™.¨Ñ9Ø—‘˜uÑ%ô	
ð 	
r3   c              ƒ   ó  K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   | j                  d   ¬«      S 7 Œ7­w)	r>   rb   rc   rd   re   Nr   r   r)   )r   ri   r7   r?   r`   r   r.   rj   s      r2   r?   zEventContext.fetch_async¥   s~   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô Ø�M‰MØØŸ.™.¨Ñ9Ø—‘˜uÑ%ô	
ð 	
ð	
ús   ‚ABÁB Á	8Bc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )rA   rB   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wrD   rE   rG   s      r2   rK   z(EventContext.__repr__.<locals>.<genexpr>Â   rL   rM   z&<Twilio.Taskrouter.V1.EventContext {}>rN   rQ   s     r2   rS   zEventContext.__repr__¼   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ7×>Ñ>¸wÓGÐGr3   )rT   rU   rV   r   rX   r+   r   r<   r?   rS   rZ   r[   s   @r2   r6   r6   }   sG   ø„ ðX ð X¸ð XÀ#õ Xð"
�}ó 
ð*
 =ó 
ð.H˜#÷ Hr3   r6   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)Ú	EventPager   r4   c                 óL   — t        | j                  || j                  d   ¬«      S )zk
        Build an instance of EventInstance

        :param payload: Payload response from the API
        r   )r   )r   r7   r.   )r0   r   s     r2   Úget_instancezEventPage.get_instanceÈ   s%   € ô Ø�M‰M˜7°$·.±.ÀÑ2Qô
ð 	
r3   c                  ó   — y)rA   z <Twilio.Taskrouter.V1.EventPage>r^   r8   s    r2   rS   zEventPage.__repr__Ò   ó   € ð 2r3   N)	rT   rU   rV   r   rX   r   r   rq   rS   r^   r3   r2   ro   ro   Æ   s)   „ ð
 D¨¨c¨¡Nð 
°}ó 
ð2˜#ô 2r3   ro   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                  ej                  ej                  ej                  ej                  ej                  ddfdee	e
f   deee
f   deee
f   deee
f   d	ee	e
f   d
eee
f   deee
f   deee
f   deee
f   deee
f   deee
f   dee   dee   dee   fd„Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ddfdee	e
f   deee
f   deee
f   deee
f   d	ee	e
f   d
eee
f   deee
f   deee
f   deee
f   deee
f   deee
f   dee   dee   dee   fd„Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ddfdee	e
f   deee
f   deee
f   deee
f   d	ee	e
f   d
eee
f   deee
f   deee
f   deee
f   deee
f   deee
f   dee   dee   dee   fd„Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ddfdee	e
f   deee
f   deee
f   deee
f   d	ee	e
f   d
eee
f   deee
f   deee
f   deee
f   deee
f   deee
f   dee   dee   dee   fd„Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  fdee	e
f   deee
f   deee
f   deee
f   d	ee	e
f   d
eee
f   deee
f   deee
f   deee
f   deee
f   deee
f   deee
f   deee
f   deee
f   defd„Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  fdee	e
f   deee
f   deee
f   deee
f   d	ee	e
f   d
eee
f   deee
f   deee
f   deee
f   deee
f   deee
f   deee
f   deee
f   deee
f   de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 )!Ú	EventListr   r   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)zø
        Initialize the EventList

        :param version: Version that contains the resource
        :param workspace_sid: The SID of the Workspace with the Events to read. Returns only the Events that pertain to the specified Workspace.

        r   z"/Workspaces/{workspace_sid}/EventsNr^   r_   )r0   r   r   r1   s      €r2   r+   zEventList.__init__Ý   sA   ø€ ô 	‰Ñ˜Ô!ð ˜]ð
ˆŒð @Ð8×?Ñ?ÑQÀ$Ç.Á.ÑQˆ�	r3   NÚend_dater"   ÚminutesÚreservation_sidÚ
start_dateÚtask_queue_sidÚtask_sidÚ
worker_sidÚworkflow_sidÚtask_channelr   ÚlimitÚ	page_sizer4   c                 ó¸   — | j                   j                  ||«      }| j                  |||||||||	|
||d   ¬«      }| j                   j                  ||d   «      S )aë	  
        Streams EventInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param datetime end_date: Only include Events that occurred on or before this date, specified in GMT as an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time.
        :param str event_type: The type of Events to read. Returns only Events of the type specified.
        :param int minutes: The period of events to read in minutes. Returns only Events that occurred since this many minutes in the past. The default is `15` minutes. Task Attributes for Events occuring more 43,200 minutes ago will be redacted.
        :param str reservation_sid: The SID of the Reservation with the Events to read. Returns only Events that pertain to the specified Reservation.
        :param datetime start_date: Only include Events from on or after this date and time, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Task Attributes for Events older than 30 days will be redacted.
        :param str task_queue_sid: The SID of the TaskQueue with the Events to read. Returns only the Events that pertain to the specified TaskQueue.
        :param str task_sid: The SID of the Task with the Events to read. Returns only the Events that pertain to the specified Task.
        :param str worker_sid: The SID of the Worker with the Events to read. Returns only the Events that pertain to the specified Worker.
        :param str workflow_sid: The SID of the Workflow with the Events to read. Returns only the Events that pertain to the specified Workflow.
        :param str task_channel: The TaskChannel with the Events to read. Returns only the Events that pertain to the specified TaskChannel.
        :param str sid: The SID of the Event resource to read.
        :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�   ©rw   r"   rx   ry   rz   r{   r|   r}   r~   r   r   r�   r€   )r7   Úread_limitsÚpageÚstream©r0   rw   r"   rx   ry   rz   r{   r|   r}   r~   r   r   r€   r�   Úlimitsr…   s                   r2   r†   zEventList.streamí   st   € ðT —‘×*Ñ*¨5°)Ó<ˆØ�y‰yØØ!ØØ+Ø!Ø)ØØ!Ø%Ø%ØØ˜[Ñ)ð ó 
ˆð �}‰}×#Ñ# D¨&°©/Ó:Ð:r3   c              ƒ   óÔ   K  — | j                   j                  ||«      }| j                  |||||||||	|
||d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)aú	  
        Asynchronously streams EventInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param datetime end_date: Only include Events that occurred on or before this date, specified in GMT as an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time.
        :param str event_type: The type of Events to read. Returns only Events of the type specified.
        :param int minutes: The period of events to read in minutes. Returns only Events that occurred since this many minutes in the past. The default is `15` minutes. Task Attributes for Events occuring more 43,200 minutes ago will be redacted.
        :param str reservation_sid: The SID of the Reservation with the Events to read. Returns only Events that pertain to the specified Reservation.
        :param datetime start_date: Only include Events from on or after this date and time, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Task Attributes for Events older than 30 days will be redacted.
        :param str task_queue_sid: The SID of the TaskQueue with the Events to read. Returns only the Events that pertain to the specified TaskQueue.
        :param str task_sid: The SID of the Task with the Events to read. Returns only the Events that pertain to the specified Task.
        :param str worker_sid: The SID of the Worker with the Events to read. Returns only the Events that pertain to the specified Worker.
        :param str workflow_sid: The SID of the Workflow with the Events to read. Returns only the Events that pertain to the specified Workflow.
        :param str task_channel: The TaskChannel with the Events to read. Returns only the Events that pertain to the specified TaskChannel.
        :param str sid: The SID of the Event resource to read.
        :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€   )r7   r„   Ú
page_asyncÚstream_asyncr‡   s                   r2   r‹   zEventList.stream_async)  s‚   è ø€ ðT —‘×*Ñ*¨5°)Ó<ˆØ—_‘_ØØ!ØØ+Ø!Ø)ØØ!Ø%Ø%ØØ˜[Ñ)ð %ó 
÷ 
ˆð �}‰}×)Ñ)¨$°°w±Ó@Ð@ð
ús   ‚A A(ÁA&Á$A(c                 óP   — t        | j                  |||||||||	|
|||¬«      «      S )aˆ	  
        Lists EventInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param datetime end_date: Only include Events that occurred on or before this date, specified in GMT as an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time.
        :param str event_type: The type of Events to read. Returns only Events of the type specified.
        :param int minutes: The period of events to read in minutes. Returns only Events that occurred since this many minutes in the past. The default is `15` minutes. Task Attributes for Events occuring more 43,200 minutes ago will be redacted.
        :param str reservation_sid: The SID of the Reservation with the Events to read. Returns only Events that pertain to the specified Reservation.
        :param datetime start_date: Only include Events from on or after this date and time, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Task Attributes for Events older than 30 days will be redacted.
        :param str task_queue_sid: The SID of the TaskQueue with the Events to read. Returns only the Events that pertain to the specified TaskQueue.
        :param str task_sid: The SID of the Task with the Events to read. Returns only the Events that pertain to the specified Task.
        :param str worker_sid: The SID of the Worker with the Events to read. Returns only the Events that pertain to the specified Worker.
        :param str workflow_sid: The SID of the Workflow with the Events to read. Returns only the Events that pertain to the specified Workflow.
        :param str task_channel: The TaskChannel with the Events to read. Returns only the Events that pertain to the specified TaskChannel.
        :param str sid: The SID of the Event resource to read.
        :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
        ©rw   r"   rx   ry   rz   r{   r|   r}   r~   r   r   r€   r�   )Úlistr†   )r0   rw   r"   rx   ry   rz   r{   r|   r}   r~   r   r   r€   r�   s                 r2   rŽ   zEventList.liste  sJ   € ôR Ø�K‰KØ!Ø%ØØ /Ø%Ø-Ø!Ø%Ø)Ø)ØØØ#ð ó ó
ð 	
r3   c              ƒ   ó�   K  — | j                  |||||||||	|
|||¬«      ƒ d{  –—† 2 �cg c3 d{  –—† }|‘Œ7 Œ7 Œ	6 c}S c c}w ­w)a—	  
        Asynchronously lists EventInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param datetime end_date: Only include Events that occurred on or before this date, specified in GMT as an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time.
        :param str event_type: The type of Events to read. Returns only Events of the type specified.
        :param int minutes: The period of events to read in minutes. Returns only Events that occurred since this many minutes in the past. The default is `15` minutes. Task Attributes for Events occuring more 43,200 minutes ago will be redacted.
        :param str reservation_sid: The SID of the Reservation with the Events to read. Returns only Events that pertain to the specified Reservation.
        :param datetime start_date: Only include Events from on or after this date and time, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Task Attributes for Events older than 30 days will be redacted.
        :param str task_queue_sid: The SID of the TaskQueue with the Events to read. Returns only the Events that pertain to the specified TaskQueue.
        :param str task_sid: The SID of the Task with the Events to read. Returns only the Events that pertain to the specified Task.
        :param str worker_sid: The SID of the Worker with the Events to read. Returns only the Events that pertain to the specified Worker.
        :param str workflow_sid: The SID of the Workflow with the Events to read. Returns only the Events that pertain to the specified Workflow.
        :param str task_channel: The TaskChannel with the Events to read. Returns only the Events that pertain to the specified TaskChannel.
        :param str sid: The SID of the Event resource to read.
        :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‹   )r0   rw   r"   rx   ry   rz   r{   r|   r}   r~   r   r   r€   r�   Úrecords                  r2   Ú
list_asynczEventList.list_async   sv   è ø€ ðV '+×&7Ñ&7Ø!Ø%ØØ /Ø%Ø-Ø!Ø%Ø)Ø)ØØØ#ð '8ó '÷ !÷
ô 
àò ð!øð
øò 
ð 	
ùò 
ùs7   ‚"A¤9¥A«A­=±;
²=µA¹A»=½A¾AÚ
page_tokenÚpage_numberc                 ób  — t        j                  t        j                  |«      |||t        j                  |«      ||||	|
||||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  «      S )aÉ  
        Retrieve a single page of EventInstance records from the API.
        Request is executed immediately

        :param end_date: Only include Events that occurred on or before this date, specified in GMT as an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time.
        :param event_type: The type of Events to read. Returns only Events of the type specified.
        :param minutes: The period of events to read in minutes. Returns only Events that occurred since this many minutes in the past. The default is `15` minutes. Task Attributes for Events occuring more 43,200 minutes ago will be redacted.
        :param reservation_sid: The SID of the Reservation with the Events to read. Returns only Events that pertain to the specified Reservation.
        :param start_date: Only include Events from on or after this date and time, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Task Attributes for Events older than 30 days will be redacted.
        :param task_queue_sid: The SID of the TaskQueue with the Events to read. Returns only the Events that pertain to the specified TaskQueue.
        :param task_sid: The SID of the Task with the Events to read. Returns only the Events that pertain to the specified Task.
        :param worker_sid: The SID of the Worker with the Events to read. Returns only the Events that pertain to the specified Worker.
        :param workflow_sid: The SID of the Workflow with the Events to read. Returns only the Events that pertain to the specified Workflow.
        :param task_channel: The TaskChannel with the Events to read. Returns only the Events that pertain to the specified TaskChannel.
        :param sid: The SID of the Event resource to read.
        :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 EventInstance
        ©ÚEndDateÚ	EventTypeÚMinutesÚReservationSidÚ	StartDateÚTaskQueueSidÚTaskSidÚ	WorkerSidÚWorkflowSidÚTaskChannelÚSidÚ	PageTokenr   ÚPageSizeúContent-Typeú!application/x-www-form-urlencodedrb   rc   rd   ©rf   rg   Úparamsrh   )	r   ri   r   r-   r7   r…   r`   ro   r.   ©r0   rw   r"   rx   ry   rz   r{   r|   r}   r~   r   r   r’   r“   r�   Údatarh   Úresponses                     r2   r…   zEventList.pageÜ  s·   € ôL �y‰yä$×5Ñ5°hÓ?Ø'Ø"Ø"1Ü&×7Ñ7¸
ÓCØ .Ø#Ø'Ø+Ø+ØØ'Ø#Ø%ñó
ˆô& —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô ˜Ÿ™¨°$·.±.ÓAÐAr3   c              ƒ   ó~  K  — t        j                  t        j                  |«      |||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 EventInstance records from the API.
        Request is executed immediately

        :param end_date: Only include Events that occurred on or before this date, specified in GMT as an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time.
        :param event_type: The type of Events to read. Returns only Events of the type specified.
        :param minutes: The period of events to read in minutes. Returns only Events that occurred since this many minutes in the past. The default is `15` minutes. Task Attributes for Events occuring more 43,200 minutes ago will be redacted.
        :param reservation_sid: The SID of the Reservation with the Events to read. Returns only Events that pertain to the specified Reservation.
        :param start_date: Only include Events from on or after this date and time, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Task Attributes for Events older than 30 days will be redacted.
        :param task_queue_sid: The SID of the TaskQueue with the Events to read. Returns only the Events that pertain to the specified TaskQueue.
        :param task_sid: The SID of the Task with the Events to read. Returns only the Events that pertain to the specified Task.
        :param worker_sid: The SID of the Worker with the Events to read. Returns only the Events that pertain to the specified Worker.
        :param workflow_sid: The SID of the Workflow with the Events to read. Returns only the Events that pertain to the specified Workflow.
        :param task_channel: The TaskChannel with the Events to read. Returns only the Events that pertain to the specified TaskChannel.
        :param sid: The SID of the Event resource to read.
        :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 EventInstance
        r•   r£   r¤   rb   rc   rd   r¥   N)	r   ri   r   r-   r7   rŠ   r`   ro   r.   r§   s                     r2   rŠ   zEventList.page_async  sÅ   è ø€ ôL �y‰yä$×5Ñ5°hÓ?Ø'Ø"Ø"1Ü&×7Ñ7¸
ÓCØ .Ø#Ø'Ø+Ø+ØØ'Ø#Ø%ñó
ˆô& —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô ˜Ÿ™¨°$·.±.ÓAÐAð
ús   ‚BB=ÂB;Â&B=Ú
target_urlc                 ó¤   — | j                   j                  j                  j                  d|«      }t	        | j                   || j
                  «      S )zï
        Retrieve a specific page of EventInstance records from the API.
        Request is executed immediately

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

        :returns: Page of EventInstance
        rd   )r7   ÚdomainÚtwilioÚrequestro   r.   ©r0   r«   r©   s      r2   Úget_pagezEventList.get_page`  s=   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ˜Ÿ™¨°$·.±.ÓAÐAr3   c              ƒ   óÀ   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   || j
                  «      S 7 Œ%­w)zþ
        Asynchronously retrieve a specific page of EventInstance records from the API.
        Request is executed immediately

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

        :returns: Page of EventInstance
        rd   N)r7   r­   r®   Úrequest_asyncro   r.   r°   s      r2   Úget_page_asynczEventList.get_page_asyncl  sJ   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ˜Ÿ™¨°$·.±.ÓAÐAð Vús   ‚4A¶A·&Ac                 óL   — t        | j                  | j                  d   |¬«      S ©zh
        Constructs a EventContext

        :param sid: The SID of the Event resource to fetch.
        r   r)   ©r6   r7   r.   ©r0   r   s     r2   r,   zEventList.getx  ó%   € ô Ø�M‰M¨¯©¸Ñ)HÈcô
ð 	
r3   c                 óL   — t        | j                  | j                  d   |¬«      S r¶   r·   r¸   s     r2   Ú__call__zEventList.__call__‚  r¹   r3   c                  ó   — y)rA   z <Twilio.Taskrouter.V1.EventList>r^   r8   s    r2   rS   zEventList.__repr__Œ  rs   r3   )rT   rU   rV   r   rX   r+   r   Úunsetr   r   ÚobjectÚintr   r	   r   r†   r
   r‹   r   rŽ   r‘   ro   r…   rŠ   r±   r´   r6   r,   r»   rS   rZ   r[   s   @r2   ru   ru   Û   s	  ø„ ðR ð R¸õ Rð$ -3¯L©LØ)/¯©Ø&,§l¡lØ.4¯l©lØ.4¯l©lØ-3¯\©\Ø'-§|¡|Ø)/¯©Ø+1¯<©<Ø+1¯<©<Ø"(§,¡,Ø#Ø#'ñ:;à˜ &Ð(Ñ)ð:;ð ˜#˜v˜+Ñ&ð:;ð �s˜F�{Ñ#ð	:;ð
 ˜s F˜{Ñ+ð:;ð ˜( FÐ*Ñ+ð:;ð ˜c 6˜kÑ*ð:;ð ˜˜V˜Ñ$ð:;ð ˜#˜v˜+Ñ&ð:;ð ˜C ˜KÑ(ð:;ð ˜C ˜KÑ(ð:;ð �3˜�;Ñð:;ð ˜‰}ð:;ð ˜C‘=ð:;ð 
�-Ñ	 ó:;ð| -3¯L©LØ)/¯©Ø&,§l¡lØ.4¯l©lØ.4¯l©lØ-3¯\©\Ø'-§|¡|Ø)/¯©Ø+1¯<©<Ø+1¯<©<Ø"(§,¡,Ø#Ø#'ñ:Aà˜ &Ð(Ñ)ð:Að ˜#˜v˜+Ñ&ð:Að �s˜F�{Ñ#ð	:Að
 ˜s F˜{Ñ+ð:Að ˜( FÐ*Ñ+ð:Að ˜c 6˜kÑ*ð:Að ˜˜V˜Ñ$ð:Að ˜#˜v˜+Ñ&ð:Að ˜C ˜KÑ(ð:Að ˜C ˜KÑ(ð:Að �3˜�;Ñð:Að ˜‰}ð:Að ˜C‘=ð:Að 
�}Ñ	%ó:Að| -3¯L©LØ)/¯©Ø&,§l¡lØ.4¯l©lØ.4¯l©lØ-3¯\©\Ø'-§|¡|Ø)/¯©Ø+1¯<©<Ø+1¯<©<Ø"(§,¡,Ø#Ø#'ñ9
à˜ &Ð(Ñ)ð9
ð ˜#˜v˜+Ñ&ð9
ð �s˜F�{Ñ#ð	9
ð
 ˜s F˜{Ñ+ð9
ð ˜( FÐ*Ñ+ð9
ð ˜c 6˜kÑ*ð9
ð ˜˜V˜Ñ$ð9
ð ˜#˜v˜+Ñ&ð9
ð ˜C ˜KÑ(ð9
ð ˜C ˜KÑ(ð9
ð �3˜�;Ñð9
ð ˜‰}ð9
ð ˜C‘=ð9
ð 
ˆmÑ	ó9
ðz -3¯L©LØ)/¯©Ø&,§l¡lØ.4¯l©lØ.4¯l©lØ-3¯\©\Ø'-§|¡|Ø)/¯©Ø+1¯<©<Ø+1¯<©<Ø"(§,¡,Ø#Ø#'ñ:
à˜ &Ð(Ñ)ð:
ð ˜#˜v˜+Ñ&ð:
ð �s˜F�{Ñ#ð	:
ð
 ˜s F˜{Ñ+ð:
ð ˜( FÐ*Ñ+ð:
ð ˜c 6˜kÑ*ð:
ð ˜˜V˜Ñ$ð:
ð ˜#˜v˜+Ñ&ð:
ð ˜C ˜KÑ(ð:
ð ˜C ˜KÑ(ð:
ð �3˜�;Ñð:
ð ˜‰}ð:
ð ˜C‘=ð:
ð 
ˆmÑ	ó:
ð| -3¯L©LØ)/¯©Ø&,§l¡lØ.4¯l©lØ.4¯l©lØ-3¯\©\Ø'-§|¡|Ø)/¯©Ø+1¯<©<Ø+1¯<©<Ø"(§,¡,Ø)/¯©Ø*0¯,©,Ø(.¯©ñ@Bà˜ &Ð(Ñ)ð@Bð ˜#˜v˜+Ñ&ð@Bð �s˜F�{Ñ#ð	@Bð
 ˜s F˜{Ñ+ð@Bð ˜( FÐ*Ñ+ð@Bð ˜c 6˜kÑ*ð@Bð ˜˜V˜Ñ$ð@Bð ˜#˜v˜+Ñ&ð@Bð ˜C ˜KÑ(ð@Bð ˜C ˜KÑ(ð@Bð �3˜�;Ñð@Bð ˜#˜v˜+Ñ&ð@Bð ˜3 ˜;Ñ'ð@Bð ˜˜f˜Ñ%ð@Bð  
ó!@BðH -3¯L©LØ)/¯©Ø&,§l¡lØ.4¯l©lØ.4¯l©lØ-3¯\©\Ø'-§|¡|Ø)/¯©Ø+1¯<©<Ø+1¯<©<Ø"(§,¡,Ø)/¯©Ø*0¯,©,Ø(.¯©ñ@Bà˜ &Ð(Ñ)ð@Bð ˜#˜v˜+Ñ&ð@Bð �s˜F�{Ñ#ð	@Bð
 ˜s F˜{Ñ+ð@Bð ˜( FÐ*Ñ+ð@Bð ˜c 6˜kÑ*ð@Bð ˜˜V˜Ñ$ð@Bð ˜#˜v˜+Ñ&ð@Bð ˜C ˜KÑ(ð@Bð ˜C ˜KÑ(ð@Bð �3˜�;Ñð@Bð ˜#˜v˜+Ñ&ð@Bð ˜3 ˜;Ñ'ð@Bð ˜˜f˜Ñ%ð@Bð  
ó!@BðD
B 3ð 
B¨9ó 
Bð
B¨sð 
B°yó 
Bð
�sð 
˜|ó 
ð
˜Cð 
 Ló 
ð2˜#÷ 2r3   ru   N)rW   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   r6   ro   ru   r^   r3   r2   ú<module>rÇ      sj   ðñõ ß L× LÑ Lß 6Ñ 6Ý 8Ý :Ý 2Ý 'Ý !ôaIÐ$ô aIôHFH�?ô FHôR2�ô 2ô*w2�õ w2r3   