ruạṛ
a N��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 @ s| e Zd ZdZdZdZdZdd� Zedd� �Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z dd� Zdd� Zdd� ZdS )�DatabaseUpgradeSourceBasez2 Details for the database upgrade source. �DB_HOME� DB_VERSION�DB_SOFTWARE_IMAGEc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new DatabaseUpgradeSourceBase 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.database.models.DatabaseUpgradeWithDbHomeDetails` * :class:`~oci.database.models.DatabaseUpgradeWithDatabaseSoftwareImageDetails` * :class:`~oci.database.models.DatabaseUpgradeWithDbVersionDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param source: The value to assign to the source property of this DatabaseUpgradeSourceBase. Allowed values for this property are: "DB_HOME", "DB_VERSION", "DB_SOFTWARE_IMAGE" :type source: str :param options: The value to assign to the options property of this DatabaseUpgradeSourceBase. :type options: str �str)�source�optionsr r N)� swagger_types� attribute_map�_source�_options)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/database_upgrade_source_base.py�__init__ s ��z"DatabaseUpgradeSourceBase.__init__c C s4 | d }|dkrdS |dkr dS |dkr,dS dS d S ) 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 � DatabaseUpgradeWithDbHomeDetailsr �/DatabaseUpgradeWithDatabaseSoftwareImageDetailsr �#DatabaseUpgradeWithDbVersionDetailsr Nr )�object_dictionary�typer r r �get_subtype>