ruạṛ
a N��fR � @ 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� DbHomeSummarya� A directory where Oracle Database software is installed. A bare metal or Exadata DB system can have multiple Database Homes and each Database Home can run a different supported version of Oracle Database. A virtual machine DB system can have only one Database Home. For more information, see `Bare Metal and Virtual Machine DB Systems`__ and `Exadata DB Systems`__. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. __ https://docs.cloud.oracle.com/Content/Database/Concepts/overview.htm __ https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm �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 )ax Initializes a new DbHomeSummary 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 DbHomeSummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this DbHomeSummary. :type compartment_id: str :param display_name: The value to assign to the display_name property of this DbHomeSummary. :type display_name: str :param last_patch_history_entry_id: The value to assign to the last_patch_history_entry_id property of this DbHomeSummary. :type last_patch_history_entry_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DbHomeSummary. 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 DbHomeSummary. :type db_system_id: str :param vm_cluster_id: The value to assign to the vm_cluster_id property of this DbHomeSummary. :type vm_cluster_id: str :param db_version: The value to assign to the db_version property of this DbHomeSummary. :type db_version: str :param db_home_location: The value to assign to the db_home_location property of this DbHomeSummary. :type db_home_location: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DbHomeSummary. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this DbHomeSummary. :type time_created: datetime :param kms_key_id: The value to assign to the kms_key_id property of this DbHomeSummary. :type kms_key_id: str :param one_off_patches: The value to assign to the one_off_patches property of this DbHomeSummary. :type one_off_patches: list[str] :param freeform_tags: The value to assign to the freeform_tags property of this DbHomeSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DbHomeSummary. :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 DbHomeSummary. :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_summary.py�__init__4 sd I��zDbHomeSummary.__init__c C s | j S )a **[Required]** Gets the id of this DbHomeSummary. The `OCID`__ of the Database Home. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this DbHomeSummary. :rtype: str �r0 �r@ rB rB rC r � s zDbHomeSummary.idc C s || _ dS )z� Sets the id of this DbHomeSummary. The `OCID`__ of the Database Home. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this DbHomeSummary. :type: str NrE )r@ r rB rB rC r � s c C s | j S )a **[Required]** Gets the compartment_id of this DbHomeSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this DbHomeSummary. :rtype: str �r1 rF rB rB rC r � s zDbHomeSummary.compartment_idc C s || _ dS )a Sets the compartment_id of this DbHomeSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this DbHomeSummary. :type: str NrG )r@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the display_name of this DbHomeSummary. The user-provided name for the Database Home. The name does not need to be unique. :return: The display_name of this DbHomeSummary. :rtype: str �r2 rF rB rB rC r � s zDbHomeSummary.display_namec C s || _ dS )z� Sets the display_name of this DbHomeSummary. The user-provided name for the Database Home. The name does not need to be unique. :param display_name: The display_name of this DbHomeSummary. :type: str NrH )r@ r rB rB rC r � s c C s | j S )am Gets the last_patch_history_entry_id of this DbHomeSummary. 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 DbHomeSummary. :rtype: str �r3 rF rB rB rC r s z)DbHomeSummary.last_patch_history_entry_idc C s || _ dS )a� Sets the last_patch_history_entry_id of this DbHomeSummary. 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 DbHomeSummary. :type: str NrI )r@ r rB rB rC r s c C s | j S )a� **[Required]** Gets the lifecycle_state of this DbHomeSummary. 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 DbHomeSummary. :rtype: str )r4 rF rB rB rC r s zDbHomeSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this DbHomeSummary. The current state of the Database Home. :param lifecycle_state: The lifecycle_state of this DbHomeSummary. :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 )a Gets the db_system_id of this DbHomeSummary. The `OCID`__ of the DB system. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The db_system_id of this DbHomeSummary. :rtype: str �r5 rF rB rB rC r = s zDbHomeSummary.db_system_idc C s || _ dS )a Sets the db_system_id of this DbHomeSummary. 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 DbHomeSummary. :type: str NrL )r@ r rB rB rC r K s c C s | j S )a Gets the vm_cluster_id of this DbHomeSummary. The `OCID`__ of the VM cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The vm_cluster_id of this DbHomeSummary. :rtype: str �r6 rF rB rB rC r Y s zDbHomeSummary.vm_cluster_idc C s || _ dS )a Sets the vm_cluster_id of this DbHomeSummary. 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 DbHomeSummary. :type: str NrM )r@ r rB rB rC r g s c C s | j S )z� **[Required]** Gets the db_version of this DbHomeSummary. The Oracle Database version. :return: The db_version of this DbHomeSummary. :rtype: str �r7 rF rB rB rC r u s zDbHomeSummary.db_versionc C s || _ dS )z� Sets the db_version of this DbHomeSummary. The Oracle Database version. :param db_version: The db_version of this DbHomeSummary. :type: str NrN )r@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the db_home_location of this DbHomeSummary. The location of the Oracle Database Home. :return: The db_home_location of this DbHomeSummary. :rtype: str �r8 rF rB rB rC r � s zDbHomeSummary.db_home_locationc C s || _ dS )z� Sets the db_home_location of this DbHomeSummary. The location of the Oracle Database Home. :param db_home_location: The db_home_location of this DbHomeSummary. :type: str NrO )r@ r rB rB rC r � s c C s | j S )z� Gets the lifecycle_details of this DbHomeSummary. Additional information about the current lifecycle state. :return: The lifecycle_details of this DbHomeSummary. :rtype: str �r9 rF rB rB rC r � s zDbHomeSummary.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this DbHomeSummary. Additional information about the current lifecycle state. :param lifecycle_details: The lifecycle_details of this DbHomeSummary. :type: str NrP )r@ r rB rB rC r � s c C s | j S )z� Gets the time_created of this DbHomeSummary. The date and time the Database Home was created. :return: The time_created of this DbHomeSummary. :rtype: datetime �r: rF rB rB rC r � s zDbHomeSummary.time_createdc C s || _ dS )z� Sets the time_created of this DbHomeSummary. The date and time the Database Home was created. :param time_created: The time_created of this DbHomeSummary. :type: datetime NrQ )r@ r rB rB rC r � s c C s | j S )a Gets the kms_key_id of this DbHomeSummary. 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 DbHomeSummary. :rtype: str �r; rF rB rB rC r � s zDbHomeSummary.kms_key_idc C s || _ dS )a Sets the kms_key_id of this DbHomeSummary. 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 DbHomeSummary. :type: str NrR )r@ r rB rB rC r � s c C s | j S )z� Gets the one_off_patches of this DbHomeSummary. List of one-off patches for Database Homes. :return: The one_off_patches of this DbHomeSummary. :rtype: list[str] �r<