Ë
    [üàgø  ã                   óš   — d 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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ÚOptional)Úvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc                   ór   ‡ — 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dd„Zdd	„Zdefd
„Zˆ xZS )ÚNumberInstanceaÙ  
    :ivar number: The phone number.
    :ivar country: The name of the country.
    :ivar iso_country: The [ISO country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
    :ivar outbound_call_price:
    :ivar inbound_call_price:
    :ivar price_unit: The currency in which prices are measured, specified in [ISO 4127](http://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Únumberc                 ó”  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _	        d|xs | j                  i| _
        d | _        y )Nr   ÚcountryÚiso_countryÚoutbound_call_priceÚinbound_call_priceÚ
price_unitÚurl)ÚsuperÚ__init__Úgetr   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/v1/voice/number.pyr   zNumberInstance.__init__"   s©   ø€ ô 	‰Ñ˜Ô!à%,§[¡[°Ó%:ˆŒØ&-§k¡k°)Ó&<ˆŒØ*1¯+©+°mÓ*DˆÔØ29·+±+Ð>SÓ2TˆÔ Ø18·±Ð=QÓ1RˆÔØ)0¯©°\Ó)BˆŒØ")§+¡+¨eÓ"4ˆŒð �fÒ+ §¡ð
ˆŒð 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._proxy4   s9   € ð �=‰=Ð Ü)Ø—‘Ø—~‘~ hÑ/ôˆDŒMð �}‰}Ðr   c                 ó6   — | j                   j                  «       S )úY
        Fetch the NumberInstance


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


        :returns: The fetched NumberInstance
        N)r&   Úfetch_asyncr%   s    r   r,   zNumberInstance.fetch_asyncL   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.ú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>[   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z%<Twilio.Pricing.V1.NumberInstance {}>©Újoinr   Úitemsr3   ©r   Úcontexts     r   Ú__repr__zNumberInstance.__repr__U   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ6×=Ñ=¸gÓFÐFr   )N)r    r#   )r    r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   Ústrr   r   r   Úpropertyr&   r)   r,   r@   Ú__classcell__©r   s   @r   r   r      sd   ø„ ñð RVñ6Øð6Ø)-¨c°3¨h©ð6ØAIÈ#Áõ6ð$ òó ðó#ó/ðG˜#÷ Gr   r   c                   óL   ‡ — e Zd Zdedefˆ fd„Zdefd„Z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)zœ
        Initialize the NumberContext

        :param version: Version that contains the resource
        :param number: The phone number to fetch.
        r   z/Voice/Numbers/{number}N© )r   r   r   r3   Ú_uri)r   r   r   r   s      €r   r   zNumberContext.__init__a   s@   ø€ ô 	‰Ñ˜Ô!ð �fð
ˆŒð 5Ð-×4Ñ4ÑF°t·~±~ÑFˆ�	r   r    c                 óÐ   — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  || j                  d   ¬«      S )r(   úapplication/jsonÚAcceptÚGET©ÚmethodÚuriÚheadersr   r"   )r   Úofr$   r)   rL   r   r   ©r   rT   r   s      r   r)   zNumberContext.fetchp   s]   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆäØ�M‰MØØ—>‘> (Ñ+ô
ð 	
r   c              ƒ   óì   K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)r+   rN   rO   rP   rQ   Nr   r"   )r   rU   r$   r,   rL   r   r   rV   s      r   r,   zNumberContext.fetch_async„   sr   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô Ø�M‰MØØ—>‘> (Ñ+ô
ð 	
ð	
ús   ‚AA4ÁA2Á	*A4c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )r.   r/   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wr1   r2   r4   s      r   r8   z)NumberContext.__repr__.<locals>.<genexpr>    r9   r:   z$<Twilio.Pricing.V1.NumberContext {}>r;   r>   s     r   r@   zNumberContext.__repr__š   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ5×<Ñ<¸WÓEÐEr   )rA   rB   rC   r
   rE   r   r   r)   r,   r@   rG   rH   s   @r   r#   r#   _   s?   ø„ ðG ð G°õ Gð
�~ó 
ð(
 >ó 
ð,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 ©z_
        Constructs a NumberContext

        :param number: The phone number to fetch.
        r"   ©r#   r$   ©r   r   s     r   r   zNumberList.get¯   ó   € ô ˜TŸ]™]°6Ô:Ð:r   c                 ó0   — t        | j                  |¬«      S r^   r_   r`   s     r   Ú__call__zNumberList.__call__·   ra   r   c                  ó   — y)r.   z<Twilio.Pricing.V1.NumberList>rK   r%   s    r   r@   zNumberList.__repr__¿   s   € ð 0r   )rA   rB   rC   r
   r   rE   r#   r   rc   r@   rG   rH   s   @r   r[   r[   ¤   sA   ø„ ð" õ "ð;˜#ð ; -ó ;ð;˜sð ; }ó ;ð0˜#÷ 0r   r[   N)rD   Útypingr   r   r   Útwilio.baser   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer	   Útwilio.base.versionr
   r   r#   r[   rK   r   r   ú<module>rk      sP   ðñ÷ 'Ñ &Ý Ý 8Ý :Ý 2Ý 'ôEGÐ%ô EGôPBF�Oô BFôJ!0�õ !0r   