
    ,Of                      >    d dl mZmZ d dlmZmZmZ  G d de      Zy)    )AnyDict)	AttributeNonCompletableGithubObjectNotSetc                       e Zd ZdZddZdefdZedefd       Zedefd       Z	edefd       Z
edefd	       Zedefd
       Zedefd       Zdeeef   ddfdZy)GistFilez*
    This class represents GistFiles.
    returnNc                     t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        y N)r   _content	_filename	_language_raw_url_size_typeselfs    /lib/python3.12/site-packages/github/GistFile.py_initAttributeszGistFile._initAttributes0   s,    (.)/)/(.%+
%+
    c                 P    | j                  d| j                  j                  i      S )Nfilename)get__repr__r   valuer   s    r   __repr__zGistFile.__repr__8   s"    T^^-A-A BCCr   c                 .    | j                   j                  S r   )r   r   r   s    r   contentzGistFile.content;       }}"""r   c                 .    | j                   j                  S r   )r   r   r   s    r   r   zGistFile.filename?       ~~###r   c                 .    | j                   j                  S r   )r   r   r   s    r   languagezGistFile.languageC   r!   r   c                 .    | j                   j                  S r   )r   r   r   s    r   raw_urlzGistFile.raw_urlG   r   r   c                 .    | j                   j                  S r   )r   r   r   s    r   sizezGistFile.sizeK       zzr   c                 .    | j                   j                  S r   )r   r   r   s    r   typezGistFile.typeO   r(   r   
attributesc                 b   d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _        y y )Nr   r   r#   r%   r'   r*   )_makeStringAttributer   r   r   r   _makeIntAttributer   r   )r   r+   s     r   _useAttributeszGistFile._useAttributesS   s    
" 55j6KLDM#!66z*7MNDN#!66z*7MNDN
" 55j6KLDMZ//
60BCDJZ22:f3EFDJ  r   )r
   N)__name__
__module____qualname____doc__r   strr   propertyr   r   r#   r%   intr'   r*   r   r   r/    r   r   r	   r	   +   s    ,D# D # # # $# $ $ $# $ $ # # #  c      c    Gc3h GD Gr   r	   N)typingr   r   github.GithubObjectr   r   r   r	   r7   r   r   <module>r:      s    L  M M4G) 4Gr   