ruạṛ
a N��f�K � @ 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 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)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zd:d;� Zd<d=� Zd>d?� Zd@S )A�DbHomez DbHome model. �PROVISIONING� AVAILABLE�UPDATING�TERMINATING� TERMINATED�FAILEDc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a Initializes a new DbHome object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DbHome. :type id: str :param compartment_id: The value to assign to the compartment_id property of this DbHome. :type compartment_id: str :param display_name: The value to assign to the display_name property of this DbHome. :type display_name: str :param last_patch_history_entry_id: The value to assign to the last_patch_history_entry_id property of this DbHome. :type last_patch_history_entry_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DbHome. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param db_system_id: The value to assign to the db_system_id property of this DbHome. :type db_system_id: str :param vm_cluster_id: The value to assign to the vm_cluster_id property of this DbHome. :type vm_cluster_id: str :param db_version: The value to assign to the db_version property of this DbHome. :type db_version: str :param db_home_location: The value to assign to the db_home_location property of this DbHome. :type db_home_location: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DbHome. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this DbHome. :type time_created: datetime :param kms_key_id: The value to assign to the kms_key_id property of this DbHome. :type kms_key_id: str :param one_off_patches: The value to assign to the one_off_patches property of this DbHome. :type one_off_patches: list[str] :param freeform_tags: The value to assign to the freeform_tags property of this DbHome. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DbHome. :type defined_tags: dict(str, dict(str, object)) :param database_software_image_id: The value to assign to the database_software_image_id property of this DbHome. :type database_software_image_id: str �str�datetimez list[str]zdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�last_patch_history_entry_id�lifecycle_state�db_system_id� vm_cluster_id� db_version�db_home_location�lifecycle_details�time_created� kms_key_id�one_off_patches� freeform_tags�defined_tags�database_software_image_idr � compartmentId�displayName�lastPatchHistoryEntryId�lifecycleState� dbSystemId�vmClusterId� dbVersion�dbHomeLocation�lifecycleDetails�timeCreated�kmsKeyId� oneOffPatches�freeformTags�definedTags�databaseSoftwareImageIdN)� swagger_types� attribute_map�_id�_compartment_id� _display_name�_last_patch_history_entry_id�_lifecycle_state� _db_system_id�_vm_cluster_id�_db_version�_db_home_location�_lifecycle_details� _time_created�_kms_key_id�_one_off_patches�_freeform_tags� _defined_tags�_database_software_image_id)�self�kwargs� rB �/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/db_home.py�__init__( sd I��zDbHome.__init__c C s | j S )z� **[Required]** Gets the id of this DbHome. The `OCID`__ of the Database Home. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this DbHome. :rtype: str �r0 �r@ rB rB rC r � s z DbHome.idc C s || _ dS )z� Sets the id of this DbHome. The `OCID`__ of the Database Home. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this DbHome. :type: str NrE )r@ r rB rB rC r � s c C s | j S )a **[Required]** Gets the compartment_id of this DbHome. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this DbHome. :rtype: str �r1 rF rB rB rC r � s zDbHome.compartment_idc C s || _ dS )a Sets the compartment_id of this DbHome. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this DbHome. :type: str NrG )r@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the display_name of this DbHome. The user-provided name for the Database Home. The name does not need to be unique. :return: The display_name of this DbHome. :rtype: str �r2 rF rB rB rC r � s zDbHome.display_namec C s || _ dS )z� Sets the display_name of this DbHome. The user-provided name for the Database Home. The name does not need to be unique. :param display_name: The display_name of this DbHome. :type: str NrH )r@ r rB rB rC r � s c C s | j S )a_ Gets the last_patch_history_entry_id of this DbHome. The `OCID`__ of the last patch history. This value is updated as soon as a patch operation is started. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The last_patch_history_entry_id of this DbHome. :rtype: str �r3 rF rB rB rC r � s z"DbHome.last_patch_history_entry_idc C s || _ dS )ay Sets the last_patch_history_entry_id of this DbHome. The `OCID`__ of the last patch history. This value is updated as soon as a patch operation is started. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param last_patch_history_entry_id: The last_patch_history_entry_id of this DbHome. :type: str NrI )r@ r rB rB rC r s c C s | j S )a� **[Required]** Gets the lifecycle_state of this DbHome. The current state of the Database Home. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this DbHome. :rtype: str )r4 rF rB rB rC r s zDbHome.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this DbHome. The current state of the Database Home. :param lifecycle_state: The lifecycle_state of this DbHome. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r4 )r@ r �allowed_valuesrB rB rC r " s c C s | j S )z� Gets the db_system_id of this DbHome. The `OCID`__ of the DB system. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The db_system_id of this DbHome. :rtype: str �r5 rF rB rB rC r 1 s zDbHome.db_system_idc C s || _ dS )a Sets the db_system_id of this DbHome. The `OCID`__ of the DB system. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param db_system_id: The db_system_id of this DbHome. :type: str NrL )r@ r rB rB rC r ? s c C s | j S )z� Gets the vm_cluster_id of this DbHome. The `OCID`__ of the VM cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The vm_cluster_id of this DbHome. :rtype: str �r6 rF rB rB rC r M s zDbHome.vm_cluster_idc C s || _ dS )a Sets the vm_cluster_id of this DbHome. The `OCID`__ of the VM cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param vm_cluster_id: The vm_cluster_id of this DbHome. :type: str NrM )r@ r rB rB rC r [ s c C s | j S )z� **[Required]** Gets the db_version of this DbHome. The Oracle Database version. :return: The db_version of this DbHome. :rtype: str �r7 rF rB rB rC r i s zDbHome.db_versionc C s || _ dS )z� Sets the db_version of this DbHome. The Oracle Database version. :param db_version: The db_version of this DbHome. :type: str NrN )r@ r rB rB rC r u s c C s | j S )z� **[Required]** Gets the db_home_location of this DbHome. The location of the Oracle Database Home. :return: The db_home_location of this DbHome. :rtype: str �r8 rF rB rB rC r � s zDbHome.db_home_locationc C s || _ dS )z� Sets the db_home_location of this DbHome. The location of the Oracle Database Home. :param db_home_location: The db_home_location of this DbHome. :type: str NrO )r@ r rB rB rC r � s c C s | j S )z� Gets the lifecycle_details of this DbHome. Additional information about the current lifecycle state. :return: The lifecycle_details of this DbHome. :rtype: str �r9 rF rB rB rC r � s zDbHome.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this DbHome. Additional information about the current lifecycle state. :param lifecycle_details: The lifecycle_details of this DbHome. :type: str NrP )r@ r rB rB rC r � s c C s | j S )z� Gets the time_created of this DbHome. The date and time the Database Home was created. :return: The time_created of this DbHome. :rtype: datetime �r: rF rB rB rC r � s zDbHome.time_createdc C s || _ dS )z� Sets the time_created of this DbHome. The date and time the Database Home was created. :param time_created: The time_created of this DbHome. :type: datetime NrQ )r@ r rB rB rC r � s c C s | j S )a Gets the kms_key_id of this DbHome. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations. :return: The kms_key_id of this DbHome. :rtype: str �r; rF rB rB rC r � s zDbHome.kms_key_idc C s || _ dS )a Sets the kms_key_id of this DbHome. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations. :param kms_key_id: The kms_key_id of this DbHome. :type: str NrR )r@ r rB rB rC r � s c C s | j S )z� Gets the one_off_patches of this DbHome. List of one-off patches for Database Homes. :return: The one_off_patches of this DbHome. :rtype: list[str] �r<