o
    ëÉ¶d3  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s~   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	dd„ Z
dd„ Zdd„ ZdS )ÚAuthenticationPolicyzI
    Authentication policy, currently set for the given compartment.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )	aí  
        Initializes a new AuthenticationPolicy object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param password_policy:
            The value to assign to the password_policy property of this AuthenticationPolicy.
        :type password_policy: oci.identity.models.PasswordPolicy

        :param compartment_id:
            The value to assign to the compartment_id property of this AuthenticationPolicy.
        :type compartment_id: str

        :param network_policy:
            The value to assign to the network_policy property of this AuthenticationPolicy.
        :type network_policy: oci.identity.models.NetworkPolicy

        ZPasswordPolicyÚstrZNetworkPolicy)Úpassword_policyÚcompartment_idÚnetwork_policyZpasswordPolicyZcompartmentIdZnetworkPolicyN)Zswagger_typesZattribute_mapÚ_password_policyÚ_compartment_idÚ_network_policy)ÚselfÚkwargs© r   úMusr/lib/python3.10/site-packages/oci/identity/models/authentication_policy.pyÚ__init__   s   ýý
zAuthenticationPolicy.__init__c                 C   ó   | j S )z¿
        Gets the password_policy of this AuthenticationPolicy.

        :return: The password_policy of this AuthenticationPolicy.
        :rtype: oci.identity.models.PasswordPolicy
        ©r   ©r   r   r   r   r   4   ó   z$AuthenticationPolicy.password_policyc                 C   ó
   || _ dS )zÍ
        Sets the password_policy of this AuthenticationPolicy.

        :param password_policy: The password_policy of this AuthenticationPolicy.
        :type: oci.identity.models.PasswordPolicy
        Nr   )r   r   r   r   r   r   >   ó   
c                 C   r   )z¹
        Gets the compartment_id of this AuthenticationPolicy.
        Compartment OCID.


        :return: The compartment_id of this AuthenticationPolicy.
        :rtype: str
        ©r   r   r   r   r   r	   H   s   
z#AuthenticationPolicy.compartment_idc                 C   r   )zÆ
        Sets the compartment_id of this AuthenticationPolicy.
        Compartment OCID.


        :param compartment_id: The compartment_id of this AuthenticationPolicy.
        :type: str
        Nr   )r   r	   r   r   r   r	   T   s   

c                 C   r   )z¼
        Gets the network_policy of this AuthenticationPolicy.

        :return: The network_policy of this AuthenticationPolicy.
        :rtype: oci.identity.models.NetworkPolicy
        ©r   r   r   r   r   r
   `   r   z#AuthenticationPolicy.network_policyc                 C   r   )zÉ
        Sets the network_policy of this AuthenticationPolicy.

        :param network_policy: The network_policy of this AuthenticationPolicy.
        :type: oci.identity.models.NetworkPolicy
        Nr   )r   r
   r   r   r   r
   j   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__t   s   zAuthenticationPolicy.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__w   s   zAuthenticationPolicy.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__}   s   
zAuthenticationPolicy.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r
   r   r    r!   r   r   r   r   r      s$    "
	
	


	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   