Ë
    ,Oàf©  ã                   óR   — d dl mZmZ d dlmZmZmZ  G d„ de«      Z G d„ d«      Zy)é    )ÚAnyÚDict)Ú	AttributeÚNonCompletableGithubObjectÚNotSetc                   ój   — e Zd ZdZd
d„Zdefd„Zedefd„«       Z	edefd„«       Z
deeef   ddfd	„Zy)Ú!EnvironmentDeploymentBranchPolicyz»
    This class represents a deployment branch policy for an environment.

    The reference can be found here
    https://docs.github.com/en/rest/reference/deployments#environments

    ÚreturnNc                 ó0   — t         | _        t         | _        y ©N)r   Ú_protected_branchesÚ_custom_branch_policies©Úselfs    úHlib/python3.12/site-packages/github/EnvironmentDeploymentBranchPolicy.pyÚ_initAttributesz1EnvironmentDeploymentBranchPolicy._initAttributes*   s   € Ü4:ˆÔ Ü8>ˆÕ$ó    c                 ó$   — | j                  i «      S r   )Úget__repr__r   s    r   Ú__repr__z*EnvironmentDeploymentBranchPolicy.__repr__.   s   € Ø×Ñ Ó#Ð#r   c                 ó.   — | j                   j                  S r   )r   Úvaluer   s    r   Úprotected_branchesz4EnvironmentDeploymentBranchPolicy.protected_branches1   s   € à×'Ñ'×-Ñ-Ð-r   c                 ó.   — | j                   j                  S r   )r   r   r   s    r   Úcustom_branch_policiesz8EnvironmentDeploymentBranchPolicy.custom_branch_policies5   s   € à×+Ñ+×1Ñ1Ð1r   Ú
attributesc                 óz   — d|v r| j                  |d   «      | _        d|v r| j                  |d   «      | _        y y )Nr   r   )Ú_makeBoolAttributer   r   )r   r   s     r   Ú_useAttributesz0EnvironmentDeploymentBranchPolicy._useAttributes9   sI   € Ø :Ñ-Ø'+×'>Ñ'>¸zÐJ^Ñ?_Ó'`ˆDÔ$Ø# zÑ1Ø+/×+BÑ+BÀ:ÐNfÑCgÓ+hˆDÕ(ð 2r   )r
   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ústrr   ÚpropertyÚboolr   r   r   r   r   © r   r   r	   r	   !   sl   „ ñó?ð$˜#ó $ð ð. Dò .ó ð.ð ð2¨ò 2ó ð2ði¨¨c°3¨h©ð i¸Dô ir   r	   c                   ó.   — e Zd ZdZddedefd„Zdefd„Zy)	Ú'EnvironmentDeploymentBranchPolicyParamszn
    This class presents the deployment branch policy parameters as can be configured for an Environment.
    r   r   c                 óh   — t        |t        «      sJ ‚t        |t        «      sJ ‚|| _        || _        y r   )Ú
isinstancer&   r   r   )r   r   r   s      r   Ú__init__z0EnvironmentDeploymentBranchPolicyParams.__init__E   s4   € ÜÐ,¬dÔ3Ð3Ð3ÜÐ0´$Ô7Ð7Ð7Ø"4ˆÔØ&<ˆÕ#r   r
   c                 ó4   — | j                   | j                  dœS )N©r   r   r.   r   s    r   Ú_asdictz/EnvironmentDeploymentBranchPolicyParams._asdictK   s   € à"&×"9Ñ"9Ø&*×&AÑ&Añ
ð 	
r   N)FF)r    r!   r"   r#   r&   r,   Údictr/   r'   r   r   r)   r)   @   s'   „ ññ=¨4ð =ÐQUó =ð
˜ô 
r   r)   N)	Útypingr   r   Úgithub.GithubObjectr   r   r   r	   r)   r'   r   r   ú<module>r3      s)   ð÷8 ç MÑ MôiÐ(Bô i÷>
ò 
r   