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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )�DataKeyzK The information about a Data Key, including the Data Key's value. �PRIVATE�PUBLICc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )ah Initializes a new DataKey object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param value: The value to assign to the value property of this DataKey. :type value: str :param name: The value to assign to the name property of this DataKey. :type name: str :param type: The value to assign to the type property of this DataKey. Allowed values for this property are: "PRIVATE", "PUBLIC" :type type: str �str)�value�name�typer r r N)Z swagger_typesZ attribute_map�_value�_name�_type)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/apm_control_plane/models/data_key.py�__init__ s ��zDataKey.__init__c C s | j S )z� Gets the value of this DataKey. Value of the Data Key. :return: The value of this DataKey. :rtype: str �r �r r r r r = s z DataKey.valuec C s || _ dS )z� Sets the value of this DataKey. Value of the Data Key. :param value: The value of this DataKey. :type: str Nr )r r r r r r I s c C s | j S )z� **[Required]** Gets the name of this DataKey. Name of the Data Key. The name uniquely identifies a Data Key within an APM domain. :return: The name of this DataKey. :rtype: str �r r r r r r U s zDataKey.namec C s || _ dS )z� Sets the name of this DataKey. Name of the Data Key. The name uniquely identifies a Data Key within an APM domain. :param name: The name of this DataKey. :type: str Nr )r r r r r r a s c C s | j S )z� **[Required]** Gets the type of this DataKey. Type of the Data Key. Allowed values for this property are: "PRIVATE", "PUBLIC" :return: The type of this DataKey. :rtype: str )r r r r r r m s zDataKey.typec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the type of this DataKey. Type of the Data Key. :param type: The type of this DataKey. :type: str r r z1Invalid value for `type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r { s �c C s t | �S �N)r r r r r �__repr__� s zDataKey.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zDataKey.__eq__c C s | |k S r r r r r r �__ne__� s zDataKey.__ne__N)�__name__� __module__�__qualname__�__doc__ZTYPE_PRIVATEZTYPE_PUBLICr �propertyr �setterr r r r r r r r r r s&