ruạṛ
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�ImagePolicyConfigzA The properties that define a image verification policy. c K s( ddd�| _ ddd�| _d| _d| _dS )a/ Initializes a new ImagePolicyConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param is_policy_enabled: The value to assign to the is_policy_enabled property of this ImagePolicyConfig. :type is_policy_enabled: bool :param key_details: The value to assign to the key_details property of this ImagePolicyConfig. :type key_details: list[oci.container_engine.models.KeyDetails] �boolzlist[KeyDetails])�is_policy_enabled�key_detailsZisPolicyEnabledZ keyDetailsN)Z swagger_typesZ attribute_map�_is_policy_enabled�_key_details)�self�kwargs� r �S/usr/lib/python3.9/site-packages/oci/container_engine/models/image_policy_config.py�__init__ s ��zImagePolicyConfig.__init__c C s | j S )a8 Gets the is_policy_enabled of this ImagePolicyConfig. Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime. :return: The is_policy_enabled of this ImagePolicyConfig. :rtype: bool �r �r r r r r - s z#ImagePolicyConfig.is_policy_enabledc C s || _ dS )aH Sets the is_policy_enabled of this ImagePolicyConfig. Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime. :param is_policy_enabled: The is_policy_enabled of this ImagePolicyConfig. :type: bool Nr )r r r r r r 9 s c C s | j S )z� Gets the key_details of this ImagePolicyConfig. A list of KMS key details. :return: The key_details of this ImagePolicyConfig. :rtype: list[oci.container_engine.models.KeyDetails] �r r r r r r E s zImagePolicyConfig.key_detailsc C s || _ dS )z� Sets the key_details of this ImagePolicyConfig. A list of KMS key details. :param key_details: The key_details of this ImagePolicyConfig. :type: list[oci.container_engine.models.KeyDetails] Nr )r r r r r r Q s c C s t | �S �N)r r r r r �__repr__] s zImagePolicyConfig.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__` s zImagePolicyConfig.__eq__c C s | |k S r r r r r r �__ne__f s zImagePolicyConfig.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn