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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�GeneratedKeyzY The reponse to the regeuest to generate the key to encrypt or decrypt the data. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a~ Initializes a new GeneratedKey object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param ciphertext: The value to assign to the ciphertext property of this GeneratedKey. :type ciphertext: str :param plaintext: The value to assign to the plaintext property of this GeneratedKey. :type plaintext: str :param plaintext_checksum: The value to assign to the plaintext_checksum property of this GeneratedKey. :type plaintext_checksum: str �str)� ciphertext� plaintext�plaintext_checksumr r ZplaintextChecksumN)Z swagger_typesZ attribute_map�_ciphertext� _plaintext�_plaintext_checksum)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/key_management/models/generated_key.py�__init__ s ��zGeneratedKey.__init__c C s | j S )z� **[Required]** Gets the ciphertext of this GeneratedKey. The encrypted data encryption key generated from a master encryption key. :return: The ciphertext of this GeneratedKey. :rtype: str �r �r r r r r 4 s zGeneratedKey.ciphertextc C s || _ dS )z� Sets the ciphertext of this GeneratedKey. The encrypted data encryption key generated from a master encryption key. :param ciphertext: The ciphertext of this GeneratedKey. :type: str Nr )r r r r r r @ s c C s | j S )a� Gets the plaintext of this GeneratedKey. The plaintext data encryption key, a base64-encoded sequence of random bytes, which is included if the `GenerateDataEncryptionKey`__ request includes the `includePlaintextKey` parameter and sets its value to "true". __ https://docs.cloud.oracle.com/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey :return: The plaintext of this GeneratedKey. :rtype: str �r r r r r r L s zGeneratedKey.plaintextc C s || _ dS )a� Sets the plaintext of this GeneratedKey. The plaintext data encryption key, a base64-encoded sequence of random bytes, which is included if the `GenerateDataEncryptionKey`__ request includes the `includePlaintextKey` parameter and sets its value to "true". __ https://docs.cloud.oracle.com/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey :param plaintext: The plaintext of this GeneratedKey. :type: str Nr )r r r r r r \ s c C s | j S )a� Gets the plaintext_checksum of this GeneratedKey. The checksum of the plaintext data encryption key, which is included if the `GenerateDataEncryptionKey`__ request includes the `includePlaintextKey` parameter and sets its value to "true". __ https://docs.cloud.oracle.com/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey :return: The plaintext_checksum of this GeneratedKey. :rtype: str �r r r r r r l s zGeneratedKey.plaintext_checksumc C s || _ dS )a� Sets the plaintext_checksum of this GeneratedKey. The checksum of the plaintext data encryption key, which is included if the `GenerateDataEncryptionKey`__ request includes the `includePlaintextKey` parameter and sets its value to "true". __ https://docs.cloud.oracle.com/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey :param plaintext_checksum: The plaintext_checksum of this GeneratedKey. :type: str Nr )r r r r r r | s c C s t | �S �N)r r r r r �__repr__� s zGeneratedKey.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zGeneratedKey.__eq__c C s | |k S r r r r r r �__ne__� s zGeneratedKey.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"