Ë
    Ö—Äjh)  ã                  óÞ   — d dl mZ d dlmZmZ d dlZd dlZd dlZd dl	Zd dl
Zd dlmZmZmZmZ d dlmZ erd dlmZ d dlmZ d dl	mZ d d	l
mZ  G d
„ dej*                  j,                  «      Zy)é    )Úannotations)ÚTYPE_CHECKINGÚAnyN)Ú	AttributeÚNotSetÚOptÚ
is_defined)ÚPaginatedList)Ú	NamedUser)ÚRequiredPullRequestReviews)ÚRequiredStatusChecks)ÚTeamc                  óX  — e Zd ZdZdd„Zdd„Zedd„«       Zedd„«       Zedd„«       Z	edd„«       Z
edd„«       Zedd	„«       Zedd
„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zdd„Zdd„Zd d„Zy)!ÚBranchProtectiona"  
    This class represents Branch Protection.

    The reference can be found here
    https://docs.github.com/en/rest/reference/repos#get-branch-protection

    The OpenAPI schema can be found at

    - /components/schemas/branch-protection
    - /components/schemas/protected-branch

    c                ó¸  — t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _	        t         | _
        t        j                  j                   | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        y ©N)r   Ú_allow_deletionsÚ_allow_force_pushesÚ_allow_fork_syncingÚ_block_creationsÚ_enabledÚ_enforce_adminsÚ_lock_branchÚ_nameÚ_protection_urlÚ!_required_conversation_resolutionÚgithubÚGithubObjectÚ_required_linear_historyÚ_required_pull_request_reviewsÚ_required_signaturesÚ_required_status_checksÚ_restrictionsÚ_team_push_restrictionsÚ_urlÚ_user_push_restrictions©Úselfs    ú\C:\Users\pivot\Documents\cueki\casual-preloader\Lib\site-packages\github/BranchProtection.pyÚ_initAttributesz BranchProtection._initAttributesC   s›   € Ü17ˆÔÜ4:ˆÔ Ü4:ˆÔ Ü17ˆÔÜ)/ˆŒÜ06ˆÔÜ-3ˆÔÜ%+ˆŒ
