
    #IiE                     R    S SK rS SKr " S S\R                  R                  5      rg)    Nc                       \ rS rSrSrS r\S 5       r\S 5       r\S 5       r	\S 5       r
\S 5       r\S	 5       r\S
 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       rS rS rSrg)	GithubApp   zs
This class represents github apps. The reference can be found here https://docs.github.com/en/rest/reference/apps
c                 z    U R                  U R                  R                  U R                  R                  S.5      $ )N)idurl)get__repr___idvalue_urlselfs    6/venv/lib/python3.13/site-packages/github/GithubApp.py__repr__GithubApp.__repr__    s(    txx~~diioo NOO    c                 d    U R                  U R                  5        U R                  R                  $ z
:type: datetime.datetime
)_completeIfNotSet_created_atr   r   s    r   
created_atGithubApp.created_at#   *    
 	t//0%%%r   c                 d    U R                  U R                  5        U R                  R                  $ z
:type: string
)r   _descriptionr   r   s    r   descriptionGithubApp.description+   *    
 	t001  &&&r   c                 d    U R                  U R                  5        U R                  R                  $ )z
:type: list of string
)r   _eventsr   r   s    r   eventsGithubApp.events3   s&    
 	t||,||!!!r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _external_urlr   r   s    r   external_urlGithubApp.external_url;   s*    
 	t112!!'''r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   	_html_urlr   r   s    r   html_urlGithubApp.html_urlC   s&    
 	t~~.~~###r   c                 d    U R                  U R                  5        U R                  R                  $ )z
:type: int
)r   r
   r   r   s    r   r   GithubApp.idK   s$    
 	txx(xx~~r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _namer   r   s    r   nameGithubApp.nameS   &    
 	tzz*zzr   c                 d    U R                  U R                  5        U R                  R                  $ )z,
:type: :class:`Github.NamedUser.NamedUser`
)r   _ownerr   r   s    r   ownerGithubApp.owner[   s&    
 	t{{+{{   r   c                 d    U R                  U R                  5        U R                  R                  $ )z
:type: dict
)r   _permissionsr   r   s    r   permissionsGithubApp.permissionsc   r   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _slugr   r   s    r   slugGithubApp.slugk   r2   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _updated_atr   r   s    r   
updated_atGithubApp.updated_ats   r   r   c                 .    U R                   R                  $ r   )r   r   r   s    r   r   GithubApp.url{   s    
 yyr   c                    [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l	        [         R                  R                  U l
        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        g )N)githubGithubObjectNotSetr   r   r!   r%   r)   r
   r/   r4   r8   r<   r@   r   r   s    r   _initAttributesGithubApp._initAttributes   s    !..55"//66**11#0077,,33&&--((//
))00"//66((//
!..55''..	r   c                 X   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        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	        SU;   a  U R                  US   5      U l
        SU;   a2  U R                  [        R                  R                  US   5      U l        S	U;   a  U R                  US	   5      U l        S
U;   a5  U R                  US
   5      U l        U R                  SUS
    3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"   r&   r*   r   r0   r5   r9   r=   z/apps/rA   r   )_makeDatetimeAttributer   _makeStringAttributer   _makeListOfStringsAttributer!   r%   r)   _makeIntAttributer
   r/   _makeClassAttributerF   	NamedUserr4   _makeDictAttributer8   r<   r   r@   )r   
attributess     r   _useAttributesGithubApp._useAttributes   s   :%#:::l;STDJ& $ 9 9*]:S TDz!;;Jx<PQDLZ'!%!:!::n;U!VD#!66z*7MNDN:--j.>?DHZ22:f3EFDJj 22  **Jw,?DK J& $ 7 7
=8Q RDZ22:f3EFDJ11F:f;M:N2OPDI:%#:::l;STDJ11*U2CDDI r   )r   r   r!   r%   r)   r
   r/   r4   r8   r<   r@   r   N)__name__
__module____qualname____firstlineno____doc__r   propertyr   r   r"   r&   r*   r   r0   r5   r9   r=   rA   r   rI   rT   __static_attributes__ r   r   r   r      s   P & & ' ' " " ( ( $ $       ! ! ' '     & &  /Er   r   )github.GithubObjectrF   github.NamedUserrG   CompletableGithubObjectr   r]   r   r   <module>ra      s)   .  PE##;; PEr   