
    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 - Proxy
    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	 	 ddedeee	f   deded	e
e   f
 fd
Zedd       ZdefdZdefdZdefdZdefdZddZddZdefdZdefdZdefdZ xZS )InteractionInstancec                   `    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZy)"InteractionInstance.ResourceStatusacceptedansweredbusycanceled	completeddeleted	deliveredzdelivery-unknownfailedzin-progress	initiatedz	no-answerqueuedreceived	receivingringing	scheduledsendingsentundeliveredunknownN)__name__
__module____qualname__ACCEPTEDANSWEREDBUSYCANCELED	COMPLETEDDELETED	DELIVEREDDELIVERY_UNKNOWNFAILEDIN_PROGRESS	INITIATED	NO_ANSWERQUEUEDRECEIVED	RECEIVINGRINGING	SCHEDULEDSENDINGSENTUNDELIVEREDUNKNOWN     n/home/sas/my/fyp/ringai/.venv/lib/python3.12/site-packages/twilio/rest/proxy/v1/service/session/interaction.pyResourceStatusr      sl    		-#				#rB   rD   c                       e Zd ZdZdZdZy)InteractionInstance.Typemessagevoicer(   N)r)   r*   r+   MESSAGEVOICEr@   rA   rB   rC   TyperF   3   s    rB   rK   versionpayloadservice_sidsession_sidsidc                    t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |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            | _        |j                  d      | _        |||xs | j                  d| _        d | _        y )NrP   rO   rN   account_siddatatypeinbound_participant_sidinbound_resource_sidinbound_resource_statusinbound_resource_typeinbound_resource_urloutbound_participant_sidoutbound_resource_sidoutbound_resource_statusoutbound_resource_typeoutbound_resource_urldate_createddate_updatedurlrN   rO   rP   )super__init__getrP   rO   rN   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r   iso8601_datetimer_   r`   ra   	_solution_context)selfrL   rM   rN   rO   rP   	__class__s         rC   rd   zInteractionInstance.__init__N   s    	!")++e"4*1++m*D*1++m*D*1++m*D#*;;v#6	:A++f:M	6=kk%7
$ 4;;;?U3V!KK12 	$ 5<KK@W4X"3:;;?U3V!7>{{&8
% 5<KK@W4X" KK23 	% 6=[[$6
# 5<KK@W4X"0;0L0LKK'1
 1<0L0LKK'1
 #*++e"4 '&?$((

 7;rB   returnc                     | j                   Et        | j                  | j                  d   | 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: InteractionContext for this InteractionInstance
        rN   rO   rP   rb   )rh   InteractionContext_versionrg   ri   s    rC   _proxyzInteractionInstance._proxy   sQ     == . NN=9 NN=9NN5)	DM }}rB   c                 6    | j                   j                         S zn
        Deletes the InteractionInstance


        :returns: True if delete succeeds, False otherwise
        )rp   deletero   s    rC   rs   zInteractionInstance.delete   s     {{!!##rB   c                 R   K   | j                   j                          d{   S 7 wz
        Asynchronous coroutine that deletes the InteractionInstance


        :returns: True if delete succeeds, False otherwise
        N)rp   delete_asyncro   s    rC   rv   z InteractionInstance.delete_async   s!      [[--////   '%'c                 6    | j                   j                         S )z
        Deletes the InteractionInstance with HTTP info


        :returns: ApiResponse with success boolean, status code, and headers
        )rp   delete_with_http_inforo   s    rC   ry   z)InteractionInstance.delete_with_http_info   s     {{0022rB   c                 R   K   | j                   j                          d{   S 7 w)z
        Asynchronous coroutine that deletes the InteractionInstance with HTTP info


        :returns: ApiResponse with success boolean, status code, and headers
        N)rp   delete_with_http_info_asyncro   s    rC   r{   z/InteractionInstance.delete_with_http_info_async   s!      [[<<>>>>rw   c                 6    | j                   j                         S )c
        Fetch the InteractionInstance


        :returns: The fetched InteractionInstance
        )rp   fetchro   s    rC   r~   zInteractionInstance.fetch   s     {{  ""rB   c                 R   K   | j                   j                          d{   S 7 w)}
        Asynchronous coroutine to fetch the InteractionInstance


        :returns: The fetched InteractionInstance
        N)rp   fetch_asyncro   s    rC   r   zInteractionInstance.fetch_async   s!      [[,,....rw   c                 6    | j                   j                         S )z
        Fetch the InteractionInstance with HTTP info


        :returns: ApiResponse with instance, status code, and headers
        )rp   fetch_with_http_inforo   s    rC   r   z(InteractionInstance.fetch_with_http_info   s     {{//11rB   c                 R   K   | j                   j                          d{   S 7 w)z
        Asynchronous coroutine to fetch the InteractionInstance with HTTP info


        :returns: ApiResponse with instance, status code, and headers
        N)rp   fetch_with_http_info_asyncro   s    rC   r   z.InteractionInstance.fetch_with_http_info_async   s!      [[;;====rw   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      rC   	<genexpr>z/InteractionInstance.__repr__.<locals>.<genexpr>        SDAq7>>!Q/S   !z(<Twilio.Proxy.V1.InteractionInstance {}>joinrg   itemsr   ri   contexts     rC   __repr__zInteractionInstance.__repr__   s6     ((SDNN<P<P<RSS9@@IIrB   )N)rk   rm   )rk   r   )r)   r*   r+   objectrD   rK   r   r   strr   r   rd   propertyrp   boolrs   rv   r   ry   r{   r~   r   r   r   r   __classcell__rj   s   @rC   r   r      s     .v 
8 "1;1; c3h1; 	1;
 1; c]1;f   $ $0D 03{ 3?; ?#/2k 2>+ >J# JrB   r   c                        e Zd Zdedededef fdZdefdZdefdZ	de
fd	Zdefd
ZdefdZde
fdZdefdZdefdZde
fdZdefdZdefdZde
fdZdefdZ xZS )rm   rL   rN   rO   rP   c                 |    t         |   |       |||d| _         dj                  di | j                  | _        y)a  
        Initialize the InteractionContext

        :param version: Version that contains the resource
        :param service_sid: The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) of the resource to fetch.
        :param session_sid: The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) of the resource to fetch.
        :param sid: The Twilio-provided string that uniquely identifies the Interaction resource to fetch.
        rb   zA/Services/{service_sid}/Sessions/{session_sid}/Interactions/{sid}NrA   rc   rd   rg   r   _uri)ri   rL   rN   rO   rP   rj   s        rC   rd   zInteractionContext.__init__   sM     	! '&
 WOVV .. 		rB   rk   c                 |    t        j                  i       }| j                  j                  d| j                  |      S )z
        Internal helper for delete operation

        Returns:
            tuple: (success_boolean, status_code, headers)
        DELETEmethoduriheaders)r   ofrn   delete_with_response_infor   ri   r   s     rC   _deletezInteractionContext._delete   s8     ))B-}}66G 7 
 	
