
    i?1iv                     l    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
  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)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       o/home/www/therecruiter.miabetepe.com/venv/lib/python3.12/site-packages/twilio/rest/api/v2010/account/balance.pyr   zBalanceInstance.__init__   sQ    !*1++m*D&-kk)&<'.{{:'> ;
    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>0   s     SDAq7>>!Q/Ss   !z%<Twilio.Api.V2010.BalanceInstance {}>)joinr   itemsr   )r   contexts     r   __repr__zBalanceInstance.__repr__*   s6     ((SDNN<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    	
 	
$sCx. 	
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SDNNS	r   r   c                     | j                   j                  d| j                        }t        | j                   || j                  d         S )j
        Asynchronously fetch the BalanceInstance


        :returns: The fetched BalanceInstance
        GETmethodurir   r   )_versionfetchr2   r
   r   r   r   s     r   r;   zBalanceList.fetchE   sB     --%%U		%BMM7}0M
 	
r   c                    K   | j                   j                  d| j                         d{   }t        | j                   || j                  d         S 7 )w)r4   r5   r6   Nr   r9   )r:   fetch_asyncr2   r
   r   r<   s     r   r>   zBalanceList.fetch_asyncS   sO      11DII1NNMM7}0M
 	
 Os   +AA*Ac                      y)r   z<Twilio.Api.V2010.BalanceList>r1   )r   s    r   r&   zBalanceList.__repr__a   s     0r   )r'   r(   r)   r   r+   r   r
   r;   r>   r&   r,   r-   s   @r   r/   r/   4   s=    T Tc T 
 

? 
0# 0r   r/   N)r*   typingr   r   r   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   r
   r/   r1   r   r   <module>rD      s6    ' & : 2 'G& G:30, 30r   