
    #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 5       r
\S 5       rS	 rS
 rSrg)CodeScanRule   z
This class represents Alerts from code scanning.
The reference can be found here https://docs.github.com/en/rest/reference/code-scanning.
c                 R    U R                  U R                  U R                  S.5      $ )N)idname)get__repr__r   r   selfs    9/venv/lib/python3.13/site-packages/github/CodeScanRule.py__repr__CodeScanRule.__repr__    s     tww		 BCC    c                 .    U R                   R                  $ z
:type: str
)_idvaluer
   s    r   r   CodeScanRule.id#   s    
 xx~~r   c                 .    U R                   R                  $ r   )_namer   r
   s    r   r   CodeScanRule.name*   s    
 zzr   c                 .    U R                   R                  $ r   )	_severityr   r
   s    r   severityCodeScanRule.severity1   s    
 ~~###r   c                 .    U R                   R                  $ r   )_security_severity_levelr   r
   s    r   security_severity_level$CodeScanRule.security_severity_level8   s    
 ,,222r   c                 .    U R                   R                  $ r   )_descriptionr   r
   s    r   descriptionCodeScanRule.description?   s    
   &&&r   c                 :   [         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
   s    r   _initAttributesCodeScanRule._initAttributesF   sc    &&--((//
,,33(.(;(;(B(B%"//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        g g )Nr   r   r   r   r"   )_makeStringAttributer   r   r   r   r!   )r   
attributess     r   _useAttributesCodeScanRule._useAttributesM   s    :00D1ABDHZ22:f3EFDJ#!66z*7MNDN$
2,0,E,E45-D) J& $ 9 9*]:S TD 'r   )r!   r   r   r   r   N)__name__
__module____qualname____firstlineno____doc__r   propertyr   r   r   r   r"   r(   r-   __static_attributes__ r   r   r   r      s|    
D       $ $ 3 3 ' '7Ur   r   )github.GithubObjectr%   r&   NonCompletableGithubObjectr   r6   r   r   <module>r9      s$   . ?U6&&AA ?Ur   