ruạṛ
a N��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 )ao 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.core.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 �str�CreateMacsecKey)�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/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 L 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 z5Invalid value for `state`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r Z s ��c C s | j S )z� Gets the primary_key of this CreateMacsecProperties. :return: The primary_key of this CreateMacsecProperties. :rtype: oci.core.models.CreateMacsecKey �r r r r r r l 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.core.models.CreateMacsecKey Nr"