
    #Ii                    z    S SK Jr  S SKrS SKrS SKr " S S\R                  R                  5      r " S S5      r	g)    )annotationsNc                  R    \ rS rSrSrS r\S
S j5       r\SS j5       rS r	S r
Srg	)!EnvironmentProtectionRuleReviewer   z
This class represents a reviewer for an EnvironmentProtectionRule. The reference can be found here https://docs.github.com/en/rest/reference/deployments#environments
c                P    U R                  SU R                  R                  05      $ )Ntype)get__repr___typevalueselfs    N/venv/lib/python3.13/site-packages/github/EnvironmentProtectionRuleReviewer.py__repr__*EnvironmentProtectionRuleReviewer.__repr__#   s"    )9)9 :;;    c                .    U R                   R                  $ N)r
   r   r   s    r   r   &EnvironmentProtectionRuleReviewer.type&   s    zzr   c                .    U R                   R                  $ r   )	_reviewerr   r   s    r   reviewer*EnvironmentProtectionRuleReviewer.reviewer*   s    ~~###r   c                    [         R                  R                  U l        [         R                  R                  U l        g r   )githubGithubObjectNotSetr
   r   r   s    r   _initAttributes1EnvironmentProtectionRuleReviewer._initAttributes.   s(    ((//
,,33r   c                   SU;   a  U R                  US   5      U l        SU;   a  U R                  R                  S;   d   eU R                  R                  S:X  a3  U R                  [        R
                  R
                  US   5      U l        g U R                  R                  S:X  a3  U R                  [        R                  R                  US   5      U l        g g g )Nr   r   UserTeamr!   r"   )_makeStringAttributer
   r   _makeClassAttributer   	NamedUserr   r"   )r   
attributess     r   _useAttributes0EnvironmentProtectionRuleReviewer._useAttributes2   s    Z22:f3EFDJ#::##'7777zz6)!%!9!9$$..
:0F" !!V+!%!9!9KK$$j&<" , $r   )r   r
   N)returnstr)r)   z-github.NamedUser.NamedUser | github.Team.Team)__name__
__module____qualname____firstlineno____doc__r   propertyr   r   r   r'   __static_attributes__ r   r   r   r      s>    <     $ $4r   r   c                  ,    \ rS rSrSrSS jrSS jrSrg)	ReviewerParamsA   zH
This class presents reviewers as can be configured for an Environment.
c                    [        U[        5      (       a  US;   d   e[        U[        5      (       d   eXl        X l        g )Nr    )
isinstancer*   intr   id)r   type_id_s      r   __init__ReviewerParams.__init__F   s:    %%%%3C*CCC#s####	r   c                4    U R                   U R                  S.$ )Nr   r9   r?   r   s    r   _asdictReviewerParams._asdictL   s    II''
 	
r   )r9   r   N)r:   r*   r;   r8   )r)   dict)r+   r,   r-   r.   r/   r<   r@   r1   r2   r   r   r4   r4   A   s    
r   r4   )

__future__r   github.GithubObjectr   github.NamedUsergithub.Teamr   NonCompletableGithubObjectr   r4   r2   r   r   <module>rH      s6   . #    (;(;(V(V  F
 
r   