rB   c                 .    | j                         \  }}}|S rr   )r   ri   success_s      rC   rs   zInteractionContext.delete  s     ArB   c                 F    | j                         \  }}}t        |||      S )z
        Deletes the InteractionInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        rS   status_coder   )r   r   ri   r   r   r   s       rC   ry   z(InteractionContext.delete_with_http_info  s%     )-%g['RRrB   c                    K   t        j                  i       }| j                  j                  d| j                  |       d{   S 7 w)z
        Internal async helper for delete operation

        Returns:
            tuple: (success_boolean, status_code, headers)
        r   r   N)r   r   rn   delete_with_response_info_asyncr   r   s     rC   _delete_asyncz InteractionContext._delete_async  sG      ))B-]]BBG C 
 
 	
 
s   AA
AA
c                 J   K   | j                          d{   \  }}}|S 7 
wru   )r   r   s      rC   rv   zInteractionContext.delete_async-  s)      #0022A 3s   #!#c                 b   K   | j                          d{   \  }}}t        |||      S 7 w)z
        Asynchronous coroutine that deletes the InteractionInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        Nr   )r   r   r   s       rC   r{   z.InteractionContext.delete_with_http_info_async7  s5      /3.@.@.B(B%g['RR )Cs   /-/c                     t        j                  i       }d|d<   | j                  j                  d| j                  |      S )zz
        Internal helper for fetch operation

        Returns:
            tuple: (payload, status_code, headers)
        application/jsonAcceptGETr   )r   r   rn   fetch_with_response_infor   r   s     rC   _fetchzInteractionContext._fetchA  sB     ))B-.}}55dii 6 
 	
rB   c                     | j                         \  }}}t        | j                  || j                  d   | j                  d   | j                  d         S )r}   rN   rO   rP   rb   )r   r   rn   rg   ri   rM   r   s      rC   r~   zInteractionContext.fetchQ  sP     A"MM}5}5u%
 	
rB   c                     | j                         \  }}}t        | j                  || j                  d   | j                  d   | j                  d         }t	        |||      S )z
        Fetch the InteractionInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        rN   rO   rP   rb   r   )r   r   rn   rg   r   ri   rM   r   r   instances        rC   r   z'InteractionContext.fetch_with_http_infoa  s_     )-%g&MM}5}5u%
 k7SSrB   c                    K   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   N)r   r   rn   fetch_with_response_info_asyncr   r   s     rC   _fetch_asynczInteractionContext._fetch_asyncr  sQ      ))B-.]]AAdii B 
 
 	
 
s   AAA	Ac                    K   | j                          d{   \  }}}t        | j                  || j                  d   | j                  d   | j                  d         S 7 Iw)r   NrN   rO   rP   rb   )r   r   rn   rg   r   s      rC   r   zInteractionContext.fetch_async  s_      #//11A"MM}5}5u%
 	
 2s   A"A A
A"c                    K   | j                          d{   \  }}}t        | j                  || j                  d   | j                  d   | j                  d         }t	        |||      S 7 Ww)z
        Asynchronous coroutine to fetch the InteractionInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        NrN   rO   rP   rb   r   )r   r   rn   rg   r   r   s        rC   r   z-InteractionContext.fetch_with_http_info_async  so      /3.?.?.A(A%g&MM}5}5u%
 k7SS )Bs   A0A.AA0c                     dj                  d | j                  j                         D              }dj                  |      S )r   r   c              3   F   K   | ]  \  }}d j                  ||        ywr   r   r   s      rC   r   z.InteractionContext.__repr__.<locals>.<genexpr>  r   r   z'<Twilio.Proxy.V1.InteractionContext {}>r   r   s     rC   r   zInteractionContext.__repr__  s6     ((SDNN<P<P<RSS8??HHrB   )r)   r*   r+   r   r   rd   tupler   r   rs   r   ry   r   rv   r{   r   r   r~   r   r   r   r   r   r   r   s   @rC   rm   rm      s    
 
c 
 
RU 
.
 
 S{ S
U 
D S; S
 
 
* 
 Tk T"
E 
 
#6 
 T+ T"I# IrB   rm   c                   2    e Zd Zdeeef   defdZdefdZy)InteractionPagerM   rk   c                 h    t        | j                  || j                  d   | j                  d         S )zq
        Build an instance of InteractionInstance

        :param payload: Payload response from the API
        rN   rO   rN   rO   )r   rn   rg   )ri   rM   s     rC   get_instancezInteractionPage.get_instance  s3     #MM}5}5	
 	
rB   c                      y)r   z!<Twilio.Proxy.V1.InteractionPage>rA   ro   s    rC   r   zInteractionPage.__repr__       3rB   N)	r)   r*   r+   r   r   r   r   r   r   rA   rB   rC   r   r     s*    
DcN 
7J 
3# 3rB   r   c            	           e Zd Zdededef fdZ	 	 ddee   dee   dee	   fdZ
	 	 ddee   dee   dee	   fd	Z	 	 ddee   dee   defd
