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� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS )�DecryptionProfilez? Decryption Profile used on the firewall policy rules. �SSL_INBOUND_INSPECTION�SSL_FORWARD_PROXYc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new DecryptionProfile object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.network_firewall.models.SslInboundInspectionProfile` * :class:`~oci.network_firewall.models.SslForwardProxyProfile` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this DecryptionProfile. Allowed values for this property are: "SSL_INBOUND_INSPECTION", "SSL_FORWARD_PROXY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param name: The value to assign to the name property of this DecryptionProfile. :type name: str :param parent_resource_id: The value to assign to the parent_resource_id property of this DecryptionProfile. :type parent_resource_id: str �str)�type�name�parent_resource_idr r ZparentResourceIdN)Z swagger_typesZ attribute_map�_type�_name�_parent_resource_id)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/network_firewall/models/decryption_profile.py�__init__ s ��zDecryptionProfile.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZSslInboundInspectionProfiler ZSslForwardProxyProfiler Nr )Zobject_dictionaryr r r r �get_subtypeC s zDecryptionProfile.get_subtypec C s | j S )a� **[Required]** Gets the type of this DecryptionProfile. Describes the type of Decryption Profile SslForwardProxy or SslInboundInspection. Allowed values for this property are: "SSL_INBOUND_INSPECTION", "SSL_FORWARD_PROXY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this DecryptionProfile. :rtype: str )r �r r r r r S s zDecryptionProfile.typec C s ddg}t ||�sd}|| _dS )z� Sets the type of this DecryptionProfile. Describes the type of Decryption Profile SslForwardProxy or SslInboundInspection. :param type: The type of this DecryptionProfile. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r b s c C s | j S )z� **[Required]** Gets the name of this DecryptionProfile. Unique Name of the decryption profile. :return: The name of this DecryptionProfile. :rtype: str �r r r r r r q s zDecryptionProfile.namec C s || _ dS )z� Sets the name of this DecryptionProfile. Unique Name of the decryption profile. :param name: The name of this DecryptionProfile. :type: str Nr )r r r r r r } s c C s | j S )a **[Required]** Gets the parent_resource_id of this DecryptionProfile. OCID of the Network Firewall Policy this decryption profile belongs to. :return: The parent_resource_id of this DecryptionProfile. :rtype: str �r r r r r r � s z$DecryptionProfile.parent_resource_idc C s || _ dS )a Sets the parent_resource_id of this DecryptionProfile. OCID of the Network Firewall Policy this decryption profile belongs to. :param parent_resource_id: The parent_resource_id of this DecryptionProfile. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zDecryptionProfile.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zDecryptionProfile.__eq__c C s | |k S r r r r r r �__ne__� s zDecryptionProfile.__ne__N)�__name__� __module__�__qualname__�__doc__ZTYPE_SSL_INBOUND_INSPECTIONZTYPE_SSL_FORWARD_PROXYr �staticmethodr �propertyr �setterr r 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