ruạṛ
a O��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 ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�EncryptionKeyInfoSummaryz3 This is the summary of an encryption key. �ORACLE_MANAGED�CUSTOMER_MANAGED�ACTIVE_DATA� ARCHIVAL_DATA�ALLc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a( Initializes a new EncryptionKeyInfoSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key_source: The value to assign to the key_source property of this EncryptionKeyInfoSummary. Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type key_source: str :param key_id: The value to assign to the key_id property of this EncryptionKeyInfoSummary. :type key_id: str :param key_type: The value to assign to the key_type property of this EncryptionKeyInfoSummary. Allowed values for this property are: "ACTIVE_DATA", "ARCHIVAL_DATA", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type key_type: str �str)� key_source�key_id�key_type� keySource�keyId�keyTypeN)� swagger_types� attribute_map�_key_source�_key_id� _key_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/log_analytics/models/encryption_key_info_summary.py�__init__$ s ��z!EncryptionKeyInfoSummary.__init__c C s | j S )a� **[Required]** Gets the key_source of this EncryptionKeyInfoSummary. This is the source of the encryption key. Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The key_source of this EncryptionKeyInfoSummary. :rtype: str )r �r r r r r J s z#EncryptionKeyInfoSummary.key_sourcec C s ddg}t ||�sd}|| _dS )z� Sets the key_source of this EncryptionKeyInfoSummary. This is the source of the encryption key. :param key_source: The key_source of this EncryptionKeyInfoSummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r Y s c C s | j S )z� **[Required]** Gets the key_id of this EncryptionKeyInfoSummary. This is the key OCID of the encryption key (null if Oracle-managed). :return: The key_id of this EncryptionKeyInfoSummary. :rtype: str �r r r r r r h s zEncryptionKeyInfoSummary.key_idc C s || _ dS )z� Sets the key_id of this EncryptionKeyInfoSummary. This is the key OCID of the encryption key (null if Oracle-managed). :param key_id: The key_id of this EncryptionKeyInfoSummary. :type: str Nr )r r r r r r t s c C s | j S )a� **[Required]** Gets the key_type of this EncryptionKeyInfoSummary. This is the type of data to be encrypted. It can be either active or archival. Allowed values for this property are: "ACTIVE_DATA", "ARCHIVAL_DATA", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The key_type of this EncryptionKeyInfoSummary. :rtype: str )r r r r r r � s z!EncryptionKeyInfoSummary.key_typec C s g d�}t ||�sd}|| _dS )z� Sets the key_type of this EncryptionKeyInfoSummary. This is the type of data to be encrypted. It can be either active or archival. :param key_type: The key_type of this EncryptionKeyInfoSummary. :type: str )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 z!EncryptionKeyInfoSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zEncryptionKeyInfoSummary.__eq__c C s | |k S r! r r$ r r r �__ne__� s zEncryptionKeyInfoSummary.__ne__N)�__name__� __module__�__qualname__�__doc__�KEY_SOURCE_ORACLE_MANAGED�KEY_SOURCE_CUSTOMER_MANAGED�KEY_TYPE_ACTIVE_DATA�KEY_TYPE_ARCHIVAL_DATA�KEY_TYPE_ALLr �propertyr �setterr r r"