
    #Ii                     J    S SK r " S S\R                  R                  5      rg)    Nc                   Z    \ rS rSrSrS r\S 5       r\S 5       r\S 5       r	S r
S rS	rg
)Rate   zs
This class represents Rates. The reference can be found here https://docs.github.com/en/rest/reference/rate-limit
c                     U R                  U R                  R                  U R                  R                  U R                  R                  S.5      $ )N)limit	remainingreset)get__repr___limitvalue
_remaining_resetselfs    1/venv/lib/python3.13/site-packages/github/Rate.py__repr__Rate.__repr__$   sA    **!__22**
 	
    c                 .    U R                   R                  $ z
:type: integer
)r   r   r   s    r   r   
Rate.limit-       
 {{   r   c                 .    U R                   R                  $ r   )r   r   r   s    r   r   Rate.remaining4   s    
 $$$r   c                 .    U R                   R                  $ )z
:type: datetime.datetime
)r   r   r   s    r   r	   
Rate.reset;   r   r   c                     [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        g )N)githubGithubObjectNotSetr   r   r   r   s    r   _initAttributesRate._initAttributesB   s;    ))00 --44))00r   c                     SU;   a  U R                  US   5      U l        SU;   a  U R                  US   5      U l        SU;   a  U R                  US   5      U l        g g )Nr   r   r	   )_makeIntAttributer   r   _makeTimestampAttributer   )r   
attributess     r   _useAttributesRate._useAttributesG   sd    j 00G1DEDK*$"44Z5LMDOj 66z'7JKDK !r   )r   r   r   N)__name__
__module____qualname____firstlineno____doc__r   propertyr   r   r	   r!   r'   __static_attributes__ r   r   r   r      sS    
 ! ! % % ! !1
Lr   r   )github.GithubObjectr   r   NonCompletableGithubObjectr   r0   r   r   <module>r3      s$   8 .L699 .Lr   