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 ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�CreateMacsecPropertiesz; Properties used to configure MACsec (if capable). �ENABLED�DISABLED� AES128_GCM�AES128_GCM_XPN� AES256_GCM�AES256_GCM_XPNc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )ax Initializes a new CreateMacsecProperties object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param state: The value to assign to the state property of this CreateMacsecProperties. Allowed values for this property are: "ENABLED", "DISABLED" :type state: str :param primary_key: The value to assign to the primary_key property of this CreateMacsecProperties. :type primary_key: oci.vn_monitoring.models.CreateMacsecKey :param encryption_cipher: The value to assign to the encryption_cipher property of this CreateMacsecProperties. Allowed values for this property are: "AES128_GCM", "AES128_GCM_XPN", "AES256_GCM", "AES256_GCM_XPN" :type encryption_cipher: str �strZCreateMacsecKey)�state�primary_key�encryption_cipherr Z primaryKeyZencryptionCipherN)Z swagger_typesZ attribute_map�_state�_primary_key�_encryption_cipher)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/vn_monitoring/models/create_macsec_properties.py�__init__* s ��zCreateMacsecProperties.__init__c C s | j S )a **[Required]** Gets the state of this CreateMacsecProperties. Indicates whether or not MACsec is enabled. Allowed values for this property are: "ENABLED", "DISABLED" :return: The state of this CreateMacsecProperties. :rtype: str )r �r r r r r N s zCreateMacsecProperties.statec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the state of this CreateMacsecProperties. Indicates whether or not MACsec is enabled. :param state: The state of this CreateMacsecProperties. :type: str r r z2Invalid value for `state`, must be None or one of N)r � ValueErrorr )r r �allowed_valuesr r r r \ s �c C s | j S )z� Gets the primary_key of this CreateMacsecProperties. :return: The primary_key of this CreateMacsecProperties. :rtype: oci.vn_monitoring.models.CreateMacsecKey �r r r r r r m s z"CreateMacsecProperties.primary_keyc C s || _ dS )z� Sets the primary_key of this CreateMacsecProperties. :param primary_key: The primary_key of this CreateMacsecProperties. :type: oci.vn_monitoring.models.CreateMacsecKey Nr )r r r r r r w s c C s | j S )aa Gets the encryption_cipher of this CreateMacsecProperties. Type of encryption cipher suite to use for the MACsec connection. Allowed values for this property are: "AES128_GCM", "AES128_GCM_XPN", "AES256_GCM", "AES256_GCM_XPN" :return: The encryption_cipher of this CreateMacsecProperties. :rtype: str )r r r r r r � s z(CreateMacsecProperties.encryption_cipherc C s* g d�}t ||�s td|� ���|| _dS )a Sets the encryption_cipher of this CreateMacsecProperties. Type of encryption cipher suite to use for the MACsec connection. :param encryption_cipher: The encryption_cipher of this CreateMacsecProperties. :type: str )r r r r z>Invalid value for `encryption_cipher`, must be None or one of N)r r r )r r r r r r r � s �c C s t | �S �N)r r r r r �__repr__� s zCreateMacsecProperties.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCreateMacsecProperties.__eq__c C s | |k S r r r r r r �__ne__� s zCreateMacsecProperties.__ne__N)�__name__� __module__�__qualname__�__doc__Z STATE_ENABLEDZSTATE_DISABLEDZENCRYPTION_CIPHER_AES128_GCMZ ENCRYPTION_CIPHER_AES128_GCM_XPNZENCRYPTION_CIPHER_AES256_GCMZ ENCRYPTION_CIPHER_AES256_GCM_XPNr �propertyr �setterr r r r"