ruạṛ
a ���f�N � @ 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 ZdZdZdZdZdZdZdZ dZ d Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zd:d;� Zd<d=� Z d>d?� Z!d@S )A�NamedCredentialz, The details of a named credential. �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�RESOURCE�GLOBAL� ORACLE_DBc K s� dddddddddddddddd�| _ ddd d ddd ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a Initializes a new NamedCredential object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this NamedCredential. :type name: str :param id: The value to assign to the id property of this NamedCredential. :type id: str :param compartment_id: The value to assign to the compartment_id property of this NamedCredential. :type compartment_id: str :param description: The value to assign to the description property of this NamedCredential. :type description: str :param lifecycle_state: The value to assign to the lifecycle_state property of this NamedCredential. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this NamedCredential. :type lifecycle_details: str :param scope: The value to assign to the scope property of this NamedCredential. Allowed values for this property are: "RESOURCE", "GLOBAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type scope: str :param type: The value to assign to the type property of this NamedCredential. Allowed values for this property are: "ORACLE_DB", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param content: The value to assign to the content property of this NamedCredential. :type content: oci.database_management.models.NamedCredentialContent :param time_created: The value to assign to the time_created property of this NamedCredential. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this NamedCredential. :type time_updated: datetime :param associated_resource: The value to assign to the associated_resource property of this NamedCredential. :type associated_resource: str :param freeform_tags: The value to assign to the freeform_tags property of this NamedCredential. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this NamedCredential. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this NamedCredential. :type system_tags: dict(str, dict(str, object)) �strZNamedCredentialContentZdatetimezdict(str, str)zdict(str, dict(str, object)))�name�id�compartment_id�description�lifecycle_state�lifecycle_details�scope�type�content�time_created�time_updated�associated_resource� freeform_tags�defined_tags�system_tagsr r Z compartmentIdr ZlifecycleStateZlifecycleDetailsr r r ZtimeCreatedZtimeUpdatedZassociatedResourceZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_name�_id�_compartment_id�_description�_lifecycle_state�_lifecycle_details�_scope�_type�_content� _time_created� _time_updated�_associated_resource�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r1 �S/usr/lib/python3.9/site-packages/oci/database_management/models/named_credential.py�__init__6 s^ I��zNamedCredential.__init__c C s | j S )z� **[Required]** Gets the name of this NamedCredential. The name of the named credential. :return: The name of this NamedCredential. :rtype: str �r �r/ r1 r1 r2 r � s zNamedCredential.namec C s || _ dS )z� Sets the name of this NamedCredential. The name of the named credential. :param name: The name of this NamedCredential. :type: str Nr4 )r/ r r1 r1 r2 r � s c C s | j S )a **[Required]** Gets the id of this NamedCredential. The `OCID`__ of the named credential. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this NamedCredential. :rtype: str �r! r5 r1 r1 r2 r � s zNamedCredential.idc C s || _ dS )z� Sets the id of this NamedCredential. The `OCID`__ of the named credential. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this NamedCredential. :type: str Nr6 )r/ r r1 r1 r2 r � s c C s | j S )a **[Required]** Gets the compartment_id of this NamedCredential. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this NamedCredential. :rtype: str �r"