Ë
    [üàg*$  ã                   ó¢   — d Z ddlmZmZ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y)aê  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Pricing
    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.
é    )ÚAnyÚDictÚListÚOptionalÚUnion)Úvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc                   óÆ   ‡ — e Zd ZdZ	 ddedeeef   dee   fˆ fd„Z	e
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 )ÚNumberInstanceaÆ  
    :ivar destination_number: The destination 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 origination_number: The origination 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 country: The name of the country.
    :ivar iso_country: The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
    :ivar outbound_call_prices: The list of [OutboundCallPriceWithOrigin](https://www.twilio.com/docs/voice/pricing#outbound-call-price-with-origin) records.
    :ivar inbound_call_price:
    :ivar price_unit: The currency in which prices are measured, specified in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format (e.g. `usd`, `eur`, `jpy`).
    :ivar url: The absolute URL of the resource.
    ÚversionÚpayloadÚdestination_numberc                 óÀ  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _	        |j                  d«      | _
        d|xs | j                  i| _        d | _        y )	Nr   Úorigination_numberÚcountryÚiso_countryÚoutbound_call_pricesÚinbound_call_priceÚ
price_unitÚurl)ÚsuperÚ__init__Úgetr   r   r   r   r   r   r   r   Ú	_solutionÚ_context)Úselfr   r   r   Ú	__class__s       €úa/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/pricing/v2/voice/number.pyr   zNumberInstance.__init__#   sÄ   ø€ ô 	‰Ñ˜Ô!à18·±Ð=QÓ1RˆÔØ18·±Ð=QÓ1RˆÔØ&-§k¡k°)Ó&<ˆŒØ*1¯+©+°mÓ*DˆÔØ9@¿¹Ø"ó:
ˆÔ!ð 29·±Ð=QÓ1RˆÔØ)0¯©°\Ó)BˆŒØ")§+¡+¨eÓ"4ˆŒð !Ð"4Ò"O¸×8OÑ8Oð
ˆŒð 26ˆ�ó    Úreturnc                 ó„   — | j                   €)t        | j                  | 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: NumberContext for this NumberInstance
        r   ©r   )r   ÚNumberContextÚ_versionr   ©r   s    r!   Ú_proxyzNumberInstance._proxy;   s:   € ð �=‰=Ð Ü)Ø—‘Ø#'§>¡>Ð2FÑ#GôˆDŒMð �}‰}Ðr"   r   c                 ó:   — | j                   j                  |¬«      S )ám  
        Fetch the NumberInstance

        :param origination_number: The origination phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number.

        :returns: The fetched NumberInstance
        ©r   )r)   Úfetch©r   r   s     r!   r-   zNumberInstance.fetchJ   s#   € ð �{‰{× Ñ Ø1ð !ó 
