Ë
    [üàgúa  ã                   óà   — d Z ddlmZ ddlmZmZmZmZmZmZm	Z	 ddl
mZmZmZ ddlmZ ddlmZ ddlmZ ddlmZ dd	lmZ  G d
„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Zy)aè  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - 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Ú	serializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersion)ÚPagec            
       óò   ‡ — e Zd ZdZ	 ddedeeef   dedee   fˆ fd„Z	e
dd„«       Zdefd	„Zdefd
„Zdd„Zdd„Zej$                  fdeeef   dd fd„Zej$                  fdeeef   dd fd„Zdefd„Zˆ xZS )ÚPhoneNumberInstanceaÁ  
    :ivar sid: The unique string that we created to identify the PhoneNumber resource.
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the PhoneNumber resource.
    :ivar service_sid: The SID of the PhoneNumber resource's parent [Service](https://www.twilio.com/docs/proxy/api/service) resource.
    :ivar date_created: The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was created.
    :ivar date_updated: The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was last updated.
    :ivar phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.
    :ivar friendly_name: The string that you assigned to describe the resource.
    :ivar iso_country: The ISO Country Code for the phone number.
    :ivar capabilities:
    :ivar url: The absolute URL of the PhoneNumber resource.
    :ivar is_reserved: Whether the phone number should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information.
    :ivar in_use: The number of open session assigned to the number. See the [How many Phone Numbers do I need?](https://www.twilio.com/docs/proxy/phone-numbers-needed) guide for more information.
    ÚversionÚpayloadÚservice_sidÚsidc                 óä  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _        t        j                  |j                  d«      «      | _	        |j                  d«      | _
        |j                  d«      | _        |j                  d«      | _        |j                  d	«      | _        |j                  d
«      | _        |j                  d«      | _        t        j                   |j                  d«      «      | _        ||xs | j                  dœ| _        d | _        y )Nr   Úaccount_sidr   Údate_createdÚdate_updatedÚphone_numberÚfriendly_nameÚiso_countryÚcapabilitiesÚurlÚis_reservedÚin_use©r   r   )ÚsuperÚ__init__Úgetr   r   r   r   Úiso8601_datetimer   r   r   r   r   r    r!   r"   Úintegerr#   Ú	_solutionÚ_context)Úselfr   r   r   r   Ú	__class__s        €úg/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/proxy/v1/service/phone_number.pyr&   zPhoneNumberInstance.__init__)   s(  ø€ ô 	‰Ñ˜Ô!à")§+¡+¨eÓ"4ˆŒØ*1¯+©+°mÓ*DˆÔØ*1¯+©+°mÓ*DˆÔÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð ,3¯;©;°~Ó+FˆÔØ,3¯K©K¸Ó,HˆÔØ*1¯+©+°mÓ*DˆÔØ+2¯;©;°~Ó+FˆÔØ")§+¡+¨eÓ"4ˆŒØ+2¯;©;°}Ó+EˆÔÜ%0×%8Ñ%8¸¿¹ÀXÓ9NÓ%OˆŒð 'Ø’?˜$Ÿ(™(ñ
ˆŒð 7;ˆ�ó    Úreturnc                 ó    — | j                   €7t        | j                  | j                  d   | j                  d   ¬«      | _         | j                   S )zñ
        Generate an instance context for the instance, the context is capable of
        performing various actions. All instance actions are proxied to the context

        :returns: PhoneNumberContext for this PhoneNumberInstance
        r   r   r$   )r+   ÚPhoneNumberContextÚ_versionr*   ©r,   s    r.   Ú_proxyzPhoneNumberInstance._proxyI   sE   € ð �=‰=Ð Ü.Ø—‘Ø ŸN™N¨=Ñ9Ø—N‘N 5Ñ)ôˆDŒMð
 �}‰}Ðr/   c                 ó6   — | j                   j                  «       S )ún
        Deletes the PhoneNumberInstance


        :returns: True if delete succeeds, False otherwise
        )r5   Údeleter4   s    r.   r8   zPhoneNumberInstance.deleteY   s   € ð �{‰{×!Ñ!Ó#Ð#r/   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)úŠ
        Asynchronous coroutine that deletes the PhoneNumberInstance


        :returns: True if delete succeeds, False otherwise
        N)r5   Údelete_asyncr4   s    r.   r;   z PhoneNumberInstance.delete_asyncb   s!   è ø€ ð —[‘[×-Ñ-Ó/×/Ð/Ð/úó   ‚' %¡'c                 ó6   — | j                   j                  «       S )úc
        Fetch the PhoneNumberInstance


        :returns: The fetched PhoneNumberInstance
        )r5   Úfetchr4   s    r.   r?   zPhoneNumberInstance.fetchk   s   € ð �{‰{× Ñ Ó"Ð"r/   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ú}
        Asynchronous coroutine to fetch the PhoneNumberInstance


        :returns: The fetched PhoneNumberInstance
        N)r5   Úfetch_asyncr4   s    r.   rB   zPhoneNumberInstance.fetch_asynct   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.úr<   r"   c                 ó:   — | j                   j                  |¬«      S )áV  
        Update the PhoneNumberInstance

        :param is_reserved: Whether the phone number should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information.

        :returns: The updated PhoneNumberInstance
        ©r"   )r5   Úupdate©r,   r"   s     r.   rF   zPhoneNumberInstance.update}   s#   € ð �{‰{×!Ñ!Ø#ð "ó 
ð 	
r/   c              ƒ   óV   K  — | j                   j                  |¬«      ƒ d{  –—† S 7 Œ­w)áp  
        Asynchronous coroutine to update the PhoneNumberInstance

        :param is_reserved: Whether the phone number should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information.

        :returns: The updated PhoneNumberInstance
        rE   N)r5   Úupdate_asyncrG   s     r.   rJ   z PhoneNumberInstance.update_async‹   s1   è ø€ ð —[‘[×-Ñ-Ø#ð .ó 
÷ 
ð 	
ð 
ús   ‚ )¢'£)c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )úf
        Provide a friendly representation

        :returns: Machine friendly representation
        ú c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­w©z{}={}N©Úformat©Ú.0ÚkÚvs      r.   ú	<genexpr>z/PhoneNumberInstance.__repr__.<locals>.<genexpr>Ÿ   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z(<Twilio.Proxy.V1.PhoneNumberInstance {}>©Újoinr*   ÚitemsrQ   ©r,   Úcontexts     r.   Ú__repr__zPhoneNumberInstance.__repr__™   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ9×@Ñ@ÀÓIÐIr/   )N)r0   r2   )r0   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r&   Úpropertyr5   Úboolr8   r;   r?   rB   r   Úunsetr   ÚobjectrF   rJ   r^   Ú__classcell__©r-   s   @r.   r   r      s×   ø„ ñð( "ñ;àð;ð �c˜3�h‘ð;ð ð	;ð
 �c‰]õ;ð@ òó ðð$˜ó $ð0 Dó 0ó#ó/ð 28·±ñ
Ø   v Ñ.ð
à	ó
ð 28·±ñ
Ø   v Ñ.ð
à	ó
ðJ˜#÷ Jr/   r   c                   óÌ   ‡ — e Zd Zdededefˆ fd„Zdefd„Zdefd„Zde	fd„Z
de	fd	„Zej                  fd
eeef   de	fd„Zej                  fd
eeef   de	fd„Zdefd„Zˆ xZS )r2   r   r   r   c                 óz   •— t         ‰| �  |«       ||dœ| _         dj                  di | j                  ¤Ž| _        y)am  
        Initialize the PhoneNumberContext

        :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 PhoneNumber resource to update.
        :param sid: The Twilio-provided string that uniquely identifies the PhoneNumber resource to update.
        r$   z*/Services/{service_sid}/PhoneNumbers/{sid}N© ©r%   r&   r*   rQ   Ú_uri)r,   r   r   r   r-   s       €r.   r&   zPhoneNumberContext.__init__¥   sG   ø€ ô 	‰Ñ˜Ô!ð 'Øñ
