ruạṛ
a N��fB � @ 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 )�MacsecPropertiesz2 Properties used for MACsec (if capable). �ENABLED�DISABLED� AES128_GCM�AES128_GCM_XPN� AES256_GCM�AES256_GCM_XPNc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )aC Initializes a new MacsecProperties 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 MacsecProperties. Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type state: str :param primary_key: The value to assign to the primary_key property of this MacsecProperties. :type primary_key: oci.core.models.MacsecKey :param encryption_cipher: The value to assign to the encryption_cipher property of this MacsecProperties. Allowed values for this property are: "AES128_GCM", "AES128_GCM_XPN", "AES256_GCM", "AES256_GCM_XPN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type encryption_cipher: str �str� MacsecKey)�state�primary_key�encryption_cipherr � primaryKey�encryptionCipherN)� swagger_types� attribute_map�_state�_primary_key�_encryption_cipher)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/macsec_properties.py�__init__( s ��zMacsecProperties.__init__c C s | j S )a� **[Required]** Gets the state of this MacsecProperties. Indicates whether or not MACsec is enabled. Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The state of this MacsecProperties. :rtype: str )r �r r r r r N s zMacsecProperties.statec C s ddg}t ||�sd}|| _dS )z� Sets the state of this MacsecProperties. Indicates whether or not MACsec is enabled. :param state: The state of this MacsecProperties. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r ] s c C s | j S )z� Gets the primary_key of this MacsecProperties. :return: The primary_key of this MacsecProperties. :rtype: oci.core.models.MacsecKey �r r r r r r l s zMacsecProperties.primary_keyc C s || _ dS )z� Sets the primary_key of this MacsecProperties. :param primary_key: The primary_key of this MacsecProperties. :type: oci.core.models.MacsecKey Nr! )r r r r r r v s c C s | j S )a� Gets the encryption_cipher of this MacsecProperties. 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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The encryption_cipher of this MacsecProperties. :rtype: str )r r r r r r � s z"MacsecProperties.encryption_cipherc C s g d�}t ||�sd}|| _dS )z� Sets the encryption_cipher of this MacsecProperties. Type of encryption cipher suite to use for the MACsec connection. :param encryption_cipher: The encryption_cipher of this MacsecProperties. :type: str )r r r r r N)r r )r r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zMacsecProperties.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zMacsecProperties.__eq__c C s | |k S r"