📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
network_firewall
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/network_firewall/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_decryption_rule_details.cpython-39.pyc
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 )�CreateDecryptionRuleDetailsz� Request for creating 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�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new CreateDecryptionRuleDetails 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 CreateDecryptionRuleDetails. :type name: str :param condition: The value to assign to the condition property of this CreateDecryptionRuleDetails. :type condition: oci.network_firewall.models.DecryptionRuleMatchCriteria :param action: The value to assign to the action property of this CreateDecryptionRuleDetails. Allowed values for this property are: "NO_DECRYPT", "DECRYPT" :type action: str :param decryption_profile: The value to assign to the decryption_profile property of this CreateDecryptionRuleDetails. :type decryption_profile: str :param secret: The value to assign to the secret property of this CreateDecryptionRuleDetails. :type secret: str :param position: The value to assign to the position property of this CreateDecryptionRuleDetails. :type position: oci.network_firewall.models.RulePosition �strZDecryptionRuleMatchCriteriaZRulePosition)�name� condition�action�decryption_profile�secret�positionr r r ZdecryptionProfiler r N)Z swagger_typesZ attribute_map�_name� _condition�_action�_decryption_profile�_secret� _position)�self�kwargs� r �^/usr/lib/python3.9/site-packages/oci/network_firewall/models/create_decryption_rule_details.py�__init__ s( � � z$CreateDecryptionRuleDetails.__init__c C s | j S )z� **[Required]** Gets the name of this CreateDecryptionRuleDetails. Name for the decryption rule, must be unique within the policy. :return: The name of this CreateDecryptionRuleDetails. :rtype: str �r �r r r r r S s z CreateDecryptionRuleDetails.namec C s || _ dS )z� Sets the name of this CreateDecryptionRuleDetails. Name for the decryption rule, must be unique within the policy. :param name: The name of this CreateDecryptionRuleDetails. :type: str Nr )r r r r r r _ s c C s | j S )z� **[Required]** Gets the condition of this CreateDecryptionRuleDetails. :return: The condition of this CreateDecryptionRuleDetails. :rtype: oci.network_firewall.models.DecryptionRuleMatchCriteria �r r r r r r k s z%CreateDecryptionRuleDetails.conditionc C s || _ dS )z� Sets the condition of this CreateDecryptionRuleDetails. :param condition: The condition of this CreateDecryptionRuleDetails. :type: oci.network_firewall.models.DecryptionRuleMatchCriteria Nr )r r r r r r u s c C s | j S )a� **[Required]** Gets the action of this CreateDecryptionRuleDetails. 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" :return: The action of this CreateDecryptionRuleDetails. :rtype: str )r r r r r r s z"CreateDecryptionRuleDetails.actionc C s* ddg}t ||�s td|� ���|| _dS )ak Sets the action of this CreateDecryptionRuleDetails. 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 CreateDecryptionRuleDetails. :type: str r r z3Invalid value for `action`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r � s �c C s | j S )z� Gets the decryption_profile of this CreateDecryptionRuleDetails. The name of the decryption profile to use. :return: The decryption_profile of this CreateDecryptionRuleDetails. :rtype: str �r r r r r r � s z.CreateDecryptionRuleDetails.decryption_profilec C s || _ dS )z� Sets the decryption_profile of this CreateDecryptionRuleDetails. The name of the decryption profile to use. :param decryption_profile: The decryption_profile of this CreateDecryptionRuleDetails. :type: str Nr )r r r r r r � s c C s | j S )a Gets the secret of this CreateDecryptionRuleDetails. The name of a mapped secret. Its `type` must match that of the specified decryption profile. :return: The secret of this CreateDecryptionRuleDetails. :rtype: str �r r r r r r � s z"CreateDecryptionRuleDetails.secretc C s || _ dS )a Sets the secret of this CreateDecryptionRuleDetails. The name of a mapped secret. Its `type` must match that of the specified decryption profile. :param secret: The secret of this CreateDecryptionRuleDetails. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the position of this CreateDecryptionRuleDetails. :return: The position of this CreateDecryptionRuleDetails. :rtype: oci.network_firewall.models.RulePosition �r r r r r r � s z$CreateDecryptionRuleDetails.positionc C s || _ dS )z� Sets the position of this CreateDecryptionRuleDetails. :param position: The position of this CreateDecryptionRuleDetails. :type: oci.network_firewall.models.RulePosition Nr! )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z$CreateDecryptionRuleDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z"CreateDecryptionRuleDetails.__eq__c C s | |k S r"