Z	 	 ddee   dee   defdZ	 	 ddee   dee   dee	   fdZ	 	 ddee   dee   dee	   fdZ	 	 ddee   dee   defdZ	 	 ddee   dee   defdZej.                  ej.                  ej.                  fdeeef   deeef   deeef   defdZej.                  ej.                  ej.                  fdeeef   deeef   deeef   defdZej.                  ej.                  ej.                  fdeeef   deeef   deeef   defdZej.                  ej.                  ej.                  fdeeef   deeef   deeef   defdZdedefdZdedefdZ dede!fdZ"dede!fdZ#defdZ$ xZ%S )InteractionListrL   rN   rO   c                 z    t         |   |       ||d| _         dj                  di | j                  | _        y)a{  
        Initialize the InteractionList

        :param version: Version that contains the resource
        :param service_sid: The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) to read the resources from.
        :param session_sid: The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) to read the resources from.

        r   z;/Services/{service_sid}/Sessions/{session_sid}/InteractionsNrA   r   )ri   rL   rN   rO   rj   s       rC   rd   zInteractionList.__init__  sJ     	! '&

 QIPP .. 		rB   limit	page_sizerk   c                     | j                   j                  ||      }| j                  |d         }| j                   j                  ||d         S )aa  
        Streams InteractionInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: Generator that will yield up to limit results
        r   r   r   )rn   read_limitspagestreamri   r   r   limitsr   s        rC   r   zInteractionList.stream  sJ    ( **5)<yy6+#6y7}}##D&/::rB   c                    K   | j                   j                  ||      }| j                  |d          d{   }| j                   j                  ||d         S 7 #w)ap  
        Asynchronously streams InteractionInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: Generator that will yield up to limit results
        r   r   Nr   )rn   r   
page_asyncstream_asyncr   s        rC   r   zInteractionList.stream_async  sW     ( **5)<__vk/B_CC}}))$w@@ Ds   5AA$Ac                     | j                   j                  ||      }| j                  |d         }| j                   j                  |j                  |d         }||j
                  |j                  fS )a  
        Streams InteractionInstance and returns headers from first page


        :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   )rn   r   page_with_http_infor   rS   r   r   ri   r   r   r   page_response	generators         rC   stream_with_http_infoz%InteractionList.stream_with_http_info  sk    $ **5)<006+;N0OMM((););VG_M	=44m6K6KLLrB   c                   K   | j                   j                  ||      }| j                  |d          d{   }| j                   j                  |j                  |d         }||j
                  |j                  fS 7 Fw)a  
        Asynchronously streams InteractionInstance and returns headers from first page


        :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   )rn   r   page_with_http_info_asyncr   rS   r   r   r   s         rC   stream_with_http_info_asyncz+InteractionList.stream_with_http_info_async'  s     $ **5)<"<<[) = 
 
 MM..}/A/A6'?S	=44m6K6KLL
s   5B A>AB c                 :    t        | j                  ||            S )a  
        Lists InteractionInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: list that will contain up to limit results
        r   r   )listr   )ri   r   r   s      rC   r   zInteractionList.listA  s(    & KK#  
 	
rB   c                 z   K   | j                  ||       d{   2 cg c3 d{   }|7 7 	6 c}S c c}w w)a  
        Asynchronously lists InteractionInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: list that will contain up to limit results
        r   N)r   )ri   r   r   records       rC   
list_asynczInteractionList.list_async[  sT     * '+&7&7# '8 ' !
 
 !
 
 	
 
s0   ;.;620
26;26;c                 b    | j                  ||      \  }}}t        |      }t        |||      S )a  
        Lists InteractionInstance and returns headers from first page


        :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   )ri   r   r   r   r   r   r   s          rC   list_with_http_infoz#InteractionList.list_with_http_infov  sA    $ +/*D*D +E +
'	; Y;PPrB   c                    K   | j                  ||       d{   \  }}}|2 cg c3 d{   }|7 7 	6 nc c}w }}t        |||      S w)a  
        Asynchronously lists InteractionInstance and returns headers from first page


        :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   )ri   r   r   r   r   r   r   r   s           rC   list_with_http_info_asyncz)InteractionList.list_with_http_info_async  sf     $ 150P0P 1Q 1
 +
'	; -666&	+
 7666;PPs4   A4A:86