ˆŒð HÐ@×GÑGñ 
Ø�n‰nñ
ˆ�	r/   r0   c                 ó|   — t        j                  i «      }| j                  j                  d| j                  |¬«      S )r7   ÚDELETE©ÚmethodÚuriÚheaders)r   Úofr3   r8   rn   ©r,   rt   s     r.   r8   zPhoneNumberContext.delete¸   s1   € ô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr/   c              ƒ   ó˜   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)r:   rp   rq   N)r   ru   r3   r;   rn   rv   s     r.   r;   zPhoneNumberContext.delete_asyncÄ   sF   è ø€ ô —)‘)˜B“-ˆà—]‘]×/Ñ/Ø §¡°Gð 0ó 
÷ 
ð 	
ð 
ús   ‚AA
ÁAÁA
c                 óì   — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  || j                  d   | j                  d   ¬«      S )r>   úapplication/jsonÚAcceptÚGETrq   r   r   r$   )r   ru   r3   r?   rn   r   r*   ©r,   rt   r   s      r.   r?   zPhoneNumberContext.fetchÒ   si   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆä"Ø�M‰MØØŸ™ }Ñ5Ø—‘˜uÑ%ô	
ð 	
r/   c              ƒ   ó  K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   | j                  d   ¬«      S 7 Œ7­w)	rA   ry   rz   r{   rq   Nr   r   r$   )r   ru   r3   rB   rn   r   r*   r|   s      r.   rB   zPhoneNumberContext.fetch_asyncç   s~   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô #Ø�M‰MØØŸ™ }Ñ5Ø—‘˜uÑ%ô	
ð 	
ð	
ús   ‚ABÁB Á	8Br"   c                 óL  — t        j                  dt        j                  |«      i«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  d   | j                  d	   ¬
«      S )rD   Ú
IsReservedú!application/x-www-form-urlencodedúContent-Typery   rz   ÚPOST©rr   rs   Údatart   r   r   r$   )	r   ru   r   Úboolean_to_stringr3   rF   rn   r   r*   ©r,   r"   r„   rt   r   s        r.   rF   zPhoneNumberContext.updateþ   s¡   € ô �y‰yàœi×9Ñ9¸+ÓFðó
ˆô
 —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô #Ø�M‰MØØŸ™ }Ñ5Ø—‘˜uÑ%ô	
ð 	
r/   c              ƒ   óh  K  — t        j                  dt        j                  |«      i«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  d	   | j                  d
   ¬«      S 7 Œ7­w)rI   r   r€   r�   ry   rz   r‚   rƒ   Nr   r   r$   )	r   ru   r   r…   r3   rJ   rn   r   r*   r†   s        r.   rJ   zPhoneNumberContext.update_async  s¯   è ø€ ô �y‰yàœi×9Ñ9¸+ÓFðó
ˆô
 —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô #Ø�M‰MØØŸ™ }Ñ5Ø—‘˜uÑ%ô	
ð 	
ð	
ús   ‚A6B2Á8B0Á98B2c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )rL   rM   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wrO   rP   rR   s      r.   rV   z.PhoneNumberContext.__repr__.<locals>.<genexpr>F  rW   rX   z'<Twilio.Proxy.V1.PhoneNumberContext {}>rY   r\   s     r.   r^   zPhoneNumberContext.__repr__@  s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ8×?Ñ?ÀÓHÐHr/   )r_   r`   ra   r   rc   r&   re   r8   r;   r   r?   rB   r   rf   r   rg   rF   rJ   r^   rh   ri   s   @r.   r2   r2   £   s¯   ø„ ð
 ð 
°cð 
Àõ 
ð&
U˜ó 
Uð
 Dó 
ð
Ð*ó 
ð*
Ð#6ó 
ð0 28·±ñ
Ø   v Ñ.ð
à	ó
ðD 28·±ñ
Ø   v Ñ.ð
à	ó
ðBI˜#÷ Ir/   r2   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)ÚPhoneNumberPager   r0   c                 óL   — t        | j                  || j                  d   ¬«      S )zq
        Build an instance of PhoneNumberInstance

        :param payload: Payload response from the API
        r   ©r   )r   r3   r*   )r,   r   s     r.   Úget_instancezPhoneNumberPage.get_instanceL  s%   € ô #Ø�M‰M˜7°·±¸}Ñ0Mô
