
    d{i                         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 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 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 - Insights
    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values)ApiResponse)InstanceContext)InstanceResource)ListResource)Version)Pagec            
       @    e Zd Z G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z		 	 dde
deeef   dedee   f fdZedd       Zej&                  ej&                  fdeeef   deeef   dd fdZej&                  ej&                  fdeeef   deeef   dd fdZej&                  ej&                  fdeeef   deeef   defdZej&                  ej&                  fdeeef   deeef   defdZdefdZ xZS )ConferenceParticipantInstancec                       e Zd ZdZdZy)+ConferenceParticipantInstance.CallDirectioninboundoutboundN)__name__
__module____qualname__INBOUNDOUTBOUND     w/home/sas/my/fyp/ringai/.venv/lib/python3.12/site-packages/twilio/rest/insights/v1/conference/conference_participant.pyCallDirectionr      s    r   r!   c                   (    e Zd ZdZdZdZdZdZdZdZ	y)	(ConferenceParticipantInstance.CallStatusanswered	completedbusyfailnoanswerringingcanceledN)
r   r   r   ANSWERED	COMPLETEDBUSYFAILNOANSWERRINGINGCANCELEDr   r   r    
CallStatusr#       s%    	r   r2   c                       e Zd ZdZdZdZy)&ConferenceParticipantInstance.CallTypecarrierclientsipN)r   r   r   CARRIERCLIENTSIPr   r   r    CallTyper4   )   s    r   r;   c                       e Zd ZdZdZdZdZy).ConferenceParticipantInstance.JitterBufferSizelargesmallmediumoffN)r   r   r   LARGESMALLMEDIUMOFFr   r   r    JitterBufferSizer=   .   s    r   rF   c                       e Zd ZdZdZdZy)-ConferenceParticipantInstance.ProcessingStatecompletein_progresstimeoutN)r   r   r   COMPLETEIN_PROGRESSTIMEOUTr   r   r    ProcessingStaterH   4   s    #r   rO   c                   0    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zy
)$ConferenceParticipantInstance.Regionus1us2au1br1ie1jp1sg1de1in1N)r   r   r   US1US2AU1BR1IE1JP1SG1DE1IN1r   r   r    RegionrQ   9   s/    r   rd   versionpayloadconference_sidparticipant_sidc                    t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _	        |j                  d      | _
        |j                  d	      | _        |j                  d
      | _        |j                  d      | _        t        j                  |j                  d            | _        t        j                  |j                  d            | _        t        j$                  |j                  d            | _        t        j$                  |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      | _        |j                  d      | _         ||xs | j                  d| _!        d | _"        y )Nrh   labelrg   call_sidaccount_sidcall_directionfromtocall_statuscountry_codeis_moderator	join_time
leave_timeduration_secondsoutbound_queue_lengthoutbound_time_in_queuejitter_buffer_sizeis_coachcoached_participantsparticipant_regionconference_region	call_typeprocessing_state
propertieseventsmetricsurlrg   rh   )#super__init__getrh   rj   rg   rk   rl   rm   _fromro   rp   rq   rr   r   iso8601_datetimers   rt   integerru   rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r   r   r   	_solution_context)selfre   rf   rg   rh   	__class__s        r    r   z&ConferenceParticipantInstance.__init__b   s|    	!.5kk:K.L$+KK$8
-4[[9I-J'.{{:'>*1++m*DKK() 	 %,KK$7
!(T!2KK& 	 ,3;;~+F,3KK,G-8-I-IKK$.
 /:.J.JKK%/
 0;/B/BKK*+0
 5@4G4GKK/05
" 6A5H5HKK016
#
 KK,- 	 )0J(?9@":
! KK,- 	 KK+, 	 KK$ 	
 KK*+ 	 8?{{<7P3:;;x3H4;KK	4J")++e"4 -.F$2F2F
 AEr   returnc                     | j                   7t        | j                  | j                  d   | j                  d         | _         | j                   S )a  
        Generate an instance context for the instance, the context is capable of
        performing various actions. All instance actions are proxied to the context

        :returns: ConferenceParticipantContext for this ConferenceParticipantInstance
        rg   rh   r   )r   ConferenceParticipantContext_versionr   r   s    r    _proxyz$ConferenceParticipantInstance._proxy   sG     == 8#~~.>? $/@ ADM
 }}r   r   r   c                 <    | j                   j                  ||      S )7  
        Fetch the ConferenceParticipantInstance

        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :param metrics: Object. Contains participant call quality metrics.

        :returns: The fetched ConferenceParticipantInstance
        r   r   )r   fetchr   r   r   s      r    r   z#ConferenceParticipantInstance.fetch   s&     {{   ! 
 	
