ruạṛ
a O��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 @ sj e Zd ZdZdZdZdZdZdd� Ze dd � �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zd+d,� Zd-d.� Zd/d0� Zd1S )2�DatabaseConfigurationSummaryz= Summary of a database configuration for a resource. �AUTONOMOUS_DATABASE�EM_MANAGED_EXTERNAL_DATABASE�MACS_MANAGED_EXTERNAL_DATABASE�PE_COMANAGED_DATABASEc K s� dddddddddddd�| _ dddd d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )aI Initializes a new DatabaseConfigurationSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.opsi.models.EmManagedExternalDatabaseConfigurationSummary` * :class:`~oci.opsi.models.AutonomousDatabaseConfigurationSummary` * :class:`~oci.opsi.models.MacsManagedExternalDatabaseConfigurationSummary` * :class:`~oci.opsi.models.PeComanagedManagedExternalDatabaseConfigurationSummary` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param database_insight_id: The value to assign to the database_insight_id property of this DatabaseConfigurationSummary. :type database_insight_id: str :param entity_source: The value to assign to the entity_source property of this DatabaseConfigurationSummary. Allowed values for this property are: "AUTONOMOUS_DATABASE", "EM_MANAGED_EXTERNAL_DATABASE", "MACS_MANAGED_EXTERNAL_DATABASE", "PE_COMANAGED_DATABASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type entity_source: str :param compartment_id: The value to assign to the compartment_id property of this DatabaseConfigurationSummary. :type compartment_id: str :param database_name: The value to assign to the database_name property of this DatabaseConfigurationSummary. :type database_name: str :param database_display_name: The value to assign to the database_display_name property of this DatabaseConfigurationSummary. :type database_display_name: str :param database_type: The value to assign to the database_type property of this DatabaseConfigurationSummary. :type database_type: str :param database_version: The value to assign to the database_version property of this DatabaseConfigurationSummary. :type database_version: str :param cdb_name: The value to assign to the cdb_name property of this DatabaseConfigurationSummary. :type cdb_name: str :param defined_tags: The value to assign to the defined_tags property of this DatabaseConfigurationSummary. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this DatabaseConfigurationSummary. :type freeform_tags: dict(str, str) :param processor_count: The value to assign to the processor_count property of this DatabaseConfigurationSummary. :type processor_count: int �strzdict(str, dict(str, object))zdict(str, str)�int)�database_insight_id� entity_source�compartment_id� database_name�database_display_name� database_type�database_version�cdb_name�defined_tags� freeform_tags�processor_count�databaseInsightId�entitySource� compartmentId�databaseName�databaseDisplayName�databaseType�databaseVersion�cdbName�definedTags�freeformTags�processorCountN) � swagger_types� attribute_map�_database_insight_id�_entity_source�_compartment_id�_database_name�_database_display_name�_database_type�_database_version� _cdb_name� _defined_tags�_freeform_tags�_processor_count)�self�kwargs� r2 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/opsi/models/database_configuration_summary.py�__init__ sF <��z%DatabaseConfigurationSummary.__init__c C s@ | d }|dkrdS |dkr dS |dkr,dS |dkr8d S d S dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r �-EmManagedExternalDatabaseConfigurationSummaryr �&AutonomousDatabaseConfigurationSummaryr �/MacsManagedExternalDatabaseConfigurationSummaryr �6PeComanagedManagedExternalDatabaseConfigurationSummaryr Nr2 )�object_dictionary�typer2 r2 r3 �get_subtype� s z(DatabaseConfigurationSummary.get_subtypec C s | j S )aW **[Required]** Gets the database_insight_id of this DatabaseConfigurationSummary. The `OCID`__ of the database insight resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The database_insight_id of this DatabaseConfigurationSummary. :rtype: str �r% �r0 r2 r2 r3 r � s z0DatabaseConfigurationSummary.database_insight_idc C s || _ dS )aZ Sets the database_insight_id of this DatabaseConfigurationSummary. The `OCID`__ of the database insight resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param database_insight_id: The database_insight_id of this DatabaseConfigurationSummary. :type: str Nr<