ð 	
r"   c              ƒ   óV   K  — | j                   j                  |¬«      ƒ d{  –—† S 7 Œ­w)á‡  
        Asynchronous coroutine to fetch the NumberInstance

        :param origination_number: The origination phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number.

        :returns: The fetched NumberInstance
        r,   N)r)   Úfetch_asyncr.   s     r!   r1   zNumberInstance.fetch_asyncX   s1   è ø€ ð —[‘[×,Ñ,Ø1ð -ó 
÷ 
ð 	
ð 
ú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*NumberInstance.__repr__.<locals>.<genexpr>l   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z%<Twilio.Pricing.V2.NumberInstance {}>©Újoinr   Úitemsr8   ©r   Úcontexts     r!   Ú__repr__zNumberInstance.__repr__f   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ6×=Ñ=¸gÓFÐFr"   )N)r#   r&   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r   Úpropertyr)   r   Úunsetr   Úobjectr-   r1   rE   Ú__classcell__©r    s   @r!   r   r      sª   ø„ ñ	ð -1ñ	6àð6ð �c˜3�h‘ð6ð % S™Mõ	6ð0 òó ðð 8>·|±|ñ
Ø"'¨¨V¨Ñ"4ð
à	ó
ð 8>·|±|ñ
Ø"'¨¨V¨Ñ"4ð
à	ó
ðG˜#÷ Gr"   r   c                   ó˜   ‡ — e Zd Zdedefˆ 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 )	r&   r   r   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)a~  
        Initialize the NumberContext

        :param version: Version that contains the resource
        :param destination_number: The destination phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number.
        r   z#/Voice/Numbers/{destination_number}N© )r   r   r   r8   Ú_uri)r   r   r   r    s      €r!   r   zNumberContext.__init__r   sB   ø€ ô 	‰Ñ˜Ô!ð !Ð"4ð
ˆŒð AÐ9×@Ñ@ÑRÀ4Ç>Á>ÑRˆ�	r"   r   r#   c                 ó   — t        j                  d|i«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  d   ¬«      S )r+   ÚOriginationNumberúapplication/jsonÚAcceptÚGET©ÚmethodÚuriÚparamsÚheadersr   r%   )r   Úofr'   r-   rS   r   r   ©r   r   Údatar]   r   s        r!   r-   zNumberContext.fetch�   s‚   € ô �y‰yà#Ð%7ðó
ˆô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô Ø�M‰MØØ#Ÿ~™~Ð.BÑCô
ð 	
r"   c              ƒ   ó  K  — t        j                  d|i«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)	r0   rU   rV   rW   rX   rY   Nr   r%   )r   r^   r'   r1   rS   r   r   r_   s        r!   r1   zNumberContext.fetch_async    s�   è ø€ ô �y‰yà#Ð%7ðó
ˆô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô Ø�M‰MØØ#Ÿ~™~Ð.BÑCô
ð 	
ð	
ús   ‚ABÁ B
Á!*Bc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )r3   r4   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wr6   r7   r9   s      r!   r=   z)NumberContext.__repr__.<locals>.<genexpr>Å   r>   r?   z$<Twilio.Pricing.V2.NumberContext {}>r@   rC   s     r!   rE   zNumberContext.__repr__¿   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ5×<Ñ<¸WÓEÐEr"   )rF   rG   rH   r   rJ   r   r   rL   r   rM   r   r-   r1   rE   rN   rO   s   @r!   r&   r&   p   sv   ø„ ðS ð S¸Sõ Sð  8>·|±|ñ
Ø"'¨¨V¨Ñ"4ð
à	ó
ð@ 8>·|±|ñ
Ø"'¨¨V¨Ñ"4ð
à	ó
ð>F˜#÷ Fr"   r&   c                   óP   ‡ — e Zd Zdefˆ 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 )Ú
NumberListr   c                 ó$   •— t         ‰| �  |«       y)zh
        Initialize the NumberList

        :param version: Version that contains the resource

        N)r   r   )r   r   r    s     €r!   r   zNumberList.__init__Ë   s   ø€ ô 	‰Ñ˜Õ!r"   r   r#   c                 ó0   — t        | j                  |¬«      S ©aA  
        Constructs a NumberContext

        :param destination_number: The destination phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number.
        r%   ©r&   r'   ©r   r   s     r!   r   zNumberList.getÔ   ó   € ô ˜TŸ]™]Ð?QÔRÐRr"   c                 ó0   — t        | j                  |¬«      S rh   ri   rj   s     r!   Ú__call__zNumberList.__call__Ü   rk   r"   c                  ó   — y)r3   z<Twilio.Pricing.V2.NumberList>rR   r(   s    r!   rE   zNumberList.__repr__ä   s   € ð 0r"   )rF   rG   rH   r   r   rJ   r&   r   rm   rE   rN   rO   s   @r!   re   re   É   sG   ø„ ð" õ "ðS cð S¨mó SðS¨3ð S°=ó Sð0˜#÷ 0r"   re   N)rI   Útypingr   r   r   r   r   Útwilio.baser   Útwilio.base.instance_contextr	   Útwilio.base.instance_resourcer
   Útwilio.base.list_resourcer   Útwilio.base.versionr   r   r&   re   rR   r"   r!   ú<module>ru      sP   ðñ÷ 4Õ 3Ý Ý 8Ý :Ý 2Ý 'ôVGÐ%ô VGôrVF�Oô VFôr!0�õ !0r"   