ð 	
r/   c                  ó   — y)rL   z!<Twilio.Proxy.V1.PhoneNumberPage>rl   r4   s    r.   r^   zPhoneNumberPage.__repr__V  ó   € ð 3r/   N)	r_   r`   ra   r   rc   r   r   rŽ   r^   rl   r/   r.   r‹   r‹   J  s*   „ ð
 D¨¨c¨¡Nð 
Ð7Jó 
ð3˜#ô 3r/   r‹   c            	       ó  ‡ — e Zd Zdedefˆ 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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e   fd„Z	 	 dd
ee   dee   de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 )ÚPhoneNumberListr   r   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)zþ
        Initialize the PhoneNumberList

        :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 PhoneNumber resources to read.

        r   z$/Services/{service_sid}/PhoneNumbersNrl   rm   )r,   r   r   r-   s      €r.   r&   zPhoneNumberList.__init__a  sA   ø€ ô 	‰Ñ˜Ô!ð ˜;ð
ˆŒð BÐ:×AÑAÑSÀDÇNÁNÑSˆ�	r/   r   r   r"   r0   c                 ó8  — t        j                  ||t        j                  |«      dœ«      }t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  d   ¬	«      S )
aB  
        Create the PhoneNumberInstance

        :param sid: The SID of a Twilio [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the Twilio Number you would like to assign to your Proxy Service.
        :param phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format.  E.164 phone numbers consist of a + followed by the country code and subscriber number without punctuation characters. For example, +14155551234.
        :param is_reserved: Whether the new phone number should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information.

        :returns: The created PhoneNumberInstance
        ©ÚSidÚPhoneNumberr   r�   r€   ry   rz   r‚   rƒ   r   r�   )	r   ru   r   r…   r3   Úcreatern   r   r*   ©r,   r   r   r"   r„   rt   r   s          r.   r˜   zPhoneNumberList.createq  sž   € ô  �y‰yàØ+Ü'×9Ñ9¸+ÓFñó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô #Ø�M‰M˜7°·±¸}Ñ0Mô
ð 	
r/   c              ƒ   óT  K  — t        j                  ||t        j                  |«      dœ«      }t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  d	   ¬
«      S 7 Œ)­w)aQ  
        Asynchronously create the PhoneNumberInstance

        :param sid: The SID of a Twilio [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the Twilio Number you would like to assign to your Proxy Service.
        :param phone_number: The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format.  E.164 phone numbers consist of a + followed by the country code and subscriber number without punctuation characters. For example, +14155551234.
        :param is_reserved: Whether the new phone number should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information.

        :returns: The created PhoneNumberInstance
        r•   r�   r€   ry   rz   r‚   rƒ   Nr   r�   )	r   ru   r   r…   r3   Úcreate_asyncrn   r   r*   r™   s          r.   r›   zPhoneNumberList.create_async–  s¬   è ø€ ô  �y‰yàØ+Ü'×9Ñ9¸+ÓFñó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô #Ø�M‰M˜7°·±¸}Ñ0Mô
ð 	
ð	
ús   ‚A:B(Á<B&Á=*B(ÚlimitÚ	page_sizec                 ó¢   — | j                   j                  ||«      }| j                  |d   ¬«      }| j                   j                  ||d   «      S )aa  
        Streams PhoneNumberInstance 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œ   )r3   Úread_limitsÚpageÚstream©r,   rœ   r�   Úlimitsr¡   s        r.   r¢   zPhoneNumberList.stream»  sJ   € ð( —‘×*Ñ*¨5°)Ó<ˆØ�y‰y 6¨+Ñ#6ˆyÓ7ˆà�}‰}×#Ñ# D¨&°©/Ó:Ð:r/   c              ƒ   ó¾   K  — | j                   j                  ||«      }| j                  |d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)ap  
        Asynchronously streams PhoneNumberInstance 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œ   )r3   r    Ú
page_asyncÚstream_asyncr£   s        r.   r§   zPhoneNumberList.stream_asyncÔ  sW   è ø€ ð( —‘×*Ñ*¨5°)Ó<ˆØ—_‘_¨v°kÑ/B�_ÓC×Cˆà�}‰}×)Ñ)¨$°°w±Ó@Ð@ð Dús   ‚5A·A¸$Ac                 ó:   — t        | j                  ||¬«      «      S )aþ  
        Lists PhoneNumberInstance 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¢   )r,   rœ   r�   s      r.   rª   zPhoneNumberList.listí  s(   € ô& Ø�K‰KØØ#ð ó ó
ð 	
r/   c              ƒ   óz   K  — | j                  ||¬«      ƒ d{  –—† 2 �cg c3 d{  –—† }|‘Œ7 Œ7 Œ	6 c}S c c}w ­w)a  
        Asynchronously lists PhoneNumberInstance 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§   )r,   rœ   r�   Úrecords       r.   Ú
list_asynczPhoneNumberList.list_async  sT   è ø€ ð* '+×&7Ñ&7ØØ#ð '8ó '÷ !÷
ô 
àò ð!øð
øò 
ð 	
ùò 
ùs0   ‚;™.š; 6¢2¦0
§2ª6®;°2²6³;Ú
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 PhoneNumberInstance 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 PhoneNumberInstance
        ©Ú	PageTokenr   ÚPageSizer�   r€   ry   rz   r{   ©rr   rs   Úparamsrt   )r   ru   r3   r¡   rn   r‹   r*   ©r,   r®   r¯   r�   r„   rt   Úresponses          r.   r¡   zPhoneNumberList.page"  s   € ô  �y‰yà'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô ˜tŸ}™}¨h¸¿¹ÓGÐGr/   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 PhoneNumberInstance 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 PhoneNumberInstance
        r±   r�   r€   ry   rz   r{   r´   N)r   ru   r3   r¦   rn   r‹   r*   r¶   s          r.   r¦   zPhoneNumberList.page_asyncC  s�   è ø€ ô  �y‰yà'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô ˜tŸ}™}¨h¸¿¹ÓGÐGð
ús   ‚A"BÁ$B
Á%&BÚ
target_urlc                 ó¤   — | j                   j                  j                  j                  d|«      }t	        | j                   || j
                  «      S )zû
        Retrieve a specific page of PhoneNumberInstance records from the API.
        Request is executed immediately

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

        :returns: Page of PhoneNumberInstance
        r{   )r3   ÚdomainÚtwilioÚrequestr‹   r*   ©r,   r¹   r·   s      r.   Úget_pagezPhoneNumberList.get_paged  s=   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ˜tŸ}™}¨h¸¿¹ÓGÐGr/   c              ƒ   óÀ   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   || j
                  «      S 7 Œ%­w)a
  
        Asynchronously retrieve a specific page of PhoneNumberInstance records from the API.
        Request is executed immediately

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

        :returns: Page of PhoneNumberInstance
        r{   N)r3   r»   r¼   Úrequest_asyncr‹   r*   r¾   s      r.   Úget_page_asynczPhoneNumberList.get_page_asyncp  sJ   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ˜tŸ}™}¨h¸¿¹ÓGÐGð Vús   ‚4A¶A·&Ac                 óL   — t        | j                  | j                  d   |¬«      S ©zž
        Constructs a PhoneNumberContext

        :param sid: The Twilio-provided string that uniquely identifies the PhoneNumber resource to update.
        r   r$   ©r2   r3   r*   ©r,   r   s     r.   r'   zPhoneNumberList.get|  ó%   € ô "Ø�M‰M t§~¡~°mÑ'DÈ#ô
ð 	
r/   c                 óL   — t        | j                  | j                  d   |¬«      S rÄ   rÅ   rÆ   s     r.   Ú__call__zPhoneNumberList.__call__†  rÇ   r/   c                  ó   — y)rL   z!<Twilio.Proxy.V1.PhoneNumberList>rl   r4   s    r.   r^   zPhoneNumberList.__repr__�  r�   r/   )NN)!r_   r`   ra   r   rc   r&   r   rf   r   rg   re   r   r˜   r›   r   Úintr	   r¢   r
   r§   r   rª   r­   r‹   r¡   r¦   r¿   rÂ   r2   r'   rÉ   r^   rh   ri   s   @r.   r’   r’   _  sÛ  ø„ ðT ð T°cõ Tð$ #)§,¡,Ø+1¯<©<Ø+1¯<©<ñ	#
