ruạṛ
a N��fma � @ 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 ZdZ dZd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Z e jd7d6� �Z ed8d9� �Z!e!jd:d9� �Z!ed;d<� �Z"e"jd=d<� �Z"ed>d?� �Z#e#jd@d?� �Z#edAdB� �Z$e$jdCdB� �Z$dDdE� Z%dFdG� Z&dHdI� Z'dJS )K�DatabaseSoftwareImagez� Database software images are created by specifying a patch set, one-off patches and patches for the database home (listed by `ls inventory`). �PROVISIONING� AVAILABLE�DELETING�DELETED�FAILED�TERMINATING� TERMINATED�UPDATING� GRID_IMAGE�DATABASE_IMAGE�VM_BM_SHAPE� EXADATA_SHAPE�EXACC_SHAPEc K s� dddddddddddddddddd�| _ dd d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new DatabaseSoftwareImage 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 DatabaseSoftwareImage. :type id: str :param compartment_id: The value to assign to the compartment_id property of this DatabaseSoftwareImage. :type compartment_id: str :param database_version: The value to assign to the database_version property of this DatabaseSoftwareImage. :type database_version: str :param display_name: The value to assign to the display_name property of this DatabaseSoftwareImage. :type display_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DatabaseSoftwareImage. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "DELETING", "DELETED", "FAILED", "TERMINATING", "TERMINATED", "UPDATING", '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 DatabaseSoftwareImage. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this DatabaseSoftwareImage. :type time_created: datetime :param image_type: The value to assign to the image_type property of this DatabaseSoftwareImage. Allowed values for this property are: "GRID_IMAGE", "DATABASE_IMAGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type image_type: str :param image_shape_family: The value to assign to the image_shape_family property of this DatabaseSoftwareImage. Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type image_shape_family: str :param patch_set: The value to assign to the patch_set property of this DatabaseSoftwareImage. :type patch_set: str :param freeform_tags: The value to assign to the freeform_tags property of this DatabaseSoftwareImage. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DatabaseSoftwareImage. :type defined_tags: dict(str, dict(str, object)) :param database_software_image_included_patches: The value to assign to the database_software_image_included_patches property of this DatabaseSoftwareImage. :type database_software_image_included_patches: list[str] :param included_patches_summary: The value to assign to the included_patches_summary property of this DatabaseSoftwareImage. :type included_patches_summary: str :param database_software_image_one_off_patches: The value to assign to the database_software_image_one_off_patches property of this DatabaseSoftwareImage. :type database_software_image_one_off_patches: list[str] :param ls_inventory: The value to assign to the ls_inventory property of this DatabaseSoftwareImage. :type ls_inventory: str :param is_upgrade_supported: The value to assign to the is_upgrade_supported property of this DatabaseSoftwareImage. :type is_upgrade_supported: bool �str�datetimezdict(str, str)zdict(str, dict(str, object))z list[str]�bool)�id�compartment_id�database_version�display_name�lifecycle_state�lifecycle_details�time_created� image_type�image_shape_family� patch_set� freeform_tags�defined_tags�(database_software_image_included_patches�included_patches_summary�'database_software_image_one_off_patches�ls_inventory�is_upgrade_supportedr � compartmentId�databaseVersion�displayName�lifecycleState�lifecycleDetails�timeCreated� imageType�imageShapeFamily�patchSet�freeformTags�definedTags�$databaseSoftwareImageIncludedPatches�includedPatchesSummary�"databaseSoftwareImageOneOffPatches�lsInventory�isUpgradeSupportedN)� swagger_types� attribute_map�_id�_compartment_id�_database_version� _display_name�_lifecycle_state�_lifecycle_details� _time_created�_image_type�_image_shape_family� _patch_set�_freeform_tags� _defined_tags�)_database_software_image_included_patches�_included_patches_summary�(_database_software_image_one_off_patches� _ls_inventory�_is_upgrade_supported)�self�kwargs� rM ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/database_software_image.py�__init__D sj Q��zDatabaseSoftwareImage.__init__c C s | j S )a **[Required]** Gets the id of this DatabaseSoftwareImage. The `OCID`__ of the database software image. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this DatabaseSoftwareImage. :rtype: str �r: �rK rM rM rN r � s zDatabaseSoftwareImage.idc C s || _ dS )a Sets the id of this DatabaseSoftwareImage. The `OCID`__ of the database software image. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this DatabaseSoftwareImage. :type: str NrP )rK r rM rM rN r � s c C s | j S )a, **[Required]** Gets the compartment_id of this DatabaseSoftwareImage. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this DatabaseSoftwareImage. :rtype: str �r; rQ rM rM rN r � s z$DatabaseSoftwareImage.compartment_idc C s || _ dS )a* Sets the compartment_id of this DatabaseSoftwareImage. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this DatabaseSoftwareImage. :type: str NrR )rK r rM rM rN r � s c C s | j S )a **[Required]** Gets the database_version of this DatabaseSoftwareImage. The database version with which the database software image is to be built. :return: The database_version of this DatabaseSoftwareImage. :rtype: str �r<