r   c                 X   K   | j                   j                  ||       d{   S 7 w)Q  
        Asynchronous coroutine to fetch the ConferenceParticipantInstance

        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :param metrics: Object. Contains participant call quality metrics.

        :returns: The fetched ConferenceParticipantInstance
        r   N)r   fetch_asyncr   s      r    r   z)ConferenceParticipantInstance.fetch_async   s4      [[,, - 
 
 	
 
   !*(*c                 <    | j                   j                  ||      S )aP  
        Fetch the ConferenceParticipantInstance with HTTP info

        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :param metrics: Object. Contains participant call quality metrics.

        :returns: ApiResponse with instance, status code, and headers
        r   )r   fetch_with_http_infor   s      r    r   z2ConferenceParticipantInstance.fetch_with_http_info   s&     {{// 0 
 	
r   c                 X   K   | j                   j                  ||       d{   S 7 w)aj  
        Asynchronous coroutine to fetch the ConferenceParticipantInstance with HTTP info

        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :param metrics: Object. Contains participant call quality metrics.

        :returns: ApiResponse with instance, status code, and headers
        r   N)r   fetch_with_http_info_asyncr   s      r    r   z8ConferenceParticipantInstance.fetch_with_http_info_async   s4      [[;; < 
 
 	
 
r   c                     dj                  d | j                  j                         D              }dj                  |      S )f
        Provide a friendly representation

        :returns: Machine friendly representation
         c              3   F   K   | ]  \  }}d j                  ||        ywz{}={}Nformat.0kvs      r    	<genexpr>z9ConferenceParticipantInstance.__repr__.<locals>.<genexpr>       SDAq7>>!Q/S   !z5<Twilio.Insights.V1.ConferenceParticipantInstance {}>joinr   itemsr   r   contexts     r    __repr__z&ConferenceParticipantInstance.__repr__   s6     ((SDNN<P<P<RSSFMMgVVr   )N)r   r   )r   r   r   objectr!   r2   r;   rF   rO   rd   r   r   strr   r   r   propertyr   r   unsetr   r   r   r   r   r   r   __classcell__r   s   @r    r   r      s    V 6 
6 & 
	 	F *.CECE c3hCE 	CE
 "#CEJ  " &,\\&,ll
c6k"
 sF{#
 
)	
( &,\\&,ll
c6k"
 sF{#
 
)	
( &,\\&,ll
c6k"
 sF{#
 
	
( &,\\&,ll
c6k"
 sF{#
 
	
$W# Wr   r   c                   <    e Zd Zdededef fdZej                  ej                  fdeee	f   deee	f   de
fdZej                  ej                  fdeee	f   deee	f   defd	Zej                  ej                  fdeee	f   deee	f   defd
Zej                  ej                  fdeee	f   deee	f   de
fdZej                  ej                  fdeee	f   deee	f   defdZej                  ej                  fdeee	f   deee	f   defdZdefdZ xZS )r   re   rg   rh   c                 z    t         |   |       ||d| _         dj                  di | j                  | _        y)a  
        Initialize the ConferenceParticipantContext

        :param version: Version that contains the resource
        :param conference_sid: The unique SID identifier of the Conference.
        :param participant_sid: The unique SID identifier of the Participant.
        r   z</Conferences/{conference_sid}/Participants/{participant_sid}Nr   r   r   r   r   _uri)r   re   rg   rh   r   s       r    r   z%ConferenceParticipantContext.__init__  sJ     	! -.

 RJQQ .. 		r   r   r   r   c                     t        j                  ||d      }t        j                  i       }d|d<   | j                  j                  d| j                  ||      S )zz
        Internal helper for fetch operation

        Returns:
            tuple: (payload, status_code, headers)
        EventsMetricsapplication/jsonAcceptGETmethoduriparamsheaders)r   ofr   fetch_with_response_infor   r   r   r   r   r   s        r    _fetchz#ConferenceParticipantContext._fetch   s_      "
 ))B-.}}55dii 6 
 	
