ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�MonitoredResourceCredential� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�EncryptedCredentialszT Encrypted credentials [indicated by the type property in CredentialStore]. c K s` dddddddd�| _ dddddd d d�| _d| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new EncryptedCredentials object with values from keyword arguments. The default value of the :py:attr:`~oci.stack_monitoring.models.EncryptedCredentials.credential_type` attribute of this class is ``ENCRYPTED`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param source: The value to assign to the source property of this EncryptedCredentials. :type source: str :param name: The value to assign to the name property of this EncryptedCredentials. :type name: str :param type: The value to assign to the type property of this EncryptedCredentials. :type type: str :param description: The value to assign to the description property of this EncryptedCredentials. :type description: str :param credential_type: The value to assign to the credential_type property of this EncryptedCredentials. Allowed values for this property are: "EXISTING", "PLAINTEXT", "ENCRYPTED" :type credential_type: str :param key_id: The value to assign to the key_id property of this EncryptedCredentials. :type key_id: str :param properties: The value to assign to the properties property of this EncryptedCredentials. :type properties: list[oci.stack_monitoring.models.CredentialProperty] �strzlist[CredentialProperty])�source�name�type�descriptionZcredential_type�key_id� propertiesr r r r ZcredentialTypeZkeyIdr NZ ENCRYPTED) Z swagger_typesZ attribute_map�_source�_nameZ_typeZ_descriptionZ_credential_type�_key_id�_properties)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/encrypted_credentials.py�__init__ s0 %�� zEncryptedCredentials.__init__c C s | j S )a6 **[Required]** Gets the key_id of this EncryptedCredentials. The master key should be created in OCI Vault owned by the client of this API. The user should have permission to access the vault key. :return: The key_id of this EncryptedCredentials. :rtype: str �r �r r r r r S s zEncryptedCredentials.key_idc C s || _ dS )a, Sets the key_id of this EncryptedCredentials. The master key should be created in OCI Vault owned by the client of this API. The user should have permission to access the vault key. :param key_id: The key_id of this EncryptedCredentials. :type: str Nr )r r r r r r ` s c C s | j S )a4 **[Required]** Gets the properties of this EncryptedCredentials. The credential properties list. Credential property values will be encrypted format. :return: The properties of this EncryptedCredentials. :rtype: list[oci.stack_monitoring.models.CredentialProperty] �r r r r r r m s zEncryptedCredentials.propertiesc C s || _ dS )a. Sets the properties of this EncryptedCredentials. The credential properties list. Credential property values will be encrypted format. :param properties: The properties of this EncryptedCredentials. :type: list[oci.stack_monitoring.models.CredentialProperty] Nr )r r r r r r y s c C s t | �S �N)r r r r r �__repr__� s zEncryptedCredentials.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zEncryptedCredentials.__eq__c C s | |k S r r r r r r �__ne__� s zEncryptedCredentials.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r! r"