
    #Ii	                     J    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 rS rSrg)License   zt
This class represents Licenses. The reference can be found here https://docs.github.com/en/rest/reference/licenses
c                 P    U R                  SU R                  R                  05      $ )Nname)get__repr___namevalueselfs    4/venv/lib/python3.13/site-packages/github/License.py__repr__License.__repr__   s"    )9)9 :;;    c                 d    U R                  U R                  5        U R                  R                  $ z
:type: string
)_completeIfNotSet_keyr
   r   s    r   keyLicense.key"   $    
 	tyy)yyr   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   r	   r
   r   s    r   r   License.name*   &    
 	tzz*zzr   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _spdx_idr
   r   s    r   spdx_idLicense.spdx_id2   s&    
 	t}}-}}"""r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _urlr
   r   s    r   urlLicense.url:   r   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   	_html_urlr
   r   s    r   html_urlLicense.html_urlB   s&    
 	t~~.~~###r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _descriptionr
   r   s    r   descriptionLicense.descriptionJ   *    
 	t001  &&&r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _implementationr
   r   s    r   implementationLicense.implementationR   s*    
 	t334##)))r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _bodyr
   r   s    r   bodyLicense.bodyZ   r   r   c                 d    U R                  U R                  5        U R                  R                  $ z
:type: list of string
)r   _permissionsr
   r   s    r   permissionsLicense.permissionsb   r+   r   c                 d    U R                  U R                  5        U R                  R                  $ r5   )r   _conditionsr
   r   s    r   
conditionsLicense.conditionsj   s*    
 	t//0%%%r   c                 d    U R                  U R                  5        U R                  R                  $ r5   )r   _limitationsr
   r   s    r   limitationsLicense.limitationsr   r+   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        g )N)githubGithubObjectNotSetr   r	   r   r    r$   r(   r-   r1   r6   r:   r>   r   s    r   _initAttributesLicense._initAttributesz   s    ''..	((//
++22''..	,,33"//66%2299((//
"//66!..55"//66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        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;   a  U R                  US   5      U l        g g )Nr   r   r   r!   r%   r)   r.   r2   r7   r;   r?   )_makeStringAttributer   r	   r   r    r$   r(   r-   r1   _makeListOfStringsAttributer6   r:   r>   )r   
attributess     r   _useAttributesLicense._useAttributes   st   J11*U2CDDIZ22:f3EFDJ
" 55j6KLDMJ11*U2CDDI#!66z*7MNDNJ& $ 9 9*]:S TDz)#'#<#<+,$D  Z22:f3EFDJJ& $ @ @=)!D :%#??<( D J& $ @ @=)!D 'r   )r1   r:   r(   r$   r-   r   r>   r	   r6   r   r    N)__name__
__module____qualname____firstlineno____doc__r   propertyr   r   r   r!   r%   r)   r.   r2   r7   r;   r?   rE   rK   __static_attributes__ r   r   r   r      s    <       # #   $ $ ' ' * *     ' ' & & ' '7r   r   )github.GithubObjectrB   rC   CompletableGithubObjectr   rT   r   r   <module>rW      s$   . Kf!!99 Kr   