à�3˜�;Ñð#
ð ˜C ˜KÑ(ð#
ð ˜4 ˜<Ñ(ð	#
ð
 
ó#
ðN #)§,¡,Ø+1¯<©<Ø+1¯<©<ñ	#
à�3˜�;Ñð#
ð ˜C ˜KÑ(ð#
ð ˜4 ˜<Ñ(ð	#
ð
 
ó#
ðN  $Ø#'ñ;à˜‰}ð;ð ˜C‘=ð;ð 
Ð%Ñ	&ó	;ð6  $Ø#'ñAà˜‰}ðAð ˜C‘=ðAð 
Ð*Ñ	+ó	Að6  $Ø#'ñ
à˜‰}ð
ð ˜C‘=ð
ð 
Ð!Ñ	"ó	
ð8  $Ø#'ñ
à˜‰}ð
ð ˜C‘=ð
ð 
Ð!Ñ	"ó	
ð: *0¯©Ø*0¯,©,Ø(.¯©ñ	Hà˜#˜v˜+Ñ&ðHð ˜3 ˜;Ñ'ðHð ˜˜f˜Ñ%ð	Hð
 
óHðF *0¯©Ø*0¯,©,Ø(.¯©ñ	Hà˜#˜v˜+Ñ&ðHð ˜3 ˜;Ñ'ðHð ˜˜f˜Ñ%ð	Hð
 
óHðB
H 3ð 
H¨?ó 
Hð
H¨sð 
H°ó 
Hð
�sð 
Ð1ó 
ð
˜Cð 
Ð$6ó 
ð3˜#÷ 3r/   r’   N)rb   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   r2   r‹   r’   rl   r/   r.   ú<module>rÓ      sj   ðñõ ß L× LÑ Lß 6Ñ 6Ý 8Ý :Ý 2Ý 'Ý !ôGJÐ*ô GJôTdI˜ô dIôN3�dô 3ô*w3�lõ w3r/   