8:A8: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 InteractionInstance records from the API.
        Request is executed immediately

        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of InteractionInstance
        	PageTokenr   PageSizeContent-Type!application/x-www-form-urlencodedr   r   r   r   r   paramsr   )r   r   rn   r   r   r   rg   ri   r   r   r   rS   r   responses          rC   r   zInteractionList.page  s      yy'#%
 ))^-PQR.==%%diig & 
 t}}hGGrB   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 InteractionInstance records from the API.
        Request is executed immediately

        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of InteractionInstance
        r   r   r   r   r   r   r   N)r   r   rn   r   r   r   rg   r  s          rC   r   zInteractionList.page_async  s       yy'#%
 ))^-PQR.11diig 2 
 
 t}}hGG
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 )	a]  
        Retrieve a single page with response metadata


        :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 InteractionPage, status code, and headers
        r   r   r   r   r   r   r   r   )r   r   rn   page_with_response_infor   r   rg   r   
ri   r   r   r   rS   r   r  r   response_headersr   s
             rC   r   z#InteractionList.page_with_http_info  s      yy'#%
 ))^-PQR.26--2W2Wdiig 3X 3
/+/ t}}hG+GWXXrB   c                 @  K   t        j                  |||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||       d{   \  }}}t        | j                  || j                        }	t        |	||	      S 7 7w)
al  
        Asynchronously retrieve a single page with response metadata


        :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 InteractionPage, status code, and headers
        r   r   r   r   r   r   r   Nr   )r   r   rn   page_with_response_info_asyncr   r   rg   r   r  s
             rC   r   z)InteractionList.page_with_http_info_async  s       yy'#%
 ))^-PQR. --==$))D' >   	0+/
 t}}hG+GWXXs   A"B$B%8B
target_urlc                     | j                   j                  j                  j                  d|      }t	        | j                   || j
                        S )z
        Retrieve a specific page of InteractionInstance records from the API.
        Request is executed immediately

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

        :returns: Page of InteractionInstance
        r   )rn   domaintwiliorequestr   rg   ri   r
  r  s      rC   get_pagezInteractionList.get_page0  s=     ==''..66ujIt}}hGGrB   c                    K   | j                   j                  j                  j                  d|       d{   }t	        | j                   || j
                        S 7 %w)a
  
        Asynchronously retrieve a specific page of InteractionInstance records from the API.
        Request is executed immediately

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

        :returns: Page of InteractionInstance
        r   N)rn   r  r  request_asyncr   rg   r  s      rC   get_page_asynczInteractionList.get_page_async<  sJ      --44BB5*UUt}}hGG Vs   4AA&ArP   c                 h    t        | j                  | j                  d   | j                  d   |      S z
        Constructs a InteractionContext

        :param sid: The Twilio-provided string that uniquely identifies the Interaction resource to fetch.
        rN   rO   rb   rm   rn   rg   ri   rP   s     rC   re   zInteractionList.getH  3     "MM}5}5	
 	
rB   c                 h    t        | j                  | j                  d   | j                  d   |      S r  r  r  s     rC   __call__zInteractionList.__call__U  r  rB   c                      y)r   z!<Twilio.Proxy.V1.InteractionList>rA   ro   s    rC   r   zInteractionList.__repr__b  r   rB   )NN)&r)   r*   r+   r   r   rd   r   intr	   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   unsetr   r   r   r   r   r   r   r  r  rm   re   r  r   r   r   s   @rC   r   r     s   
 
c 
 
0  $#';}; C=; 
%	&	;6  $#'A}A C=A 
*	+	A6  $#'M}M C=M 
	M4  $#'M}M C=M 
	M8  $#'
}
 C=
 
!	"	
8  $#'
}
 C=
 
!	"	
:  $#'Q}Q C=Q 
	Q6  $#'Q}Q C=Q 
	Q6 *0*0,,(.	H#v+&H 3;'H f%	H
 
HF *0*0,,(.	H#v+&H 3;'H f%	H
 
HF *0*0,,(.	 Y#v+& Y 3;' Y f%	 Y
 
 YH *0*0,,(.	"Y#v+&"Y 3;'"Y f%	"Y
 
"YH
H3 
H? 
H
Hs 
H 
H
s 
1 

C 
$6 
3# 3rB   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   rm   r   r   rA   rB   rC   <module>r'     sj     L L L + 0 8 : 2 ' !GJ* GJTFI FIR3d 30c3l c3rB   