r   c                     | j                  ||      \  }}}t        | j                  || j                  d   | j                  d         S )r   r   rg   rh   r   )r   r   r   r   r   r   r   rf   _s        r    r   z"ConferenceParticipantContext.fetch;  sM     67CA,MM>>*:; NN+<=	
 	
r   c                     | j                  ||      \  }}}t        | j                  || j                  d   | j                  d         }t	        |||      S )a^  
        Fetch the ConferenceParticipantInstance and return response metadata

        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :param metrics: Object. Contains participant call quality metrics.

        :returns: ApiResponse with instance, status code, and headers
        r   rg   rh   r   datastatus_coder   )r   r   r   r   r   r   r   r   rf   r   r   instances          r    r   z1ConferenceParticipantContext.fetch_with_http_infoP  s\     )-67(S%g0MM>>*:; NN+<=	
 k7SSr   c                    K   t        j                  ||d      }t        j                  i       }d|d<   | j                  j                  d| j                  ||       d{   S 7 w)z
        Internal async helper for fetch operation

        Returns:
            tuple: (payload, status_code, headers)
        r   r   r   r   r   N)r   r   r   fetch_with_response_info_asyncr   r   s        r    _fetch_asyncz)ConferenceParticipantContext._fetch_asyncf  sn       "
 ))B-.]]AAdii B 
 
 	
 
s   AA(!A&"A(c                    K   | j                  ||       d{   \  }}}t        | j                  || j                  d   | j                  d         S 7 ;w)r   r   Nrg   rh   r   )r   r   r   r   r   s        r    r   z(ConferenceParticipantContext.fetch_async  s]      #//vw/OOA,MM>>*:; NN+<=	
 	
 Ps   AA<Ac                    K   | j                  ||       d{   \  }}}t        | j                  || j                  d   | j                  d         }t	        |||      S 7 Iw)ax  
        Asynchronous coroutine to fetch the ConferenceParticipantInstance and return response metadata

        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :param metrics: Object. Contains participant call quality metrics.

        :returns: ApiResponse with instance, status code, and headers
        r   Nrg   rh   r   r   )r   r   r   r   r   r   s          r    r   z7ConferenceParticipantContext.fetch_with_http_info_async  su      /3.?.?7 /@ /
 )
%g 1MM>>*:; NN+<=	
 k7SS)
s   A%A#A
A%c                     dj                  d | j                  j                         D              }dj                  |      S )r   r   c              3   F   K   | ]  \  }}d j                  ||        ywr   r   r   s      r    r   z8ConferenceParticipantContext.__repr__.<locals>.<genexpr>  r   r   z4<Twilio.Insights.V1.ConferenceParticipantContext {}>r   r   s     r    r   z%ConferenceParticipantContext.__repr__  s6     ((SDNN<P<P<RSSELLWUUr   )r   r   r   r   r   r   r   r   r   r   tupler   r   r   r   r   r   r   r   r   r   r   s   @r    r   r   	  s   
 
 
s 
. &,\\&,ll
c6k"
 sF{#
 
	
: &,\\&,ll
c6k"
 sF{#
 
'	
. &,\\&,llTc6k"T sF{#T 
	T0 &,\\&,ll
c6k"
 sF{#
 
	
: &,\\&,ll
c6k"
 sF{#
 
'	
. &,\\&,llTc6k"T sF{#T 
	T0V# Vr   r   c                   2    e Zd Zdeeef   defdZdefdZy)ConferenceParticipantPagerf   r   c                 L    t        | j                  || j                  d         S )z{
        Build an instance of ConferenceParticipantInstance

        :param payload: Payload response from the API
        rg   )rg   )r   r   r   )r   rf   s     r    get_instancez&ConferenceParticipantPage.get_instance  s&     -MM74>>BR3S
 	
r   c                      y)r   z.<Twilio.Insights.V1.ConferenceParticipantPage>r   r   s    r    r   z"ConferenceParticipantPage.__repr__       @r   N)	r   r   r   r   r   r   r   r   r   r   r   r    r   r     s,    
DcN 
7T 
@# @r   r   c                       e Zd Zdedef fdZ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   d	e
e   d
ee   fdZ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   d	e
e   d
ee   fdZ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   d	e
e   d
efdZ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   d	e
e   d
efdZ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   d	e
e   d
ee   fdZ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   d	e
e   d
ee   fdZ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   d	e
e   d
efdZ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   d	e
e   d
efdZ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fdZ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fdZ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fdZ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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 )ConferenceParticipantListre   rg   c                 x    t         |   |       d|i| _         dj                  di | j                  | _        y)z
        Initialize the ConferenceParticipantList

        :param version: Version that contains the resource
        :param conference_sid: The unique SID identifier of the Conference.

        rg   z*/Conferences/{conference_sid}/ParticipantsNr   r   )r   re   rg   r   s      r    r   z"ConferenceParticipantList.__init__  sF     	! n
 H@GG 
