ruạṛ
a ���fp � @ 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 @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�PlainTextCredentialszU Plain text credentials [indicated by the type property in CredentialStore]. c K sV ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d| _d S )aa Initializes a new PlainTextCredentials object with values from keyword arguments. The default value of the :py:attr:`~oci.stack_monitoring.models.PlainTextCredentials.credential_type` attribute of this class is ``PLAINTEXT`` 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 PlainTextCredentials. :type source: str :param name: The value to assign to the name property of this PlainTextCredentials. :type name: str :param type: The value to assign to the type property of this PlainTextCredentials. :type type: str :param description: The value to assign to the description property of this PlainTextCredentials. :type description: str :param credential_type: The value to assign to the credential_type property of this PlainTextCredentials. Allowed values for this property are: "EXISTING", "PLAINTEXT", "ENCRYPTED" :type credential_type: str :param properties: The value to assign to the properties property of this PlainTextCredentials. :type properties: list[oci.stack_monitoring.models.CredentialProperty] �strzlist[CredentialProperty])�source�name�type�descriptionZcredential_type� propertiesr r r r ZcredentialTyper NZ PLAINTEXT)Z swagger_typesZ attribute_map�_source�_nameZ_typeZ_descriptionZ_credential_type�_properties)�self�kwargs� r �V/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/plain_text_credentials.py�__init__ s* !� � zPlainTextCredentials.__init__c C s | j S )an **[Required]** Gets the properties of this PlainTextCredentials. The credential properties list. Credential property values will be either in plain text format or encrypted for encrypted credentials. :return: The properties of this PlainTextCredentials. :rtype: list[oci.stack_monitoring.models.CredentialProperty] �r �r r r r r L s zPlainTextCredentials.propertiesc C s || _ dS )ah Sets the properties of this PlainTextCredentials. The credential properties list. Credential property values will be either in plain text format or encrypted for encrypted credentials. :param properties: The properties of this PlainTextCredentials. :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__f s zPlainTextCredentials.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__i s zPlainTextCredentials.__eq__c C s | |k S r r r r r r �__ne__o s zPlainTextCredentials.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s : r N) Zmonitored_resource_credentialr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn