
    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 - 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            
          ^  \ rS rSrSr SS\S\\\4   S\S\	\   4U 4S jjjr
\SS	 j5       rSS
 jrSS jrS\4S jrSrU =r$ )EventInstance   a^  
: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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        [        R                  " UR                  S5      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        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U=(       d    U R"                  S.U l        S U l        g )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        q/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/taskrouter/v1/workspace/event.pyr,   EventInstance.__init__.   s]    	!*1++m*D(/K(@)0\)B(/K(@*1++m*D7>{{<7P.9.J.JKK%/
 -4KK,H)0\)B+2;;~+F,3KK,H+2;;~+F")++e"4%,[[%:07<O0P")++e"4,3KK,H +?$((
 15    returnc                     U R                   c4  [        U R                  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: EventContext for this EventInstance
r   r   r*   )r0   EventContext_versionr/   r1   s    r3   _proxyEventInstance._proxyQ   sE     == ("nn_=NN5)DM
 }}r5   c                 6    U R                   R                  5       $ )?
Fetch the EventInstance


:returns: The fetched EventInstance
)r;   fetchr:   s    r3   r?   EventInstance.fetcha   s     {{  ""r5   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)Y
Asynchronous coroutine to fetch the EventInstance


:returns: The fetched EventInstance
N)r;   fetch_asyncr:   s    r3   rC   EventInstance.fetch_asyncj   s       [[,,....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      r3   	<genexpr>)EventInstance.__repr__.<locals>.<genexpr>y         S<RDA7>>!//<R    "z'<Twilio.Taskrouter.V1.EventInstance {}>joinr/   itemsrK   r1   contexts     r3   __repr__EventInstance.__repr__s   s6     ((SDNN<P<P<RSS8??HHr5   )r0   r/   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r   r'   r(   r)   r   )N)r6   r8   )r6   r   )__name__
__module____qualname____firstlineno____doc__r   r   strr   r   r,   propertyr;   r?   rC   rY   __static_attributes____classcell__r2   s   @r3   r   r      s|    2 "!5!5 c3h!5 	!5
 c]!5 !5F  #/I# I Ir5   r   c                   b   ^  \ rS rSr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
rU =r$ )r8   }   r   r   r   c                 z   > [         TU ]  U5        UUS.U l        SR                  " S0 U R                  D6U l        g)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/   rK   _uri)r1   r   r   r   r2   s       r3   r,   EventContext.__init__   s>     	! +
 ?EEWW	r5   r6   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   S9$ )r>   application/jsonAcceptGETmethoduriheadersr   r   r*   )r   ofr9   r?   rj   r   r/   r1   rs   r   s      r3   r?   EventContext.fetch   si     ))B-.--%%U		7%SMM..9u%	
 	
r5   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   S9$  N47f)	rB   rm   rn   ro   rp   Nr   r   r*   )r   rt   r9   rC   rj   r   r/   ru   s      r3   rC   EventContext.fetch_async   s}      ))B-.11dii 2 
 
 MM..9u%	
 	
	
s   AA=A;5A=c                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )rF   rG   c              3   H   #    U  H  u  pS R                  X5      v   M     g7frI   rJ   rL   s      r3   rP   (EventContext.__repr__.<locals>.<genexpr>   rR   rS   z&<Twilio.Taskrouter.V1.EventContext {}>rT   rW   s     r3   rY   EventContext.__repr__   s6     ((SDNN<P<P<RSS7>>wGGr5   r/   rj   )r[   r\   r]   r^   r   r`   r,   r   r?   rC   rY   rb   rc   rd   s   @r3   r8   r8   }   sM    X X X# X"
} 
*
= 
.H# H Hr5   r8   c                   >    \ rS rSrS\\\4   S\4S jrS\4S jr	Sr
g)	EventPage   r   r6   c                 D    [        U R                  XR                  S   S9$ )zS
Build an instance of EventInstance

:param payload: Payload response from the API
r   )r   )r   r9   r/   )r1   r   s     r3   get_instanceEventPage.get_instance   s#     MM7..2Q
 	