Ü/5ˆÔÜBHˆÔ.Ü9?×9LÑ9L×9SÑ9SˆÔ%ÜU[ˆÔ+Ü5;ˆÔ!ÜHNˆÔ$Ü8>ˆÔÜ17ˆÔ$Ü$*ˆŒ	Ü17ˆÕ$ó    c                óP   — | j                  d| j                  j                  i«      S )NÚurl)Úget__repr__r%   Úvaluer'   s    r)   Ú__repr__zBranchProtection.__repr__W   s    € Ø×Ñ ¨¯	©	¯©Ð 8Ó9Ð9r+   c                ód   — | j                  | j                  «       | j                  j                  S r   )Ú_completeIfNotSetr   r/   r'   s    r)   Úallow_deletionsz BranchProtection.allow_deletionsZ   s(   € à×Ñ˜t×4Ñ4Ô5Ø×$Ñ$×*Ñ*Ð*r+   c                ód   — | j                  | j                  «       | j                  j                  S r   )r2   r   r/   r'   s    r)   Úallow_force_pushesz#BranchProtection.allow_force_pushes_   ó(   € à×Ñ˜t×7Ñ7Ô8Ø×'Ñ'×-Ñ-Ð-r+   c                ód   — | j                  | j                  «       | j                  j                  S r   )r2   r   r/   r'   s    r)   Úallow_fork_syncingz#BranchProtection.allow_fork_syncingd   r6   r+   c                ó.   — | j                   j                  S r   )r   r/   r'   s    r)   Úblock_creationsz BranchProtection.block_creationsi   s   € à×$Ñ$×*Ñ*Ð*r+   c                ó.   — | j                   j                  S r   )r   r/   r'   s    r)   ÚenabledzBranchProtection.enabledm   s   € à�}‰}×"Ñ"Ð"r+   c                ód   — | j                  | j                  «       | j                  j                  S r   )r2   r   r/   r'   s    r)   Úenforce_adminszBranchProtection.enforce_adminsq   s(   € à×Ñ˜t×3Ñ3Ô4Ø×#Ñ#×)Ñ)Ð)r+   c                ód   — | j                  | j                  «       | j                  j                  S r   )r2   r   r/   r'   s    r)   Úlock_branchzBranchProtection.lock_branchv   s(   € à×Ñ˜t×0Ñ0Ô1Ø× Ñ ×&Ñ&Ð&r+   c                ó.   — | j                   j                  S r   )r   r/   r'   s    r)   ÚnamezBranchProtection.name{   s   € à�z‰z×ÑÐr+   c                ó.   — | j                   j                  S r   )r   r/   r'   s    r)   Úprotection_urlzBranchProtection.protection_url   s   € à×#Ñ#×)Ñ)Ð)r+   c                ód   — | j                  | j                  «       | j                  j                  S r   )r2   r   r/   r'   s    r)   Ú required_conversation_resolutionz1BranchProtection.required_conversation_resolutionƒ   s(   € à×Ñ˜t×EÑEÔFØ×5Ñ5×;Ñ;Ð;r+   c                ód   — | j                  | j                  «       | j                  j                  S r   )r2   r   r/   r'   s    r)   Úrequired_linear_historyz(BranchProtection.required_linear_historyˆ   s(   € à×Ñ˜t×<Ñ<Ô=Ø×,Ñ,×2Ñ2Ð2r+   c                ód   — | j                  | j                  «       | j                  j                  S r   )r2   r    r/   r'   s    r)   Úrequired_pull_request_reviewsz.BranchProtection.required_pull_request_reviews�   s(   € à×Ñ˜t×BÑBÔCØ×2Ñ2×8Ñ8Ð8r+   c                ó.   — | j                   j                  S r   )r!   r/   r'   s    r)   Úrequired_signaturesz$BranchProtection.required_signatures’   s   € à×(Ñ(×.Ñ.Ð.r+   c                ód   — | j                  | j                  «       | j                  j                  S r   )r2   r"   r/   r'   s    r)   Úrequired_status_checksz'BranchProtection.required_status_checks–   s(   € à×Ñ˜t×;Ñ;Ô<Ø×+Ñ+×1Ñ1Ð1r+   c                ó.   — | j                   j                  S r   )r#   r/   r'   s    r)   ÚrestrictionszBranchProtection.restrictions›   s   € à×!Ñ!×'Ñ'Ð'r+   c                ó.   — | j                   j                  S r   )r%   r/   r'   s    r)   r-   zBranchProtection.urlŸ   s   € à�y‰y�‰Ðr+   c                ó¢   — t        | j                  «      sy t        t        j                  j                  | j
                  | j                  d «      S r   )r	   r&   r
   r   r   Ú
_requesterr'   s    r)   Úget_user_push_restrictionsz+BranchProtection.get_user_push_restrictions£   sB   € Ü˜$×6Ñ6Ô7ØÜÜ×Ñ×&Ñ&Ø�O‰OØ×(Ñ(Øó	
ð 	
r+   c                óÊ   — t        | j                  «      sy t        j                  j                  t        j                  j                  | j
                  | j                  d «      S r   )r	   r$   r   r
   r   rS   r'   s    r)   Úget_team_push_restrictionsz+BranchProtection.get_team_push_restrictions­   sF   € Ü˜$×6Ñ6Ô7ØÜ×#Ñ#×1Ñ1´&·+±+×2BÑ2BÀDÇOÁOÐUY×UqÑUqÐswÓxÐxr+   c                óV  — d|v r| j                  |d   d   «      | _        d|v r| j                  |d   d   «      | _        d|v r| j                  |d   d   «      | _        d|v r| j                  |d   d   «      | _        d|v r| j                  |d   «      | _        d|v r| j                  |d   d   «      | _        d|v r| j                  |d   d   «      | _        d|v r| j                  |d   «      | _	        d	|v r| j                  |d	   «      | _
        d
