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 @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�DecryptionRuleSummaryz� Summary for Decryption Rule used in the firewall policy rules. A Decryption Rule is used to define which traffic should be decrypted by the firewall, and how it should do so. � NO_DECRYPT�DECRYPTc K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )a Initializes a new DecryptionRuleSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this DecryptionRuleSummary. :type name: str :param action: The value to assign to the action property of this DecryptionRuleSummary. Allowed values for this property are: "NO_DECRYPT", "DECRYPT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action: str :param decryption_profile: The value to assign to the decryption_profile property of this DecryptionRuleSummary. :type decryption_profile: str :param secret: The value to assign to the secret property of this DecryptionRuleSummary. :type secret: str :param priority_order: The value to assign to the priority_order property of this DecryptionRuleSummary. :type priority_order: int :param parent_resource_id: The value to assign to the parent_resource_id property of this DecryptionRuleSummary. :type parent_resource_id: str �str�int)�name�action�decryption_profile�secret�priority_order�parent_resource_idr r ZdecryptionProfiler Z priorityOrderZparentResourceIdN)Z swagger_typesZ attribute_map�_name�_action�_decryption_profile�_secret�_priority_order�_parent_resource_id)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/network_firewall/models/decryption_rule_summary.py�__init__ s( !� � zDecryptionRuleSummary.__init__c C s | j S )z� **[Required]** Gets the name of this DecryptionRuleSummary. Name for the decryption rule, must be unique within the policy. :return: The name of this DecryptionRuleSummary. :rtype: str �r �r r r r r T s zDecryptionRuleSummary.namec C s || _ dS )z� Sets the name of this DecryptionRuleSummary. Name for the decryption rule, must be unique within the policy. :param name: The name of this DecryptionRuleSummary. :type: str Nr )r r r r r r ` s c C s | j S )a% **[Required]** Gets the action of this DecryptionRuleSummary. Action: * NO_DECRYPT - Matching traffic is not decrypted. * DECRYPT - Matching traffic is decrypted with the specified `secret` according to the specified `decryptionProfile`. Allowed values for this property are: "NO_DECRYPT", "DECRYPT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The action of this DecryptionRuleSummary. :rtype: str )r r r r r r l s zDecryptionRuleSummary.actionc C s ddg}t ||�sd}|| _dS )a_ Sets the action of this DecryptionRuleSummary. Action: * NO_DECRYPT - Matching traffic is not decrypted. * DECRYPT - Matching traffic is decrypted with the specified `secret` according to the specified `decryptionProfile`. :param action: The action of this DecryptionRuleSummary. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r ~ s c C s | j S )z� **[Required]** Gets the decryption_profile of this DecryptionRuleSummary. The name of the decryption profile to use. :return: The decryption_profile of this DecryptionRuleSummary. :rtype: str �r r r r r r � s z(DecryptionRuleSummary.decryption_profilec C s || _ dS )z� Sets the decryption_profile of this DecryptionRuleSummary. The name of the decryption profile to use. :param decryption_profile: The decryption_profile of this DecryptionRuleSummary. :type: str Nr )r r r r r r � s c C s | j S )a **[Required]** Gets the secret of this DecryptionRuleSummary. The name of a mapped secret. Its `type` must match that of the specified decryption profile. :return: The secret of this DecryptionRuleSummary. :rtype: str �r r r r r r � s zDecryptionRuleSummary.secretc C s || _ dS )z� Sets the secret of this DecryptionRuleSummary. The name of a mapped secret. Its `type` must match that of the specified decryption profile. :param secret: The secret of this DecryptionRuleSummary. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the priority_order of this DecryptionRuleSummary. The priority order in which this rule should be evaluated. :return: The priority_order of this DecryptionRuleSummary. :rtype: int �r r r r r r � s z$DecryptionRuleSummary.priority_orderc C s || _ dS )z� Sets the priority_order of this DecryptionRuleSummary. The priority order in which this rule should be evaluated. :param priority_order: The priority_order of this DecryptionRuleSummary. :type: int Nr )r r r r r r � s c C s | j S )a **[Required]** Gets the parent_resource_id of this DecryptionRuleSummary. OCID of the Network Firewall Policy this application belongs to. :return: The parent_resource_id of this DecryptionRuleSummary. :rtype: str �r r r r r r � s z(DecryptionRuleSummary.parent_resource_idc C s || _ dS )a Sets the parent_resource_id of this DecryptionRuleSummary. OCID of the Network Firewall Policy this application belongs to. :param parent_resource_id: The parent_resource_id of this DecryptionRuleSummary. :type: str Nr! )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zDecryptionRuleSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zDecryptionRuleSummary.__eq__c C s | |k S r"