nn
	r   Nrh   rj   r   limit	page_sizer   c                     | j                   j                  ||      }| j                  ||||d         }| j                   j                  ||d         S )ax  
        Streams ConferenceParticipantInstance 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 str participant_sid: The unique SID identifier of the Participant.
        :param str label: User-specified label for a participant.
        :param str events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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   rh   rj   r   r   r   )r   read_limitspagestreamr   rh   rj   r   r   r   limitsr   s           r    r   z ConferenceParticipantList.stream  s[    4 **5)<yy+[)	  
 }}##D&/::r   c                    K   | j                   j                  ||      }| j                  ||||d          d{   }| j                   j                  ||d         S 7 #w)a  
        Asynchronously streams ConferenceParticipantInstance 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 str participant_sid: The unique SID identifier of the Participant.
        :param str label: User-specified label for a participant.
        :param str events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: Generator that will yield up to limit results
        r   r   Nr   )r   r   
page_asyncstream_asyncr   s           r    r   z&ConferenceParticipantList.stream_async  si     4 **5)<__+[)	 % 
 
 }}))$w@@
s   8A A$A c                     | j                   j                  ||      }| j                  ||||d         }| j                   j                  |j                  |d         }||j
                  |j                  fS )a  
        Streams ConferenceParticipantInstance and returns headers from first page


        :param str participant_sid: The unique SID identifier of the Participant.
        :param str label: User-specified label for a participant.
        :param str events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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: tuple of (generator, status_code, headers) where generator yields instances
        r   r   r   )r   r   page_with_http_infor   r   r   r   	r   rh   rj   r   r   r   r   page_response	generators	            r    stream_with_http_infoz/ConferenceParticipantList.stream_with_http_info)  s{    0 **5)<00+[)	 1 
 MM((););VG_M	=44m6K6KLLr   c                 
  K   | j                   j                  ||      }| j                  ||||d          d{   }| j                   j                  |j                  |d         }||j
                  |j                  fS 7 Fw)a  
        Asynchronously streams ConferenceParticipantInstance and returns headers from first page


        :param str participant_sid: The unique SID identifier of the Participant.
        :param str label: User-specified label for a participant.
        :param str events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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: tuple of (generator, status_code, headers) where generator yields instances
        r   r   Nr   )r   r   page_with_http_info_asyncr   r   r   r   r   s	            r    stream_with_http_info_asyncz5ConferenceParticipantList.stream_with_http_info_asyncL  s     0 **5)<"<<+[)	 = 
 
 MM..}/A/A6'?S	=44m6K6KLL
s   8BBABc           	      @    t        | j                  |||||            S )a  
        Lists ConferenceParticipantInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str participant_sid: The unique SID identifier of the Participant.
        :param str label: User-specified label for a participant.
        :param str events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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
        rh   rj   r   r   r   )listr   )r   rh   rj   r   r   r   s         r    r   zConferenceParticipantList.listo  s1    2 KK /#  
 	
r   c                    K   | j                  |||||       d{   2 cg c3 d{   }|7 7 	6 c}S c c}w w)a$  
        Asynchronously lists ConferenceParticipantInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str participant_sid: The unique SID identifier of the Participant.
        :param str label: User-specified label for a participant.
        :param str events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: list that will contain up to limit results
        r   N)r   )r   rh   rj   r   r   r   records          r    
list_asyncz$ConferenceParticipantList.list_async  s]     6 '+&7&7 /# '8 ' !	
 	
 !	
 	
 		
 	
s0   >1>953
59>59>c                 h    | j                  |||||      \  }}}t        |      }	t        |	||      S )a  
        Lists ConferenceParticipantInstance and returns headers from first page


        :param str participant_sid: The unique SID identifier of the Participant.
        :param str label: User-specified label for a participant.
        :param str events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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: ApiResponse with list of instances, status code, and headers
        r   r   )r   r   r   )
r   rh   rj   r   r   r   r   r   r   r   s
             r    list_with_http_infoz-ConferenceParticipantList.list_with_http_info  sJ    0 +/*D*D+ +E +
'	; Y;PPr   c                    K   | j                  |||||       d{   \  }}}|2 	cg c3 d{   }	|	7 7 	6 nc c}	w }
}	t        |
||      S w)a  
        Asynchronously lists ConferenceParticipantInstance and returns headers from first page


        :param str participant_sid: The unique SID identifier of the Participant.
        :param str label: User-specified label for a participant.
        :param str events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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: ApiResponse with list of instances, status code, and headers
        r   Nr   )r   r   )r   rh   rj   r   r   r   r   r   r   r  r   s              r    list_with_http_info_asyncz3ConferenceParticipantList.list_with_http_info_async  so     0 150P0P+ 1Q 1
 +
'	; -666&+
 7666;PPs4   A7A=;9
;=A;=A
page_tokenpage_numberc           	         t        j                  ||||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||      }	t        | j                  |	| j                        S )a  
        Retrieve a single page of ConferenceParticipantInstance records from the API.
        Request is executed immediately

        :param participant_sid: The unique SID identifier of the Participant.
        :param label: User-specified label for a participant.
        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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 ConferenceParticipantInstance
        ParticipantSidLabelr   	PageTokenr   PageSizeContent-Type!application/x-www-form-urlencodedr   r   r   r   )r   r   r   r   r   r   r   
r   rh   rj   r   r  r	  r   r   r   responses
             r    r   zConferenceParticipantList.page  s    , yy"1 '#%	
 ))^-PQR.==%%diig & 
 )$..QQr   c           	      "  K   t        j                  ||||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||       d{   }	t        | j                  |	| j                        S 7 %w)	a  
        Asynchronously retrieve a single page of ConferenceParticipantInstance records from the API.
        Request is executed immediately

        :param participant_sid: The unique SID identifier of the Participant.
        :param label: User-specified label for a participant.
        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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 ConferenceParticipantInstance
        r  r  r  r   r   r   r   N)r   r   r   r   r   r   r   r  s
             r    r   z$ConferenceParticipantList.page_async$  s     , yy"1 '#%	
 ))^-PQR.11diig 2 
 
 )$..QQ
s   A%B'B(&Bc           	      *   t        j                  ||||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||      \  }	}
}t        | j                  |	| j                        }t        ||
|      S )	ah  
        Retrieve a single page with response metadata


        :param participant_sid: The unique SID identifier of the Participant.
        :param label: User-specified label for a participant.
        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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: ApiResponse with ConferenceParticipantPage, status code, and headers
        r  r  r  r   r   r   r   r   )r   r   r   page_with_response_infor   r   r   r   r   rh   rj   r   r  r	  r   r   r   r  r   response_headersr   s                r    r   z-ConferenceParticipantList.page_with_http_infoN  s    , yy"1 '#%	
 ))^-PQR.26--2W2Wdiig 3X 3
/+/ )$..Q+GWXXr   c           	      F  K   t        j                  ||||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||       d{   \  }	}
}t        | j                  |	| j                        }t        ||
|	      S 7 7w)
aw  
        Asynchronously retrieve a single page with response metadata


        :param participant_sid: The unique SID identifier of the Participant.
        :param label: User-specified label for a participant.
        :param events: Conference events generated by application or participant activity; e.g. `hold`, `mute`, etc.
        :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: ApiResponse with ConferenceParticipantPage, status code, and headers
        r  r  r  r   r   r   r   Nr   )r   r   r   page_with_response_info_asyncr   r   r   r   r  s                r    r   z3ConferenceParticipantList.page_with_http_info_asyncy  s     , yy"1 '#%	
 ))^-PQR. --==$))D' >   	0+/
 )$..Q+GWXXs   A%B!'B(8B!
target_urlc                     | j                   j                  j                  j                  d|      }t	        | j                   || j
                        S )a  
        Retrieve a specific page of ConferenceParticipantInstance records from the API.
        Request is executed immediately

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

        :returns: Page of ConferenceParticipantInstance
        r   )r   domaintwiliorequestr   r   r   r  r  s      r    get_pagez"ConferenceParticipantList.get_page  s=     ==''..66ujI($..QQr   c                    K   | j                   j                  j                  j                  d|       d{   }t	        | j                   || j
                        S 7 %w)a  
        Asynchronously retrieve a specific page of ConferenceParticipantInstance records from the API.
        Request is executed immediately

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

        :returns: Page of ConferenceParticipantInstance
        r   N)r   r  r  request_asyncr   r   r   s      r    get_page_asyncz(ConferenceParticipantList.get_page_async  sJ      --44BB5*UU($..QQ Vs   4AA&Ac                 L    t        | j                  | j                  d   |      S z
        Constructs a ConferenceParticipantContext

        :param participant_sid: The unique SID identifier of the Participant.
        rg   r   r   r   r   r   rh   s     r    r   zConferenceParticipantList.get  (     ,MM>>*:;+
 	
r   c                 L    t        | j                  | j                  d   |      S r&  r'  r(  s     r    __call__z"ConferenceParticipantList.__call__  r)  r   c                      y)r   z.<Twilio.Insights.V1.ConferenceParticipantList>r   r   s    r    r   z"ConferenceParticipantList.__repr__  r   r   )&r   r   r   r   r   r   r   r   r   r   r   intr	   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   s   @r    r   r     s   
 
 
( /5ll$*LL%+\\##'";sF{+"; S&[!"; c6k"	";
 }"; C="; 
/	0";L /5ll$*LL%+\\##'"AsF{+"A S&[!"A c6k"	"A
 }"A C="A 
4	5"AL /5ll$*LL%+\\##'!MsF{+!M S&[!!M c6k"	!M
 }!M C=!M 
!MJ /5ll$*LL%+\\##'!MsF{+!M S&[!!M c6k"	!M
 }!M C=!M 
!MJ /5ll$*LL%+\\##'!
sF{+!
 S&[!!
 c6k"	!

 }!
 C=!
 
+	,!
J /5ll$*LL%+\\##'"
sF{+"
 S&[!"
 c6k"	"

 }"
 C="
 
+	,"
L /5ll$*LL%+\\##' QsF{+ Q S&[! Q c6k"	 Q
 } Q C= Q 
 QH /5ll$*LL%+\\##' QsF{+ Q S&[! Q c6k"	 Q
 } Q C= Q 
 QH /5ll$*LL%+\\)/*0,,(.(RsF{+(R S&[!(R c6k"	(R
 #v+&(R 3;'(R f%(R 
#(RX /5ll$*LL%+\\)/*0,,(.(RsF{+(R S&[!(R c6k"	(R
 #v+&(R 3;'(R f%(R 
#(RX /5ll$*LL%+\\)/*0,,(.)YsF{+)Y S&[!)Y c6k"	)Y
 #v+&)Y 3;')Y f%)Y 
)YZ /5ll$*LL%+\\)/*0,,(.+YsF{++Y S&[!+Y c6k"	+Y
 #v+&+Y 3;'+Y f%+Y 
+YZ
R3 
R+D 
R
Rs 
R7P 
R

3 

+G 



 

0L 

@# @r   r   N)__doc__r   typingr   r   r   r   r   r	   r
   twilio.baser   r   twilio.base.api_responser   twilio.base.instance_contextr   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   twilio.base.pager   r   r   r   r   r   r   r    <module>r7     sn     L L L + 0 8 : 2 ' !lW$4 lW^lV? lV^@ @*O@ O@r   