|v r| j                  |d
   d   «      | _        d|v r| j                  |d   d   «      | _        d|v r2| j                  t        j                  j                  |d   «      | _        d|v r| j                  |d   d   «      | _        d|v r2| j                  t        j$                  j$                  |d   «      | _        d|v r$|d   | _        |d   d   | _        |d   d   | _        d|v r| j                  |d   «      | _        y y )Nr3   r<   r5   r8   r:   r>   r@   rB   rD   rF   rH   rJ   rL   rN   rP   Ú	users_urlÚ	teams_urlr-   )Ú_makeBoolAttributer   r   r   r   r   r   r   Ú_makeStringAttributer   r   r   r   Ú_makeClassAttributer   r   r    r!   r   r"   r#   r&   r$   r%   )r(   Ú
attributess     r)   Ú_useAttributeszBranchProtection._useAttributes²   sŠ  € Ø 
Ñ*Ø$(×$;Ñ$;¸JÐGXÑ<YÐZcÑ<dÓ$eˆDÔ!Ø :Ñ-Ø'+×'>Ñ'>¸zÐJ^Ñ?_Ð`iÑ?jÓ'kˆDÔ$Ø :Ñ-Ø'+×'>Ñ'>¸zÐJ^Ñ?_Ð`iÑ?jÓ'kˆDÔ$Ø 
Ñ*Ø$(×$;Ñ$;¸JÐGXÑ<YÐZcÑ<dÓ$eˆDÔ!Ø˜
Ñ"Ø ×3Ñ3°J¸yÑ4IÓJˆDŒMØ˜zÑ)Ø#'×#:Ñ#:¸:ÐFVÑ;WÐXaÑ;bÓ#cˆDÔ Ø˜JÑ&Ø $× 7Ñ 7¸
À=Ñ8QÐR[Ñ8\Ó ]ˆDÔØ�ZÑØ×2Ñ2°:¸fÑ3EÓFˆDŒJØ˜zÑ)Ø#'×#<Ñ#<¸ZÐHXÑ=YÓ#ZˆDÔ Ø-°Ñ;Ø59×5LÑ5LØÐ=Ñ>¸yÑIó6ˆDÔ2ð %¨
Ñ2Ø,0×,CÑ,CÀJÐOhÑDiÐjsÑDtÓ,uˆDÔ)Ø*¨jÑ8Ø26×2JÑ2JÜ×1Ñ1×LÑLØÐ:Ñ;ó3ˆDÔ/ð ! JÑ.Ø(,×(?Ñ(?À
ÐK`Ñ@aÐbkÑ@lÓ(mˆDÔ%Ø# zÑ1Ø+/×+CÑ+CÜ×+Ñ+×@Ñ@ØÐ3Ñ4ó,ˆDÔ(ð ˜ZÑ'Ø!+¨NÑ!;ˆDÔØ+5°nÑ+EÀkÑ+RˆDÔ(Ø+5°nÑ+EÀkÑ+RˆDÔ(Ø�JÑØ×1Ñ1°*¸UÑ2CÓDˆD�Ið r+   N)ÚreturnÚNone)r_   Ústr)r_   Úbool)r_   r   )r_   r   )r_   údict[str, Any])r_   zPaginatedList[NamedUser] | None)r_   zPaginatedList[Team] | None)r]   rc   r_   r`   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r*   r0   Úpropertyr3   r5   r8   r:   r<   r>   r@   rB   rD   rF   rH   rJ   rL   rN   rP   r-   rT   rV   r^   © r+   r)   r   r   5   sb  „ ñó8ó(:ð ò+ó ð+ð ò.ó ð.ð ò.ó ð.ð ò+ó ð+ð ò#ó ð#ð ò*ó ð*ð ò'ó ð'ð ò ó ð ð ò*ó ð*ð ò<ó ð<ð ò3ó ð3ð ò9ó ð9ð ò/ó ð/ð ò2ó ð2ð ò(ó ð(ð òó ðó
óyô
*Er+   r   )Ú
__future__r   Útypingr   r   Úgithub.GithubObjectr   Úgithub.NamedUserÚ!github.RequiredPullRequestReviewsÚgithub.RequiredStatusChecksÚgithub.Teamr   r   r   r	   Úgithub.PaginatedListr
   r   r   r   r   r   ÚCompletableGithubObjectr   ri   r+   r)   Ú<module>rs      sQ   ðõD #ç %ã Û Û (Û "Û ß BÓ BÝ .áÝ*ÝLÝ@Ý ôgE�v×*Ñ*×BÑBõ gEr+   