Ë
    [üàgÒ  ã                   óx   — 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  G d„ de«      Z G d	„ d
e
«      Zy)aæ  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Api
    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)ÚInstanceResource)ÚListResource)ÚVersionc                   óF   ‡ — e Zd ZdZdedeeef   defˆ fd„Zdefd„Z	ˆ xZ
S )ÚBalanceInstanceaE  
    :ivar account_sid: The unique SID identifier of the Account.
    :ivar balance: The balance of the Account, in units specified by the unit parameter. Balance changes may not be reflected immediately. Child accounts do not contain balance information
    :ivar currency: The units of currency for the account balance
    ÚversionÚpayloadÚaccount_sidc                 óº   •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        d|i| _        y )Nr   ÚbalanceÚcurrency)ÚsuperÚ__init__Úgetr   r   r   Ú	_solution)Úselfr   r   r   Ú	__class__s       €úc/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/api/v2010/account/balance.pyr   zBalanceInstance.__init__   sQ   ø€ Ü‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔØ&-§k¡k°)Ó&<ˆŒØ'.§{¡{°:Ó'>ˆŒð ˜;ð
ˆ�ó    Úreturnc                 ó„   — 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+BalanceInstance.__repr__.<locals>.<genexpr>/   s   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùs   ‚!z%<Twilio.Api.V2010.BalanceInstance {}>)Újoinr   Úitemsr   )r   Úcontexts     r   Ú__repr__zBalanceInstance.__repr__)   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ6×=Ñ=¸gÓFÐFr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   r   Ústrr   r   r'   Ú__classcell__©r   s   @r   r   r      s8   ø„ ñð	
 ð 	
°$°s¸C°x±.ð 	
Èsõ 	
ð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 )ÚBalanceListr   r   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)z¯
        Initialize the BalanceList

        :param version: Version that contains the resource
        :param account_sid: The unique SID identifier of the Account.

        r   z$/Accounts/{account_sid}/Balance.jsonN© )r   r   r   r   Ú_uri)r   r   r   r   s      €r   r   zBalanceList.__init__5   sA   ø€ ô 	‰Ñ˜Ô!ð ˜;ð
ˆŒð BÐ:×AÑAÑSÀDÇNÁNÑSˆ�	r   r   c                 óÔ   — t        j                  ddi«      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  || j                  d   ¬«      S )	új
        Asynchronously fetch the BalanceInstance


        :returns: The fetched BalanceInstance
        úContent-Typeú!application/x-www-form-urlencodedúapplication/jsonÚAcceptÚGET©ÚmethodÚuriÚheadersr   ©r   )r   ÚofÚ_versionÚfetchr3   r   r   ©r   r>   r   s      r   rB   zBalanceList.fetchE   sb   € ô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆäØ�M‰M˜7°·±¸}Ñ0Mô
ð 	
r   c              ƒ   óð   K  — t        j                  ddi«      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬	«      S 7 Œ)­w)
r5   r6   r7   r8   r9   r:   r;   Nr   r?   )r   r@   rA   Úfetch_asyncr3   r   r   rC   s      r   rE   zBalanceList.fetch_asyncV   sw   è ø€ ô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô Ø�M‰M˜7°·±¸}Ñ0Mô
ð 	
ð	
ús   ‚AA6Á
A4Á*A6c                  ó   — y)r   z<Twilio.Api.V2010.BalanceList>r2   )r   s    r   r'   zBalanceList.__repr__i   s   € ð 0r   )r(   r)   r*   r	   r,   r   r   rB   rE   r'   r-   r.   s   @r   r0   r0   3   s=   ø„ ðT ð T°cõ Tð 
�ó 
ð"
 ?ó 
ð&0˜#÷ 0r   r0   N)r+   Útypingr   r   r   Útwilio.baser   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr	   r   r0   r2   r   r   ú<module>rL      s9   ðñ÷ 'Ñ &Ý å :Ý 2Ý 'ôGÐ&ô Gô8<0�,õ <0r   