r5   c                     g)rF   z <Twilio.Taskrouter.V1.EventPage>rh   r:   s    r3   rY   EventPage.__repr__        2r5   rh   N)r[   r\   r]   r^   r   r`   r   r   r   rY   rb   rh   r5   r3   r   r      s)    
DcN 
} 
2# 2r5   r   c                     ^  \ rS rSrS\S\4U 4S jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  SS4S\	\
\4   S\	\\4   S\	\\4   S	\	\\4   S
\	\
\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\\   S\\   S\\   4S jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  SS4S\	\
\4   S\	\\4   S\	\\4   S	\	\\4   S
\	\
\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\\   S\\   S\\   4S jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  SS4S\	\
\4   S\	\\4   S\	\\4   S	\	\\4   S
\	\
\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\\   S\\   S\\   4S jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  SS4S\	\
\4   S\	\\4   S\	\\4   S	\	\\4   S
\	\
\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\\   S\\   S\\   4S jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  4S\	\
\4   S\	\\4   S\	\\4   S	\	\\4   S
\	\
\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\4S jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  4S\	\
\4   S\	\\4   S\	\\4   S	\	\\4   S
\	\
\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\4   S\	\\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 $ )#	EventList   r   r   c                 x   > [         TU ]  U5        SU0U l        SR                  " S0 U R                  D6U l        g)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}/EventsNrh   ri   )r1   r   r   r2   s      r3   r,   EventList.__init__   s=     	! ]
 9??Q$..Q	r5   Nend_dater#   minutesreservation_sid
start_datetask_queue_sidtask_sid
worker_sidworkflow_sidtask_channelr   limit	page_sizer6   c                     U R                   R                  X5      nU R                  UUUUUUUUU	U
UUS   S9nU R                   R                  XS   5      $ )a3	  
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   r#   r   r   r   r   r   r   r   r   r   r   r   )r9   read_limitspagestreamr1   r   r#   r   r   r   r   r   r   r   r   r   r   r   limitsr   s                   r3   r   EventList.stream   sp    T **5<yy!+!)!%%[)  
 }}##D/::r5   c                    #    U R                   R                  X5      nU R                  UUUUUUUUU	U
UUS   S9I Sh  vN nU R                   R                  XS   5      $  N"7f)aB	  
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   )r9   r   
page_asyncstream_asyncr   s                   r3   r   EventList.stream_async)  s}     T **5<__!+!)!%%[) % 
 
 }}))$w@@
s   <A#A!#A#c                 J    [        U R                  UUUUUUUUU	U
UUUS95      $ )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
r   r#   r   r   r   r   r   r   r   r   r   r   r   )listr   )r1   r   r#   r   r   r   r   r   r   r   r   r   r   r   s                 r3   r   EventList.liste  sJ    R KK!% /%-!%))#  
 	
r5   c                    #    U R                  UUUUUUUUU	U
U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 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   )r1   r   r#   r   r   r   r   r   r   r   r   r   r   r   records                  r3   
list_asyncEventList.list_async  ss     V '+&7&7!% /%-!%))# '8 ' ! !
 
 !
 	
 
s4   A7A?;9
;?A;?A
page_tokenpage_numberc                 d   [         R                  " [        R                  " U5      UUU[        R                  " U5      UUUU	U
UUUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  UUS9n[        U R                  UU R                  5      $ )a9  
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-urlencodedrm   rn   ro   rq   rr   paramsrs   )	r   rt   r   r.   r9   r   rj   r   r/   r1   r   r#   r   r   r   r   r   r   r   r   r   r   r   r   datars   responses                     r3   r   EventList.page  s    L yy$55h?'""1&77
C .#'++'#%
& ))^-PQR.==%%diig & 
 $..AAr5   c                   #    [         R                  " [        R                  " U5      UUU[        R                  " U5      UUUU	U
UUUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  UUS9I Sh  vN n[        U R                  UU R                  5      $  N%7f)	aH  
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   rm   rn   ro   r   N)	r   rt   r   r.   r9   r   rj   r   r/   r   s                     r3   r   EventList.page_async  s     L yy$55h?'""1&77
C .#'++'#%
& ))^-PQR.11diig 2 
 
 $..AA
s   B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 EventInstance records from the API.
Request is executed immediately

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

:returns: Page of EventInstance
ro   )r9   domaintwiliorequestr   r/   r1   r   r   s      r3   get_pageEventList.get_page`  s;     ==''..66ujI..AAr5   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 EventInstance records from the API.
Request is executed immediately

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

:returns: Page of EventInstance
ro   N)r9   r   r   request_asyncr   r/   r   s      r3   get_page_asyncEventList.get_page_asyncl  sG      --44BB5*UU..AA Vs   4AA%Ac                 F    [        U R                  U R                  S   US9$ zP
Constructs a EventContext

:param sid: The SID of the Event resource to fetch.
r   r*   r8   r9   r/   r1   r   s     r3   r-   EventList.getx  %     MM)Hc
 	
r5   c                 F    [        U R                  U R                  S   US9$ r   r   r   s     r3   __call__EventList.__call__  r   r5   c                     g)rF   z <Twilio.Taskrouter.V1.EventList>rh   r:   s    r3   rY   EventList.__repr__  r   r5   r}   )!r[   r\   r]   r^   r   r`   r,   r   unsetr   r   objectintr   r	   r   r   r
   r   r   r   r   r   r   r   r   r   r8   r-   r   rY   rb   rc   rd   s   @r3   r   r      s#	   R R R$ -3LL)/&,ll.4ll.4ll-3\\'-||)/+1<<+1<<"(,,##':;&():; #v+&:; sF{#	:;
 sF{+:; (F*+:; c6k*:; V$:; #v+&:; CK(:; CK(:; 3;:; }:; C=:; 
-	 :;| -3LL)/&,ll.4ll.4ll-3\\'-||)/+1<<+1<<"(,,##':A&():A #v+&:A sF{#	:A
 sF{+:A (F*+:A c6k*:A V$:A #v+&:A CK(:A CK(:A 3;:A }:A C=:A 
}	%:A| -3LL)/&,ll.4ll.4ll-3\\'-||)/+1<<+1<<"(,,##'9
&()9
 #v+&9
 sF{#	9

 sF{+9
 (F*+9
 c6k*9
 V$9
 #v+&9
 CK(9
 CK(9
 3;9
 }9
 C=9
 
m	9
z -3LL)/&,ll.4ll.4ll-3\\'-||)/+1<<+1<<"(,,##':
&():
 #v+&:
 sF{#	:

 sF{+:
 (F*+:
 c6k*:
 V$:
 #v+&:
 CK(:
 CK(:
 3;:
 }:
 C=:
 
m	:
| -3LL)/&,ll.4ll.4ll-3\\'-||)/+1<<+1<<"(,,)/*0,,(.@B&()@B #v+&@B sF{#	@B
 sF{+@B (F*+@B c6k*@B V$@B #v+&@B CK(@B CK(@B 3;@B #v+&@B 3;'@B f%@B  
!@BH -3LL)/&,ll.4ll.4ll-3\\'-||)/+1<<+1<<"(,,)/*0,,(.@B&()@B #v+&@B sF{#	@B
 sF{+@B (F*+@B c6k*@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# 2 2r5   r   N)r_   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   r8   r   r   rh   r5   r3   <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2r5   