ruạṛ
a O��f�/ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DatabaseInsight� )�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 ed d� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Z dd� ZdS )�AutonomousDatabaseInsightz$ Database insight resource. c K s� ddddddddddddddddddddd�| _ dd d ddd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )aL Initializes a new AutonomousDatabaseInsight object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.AutonomousDatabaseInsight.entity_source` attribute of this class is ``AUTONOMOUS_DATABASE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param entity_source: The value to assign to the entity_source property of this AutonomousDatabaseInsight. Allowed values for this property are: "AUTONOMOUS_DATABASE", "EM_MANAGED_EXTERNAL_DATABASE", "MACS_MANAGED_EXTERNAL_DATABASE", "PE_COMANAGED_DATABASE" :type entity_source: str :param id: The value to assign to the id property of this AutonomousDatabaseInsight. :type id: str :param compartment_id: The value to assign to the compartment_id property of this AutonomousDatabaseInsight. :type compartment_id: str :param status: The value to assign to the status property of this AutonomousDatabaseInsight. Allowed values for this property are: "DISABLED", "ENABLED", "TERMINATED" :type status: str :param database_type: The value to assign to the database_type property of this AutonomousDatabaseInsight. :type database_type: str :param database_version: The value to assign to the database_version property of this AutonomousDatabaseInsight. :type database_version: str :param processor_count: The value to assign to the processor_count property of this AutonomousDatabaseInsight. :type processor_count: int :param freeform_tags: The value to assign to the freeform_tags property of this AutonomousDatabaseInsight. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AutonomousDatabaseInsight. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AutonomousDatabaseInsight. :type system_tags: dict(str, dict(str, object)) :param time_created: The value to assign to the time_created property of this AutonomousDatabaseInsight. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AutonomousDatabaseInsight. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this AutonomousDatabaseInsight. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this AutonomousDatabaseInsight. :type lifecycle_details: str :param database_connection_status_details: The value to assign to the database_connection_status_details property of this AutonomousDatabaseInsight. :type database_connection_status_details: str :param database_id: The value to assign to the database_id property of this AutonomousDatabaseInsight. :type database_id: str :param database_name: The value to assign to the database_name property of this AutonomousDatabaseInsight. :type database_name: str :param database_display_name: The value to assign to the database_display_name property of this AutonomousDatabaseInsight. :type database_display_name: str :param database_resource_type: The value to assign to the database_resource_type property of this AutonomousDatabaseInsight. :type database_resource_type: str :param db_additional_details: The value to assign to the db_additional_details property of this AutonomousDatabaseInsight. :type db_additional_details: object �str�intzdict(str, str)zdict(str, dict(str, object))�datetime�object)� entity_source�id�compartment_id�status� database_type�database_version�processor_count� freeform_tags�defined_tags�system_tags�time_created�time_updated�lifecycle_state�lifecycle_details�"database_connection_status_details�database_id� database_name�database_display_name�database_resource_type�db_additional_details�entitySourcer � compartmentIdr �databaseType�databaseVersion�processorCount�freeformTags�definedTags� systemTags�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�databaseConnectionStatusDetails� databaseId�databaseName�databaseDisplayName�databaseResourceType�dbAdditionalDetailsN�AUTONOMOUS_DATABASE)� swagger_types� attribute_map�_entity_source�_id�_compartment_id�_status�_database_type�_database_version�_processor_count�_freeform_tags� _defined_tags�_system_tags� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�#_database_connection_status_details�_database_id�_database_name�_database_display_name�_database_resource_type�_db_additional_details)�self�kwargs� rL ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/opsi/models/autonomous_database_insight.py�__init__ s~ [��z"AutonomousDatabaseInsight.__init__c C s | j S )a0 **[Required]** Gets the database_id of this AutonomousDatabaseInsight. The `OCID`__ of the database. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The database_id of this AutonomousDatabaseInsight. :rtype: str �rE �rJ rL rL rM r � s z%AutonomousDatabaseInsight.database_idc C s || _ dS )a+ Sets the database_id of this AutonomousDatabaseInsight. The `OCID`__ of the database. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param database_id: The database_id of this AutonomousDatabaseInsight. :type: str NrO )rJ r rL rL rM r � s c C s | j S )z� **[Required]** Gets the database_name of this AutonomousDatabaseInsight. Name of database :return: The database_name of this AutonomousDatabaseInsight. :rtype: str �rF rP rL rL rM r � s z'AutonomousDatabaseInsight.database_namec C s || _ dS )z� Sets the database_name of this AutonomousDatabaseInsight. Name of database :param database_name: The database_name of this AutonomousDatabaseInsight. :type: str NrQ )rJ r rL rL rM r � s c C s | j S )z� Gets the database_display_name of this AutonomousDatabaseInsight. Display name of database :return: The database_display_name of this AutonomousDatabaseInsight. :rtype: str �rG rP rL rL rM r � s z/AutonomousDatabaseInsight.database_display_namec C s || _ dS )z� Sets the database_display_name of this AutonomousDatabaseInsight. Display name of database :param database_display_name: The database_display_name of this AutonomousDatabaseInsight. :type: str NrR )rJ r rL rL rM r � s c C s | j S )z� **[Required]** Gets the database_resource_type of this AutonomousDatabaseInsight. OCI database resource type :return: The database_resource_type of this AutonomousDatabaseInsight. :rtype: str �rH rP rL rL rM r � s z0AutonomousDatabaseInsight.database_resource_typec C s || _ dS )z� Sets the database_resource_type of this AutonomousDatabaseInsight. OCI database resource type :param database_resource_type: The database_resource_type of this AutonomousDatabaseInsight. :type: str NrS )rJ r rL rL rM r s c C s | j S )a- Gets the db_additional_details of this AutonomousDatabaseInsight. Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.cloud.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command. :return: The db_additional_details of this AutonomousDatabaseInsight. :rtype: object �rI rP rL rL rM r s z/AutonomousDatabaseInsight.db_additional_detailsc C s || _ dS )aA Sets the db_additional_details of this AutonomousDatabaseInsight. Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.cloud.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command. :param db_additional_details: The db_additional_details of this AutonomousDatabaseInsight. :type: object NrT )rJ r rL rL rM r s c C s t | �S �N)r rP rL rL rM �__repr__* s z"AutonomousDatabaseInsight.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�rJ �otherrL rL rM �__eq__- s z AutonomousDatabaseInsight.__eq__c C s | |k S rU rL rX rL rL rM �__ne__3 s z AutonomousDatabaseInsight.__ne__N)�__name__� __module__�__qualname__�__doc__rN �propertyr �setterr r r r rV rZ r[ rL rL rL rM r s4 r N) �database_insightr �oci.utilr r r �oci.decoratorsr r rL rL rL rM �<module> s
cải xoăn