403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /usr/libexec/oracle-cloud-agent/plugins/osms/oci/database/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/libexec/oracle-cloud-agent/plugins/osms/oci/database/models/database_upgrade_source_base.pyc
a

N��f}�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s|eZdZdZdZdZdZdd�Zedd��Z	e
d	d
��Zejdd
��Ze
dd
��Z
e
jdd
��Z
dd�Zdd�Zdd�ZdS)�DatabaseUpgradeSourceBasez2
    Details for the database upgrade source.
    �DB_HOME�
DB_VERSION�DB_SOFTWARE_IMAGEcKs(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�optionsrr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__cCs4|d}|dkrdS|dkr dS|dkr,dSdSd	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.
        rr� DatabaseUpgradeWithDbHomeDetailsr	�/DatabaseUpgradeWithDatabaseSoftwareImageDetailsr�#DatabaseUpgradeWithDbVersionDetailsrNr)�object_dictionary�typerrr�get_subtype>sz%DatabaseUpgradeSourceBase.get_subtypecCs|jS)a_
        Gets the source of this DatabaseUpgradeSourceBase.
        The source of the Oracle Database software to be used for the upgrade.
         - Use `DB_HOME` to specify an existing Database Home to upgrade the database. The database is moved to the target Database Home and makes use of the Oracle Database software version of the target Database Home.
         - Use `DB_VERSION` to specify a generally-available Oracle Database software version to upgrade the database.
         - Use `DB_SOFTWARE_IMAGE` to specify a `database software image`__ to upgrade the database.

        __ https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/databasesoftwareimage.htm

        Allowed values for this property are: "DB_HOME", "DB_VERSION", "DB_SOFTWARE_IMAGE"


        :return: The source of this DatabaseUpgradeSourceBase.
        :rtype: str
        )r�rrrrrQsz DatabaseUpgradeSourceBase.sourcecCs*gd�}t||�s td�|���||_dS)a
        Sets the source of this DatabaseUpgradeSourceBase.
        The source of the Oracle Database software to be used for the upgrade.
         - Use `DB_HOME` to specify an existing Database Home to upgrade the database. The database is moved to the target Database Home and makes use of the Oracle Database software version of the target Database Home.
         - Use `DB_VERSION` to specify a generally-available Oracle Database software version to upgrade the database.
         - Use `DB_SOFTWARE_IMAGE` to specify a `database software image`__ to upgrade the database.

        __ https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/databasesoftwareimage.htm


        :param source: The source of this DatabaseUpgradeSourceBase.
        :type: str
        )rrr	z6Invalid value for `source`, must be None or one of {0}N)r�
ValueError�formatr)rr�allowed_valuesrrrrds
��cCs|jS)a#
        Gets the options of this DatabaseUpgradeSourceBase.
        Additional upgrade options supported by DBUA(Database Upgrade Assistant).
        Example: "-upgradeTimezone false -keepEvents"


        :return: The options of this DatabaseUpgradeSourceBase.
        :rtype: str
        �rrrrrr{sz!DatabaseUpgradeSourceBase.optionscCs
||_dS)a)
        Sets the options of this DatabaseUpgradeSourceBase.
        Additional upgrade options supported by DBUA(Database Upgrade Assistant).
        Example: "-upgradeTimezone false -keepEvents"


        :param options: The options of this DatabaseUpgradeSourceBase.
        :type: str
        Nr )rrrrrr�scCst|�S�N)rrrrr�__repr__�sz"DatabaseUpgradeSourceBase.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�sz DatabaseUpgradeSourceBase.__eq__cCs
||kSr!rr$rrr�__ne__�sz DatabaseUpgradeSourceBase.__ne__N)�__name__�
__module__�__qualname__�__doc__�SOURCE_DB_HOME�SOURCE_DB_VERSION�SOURCE_DB_SOFTWARE_IMAGEr�staticmethodr�propertyr�setterrr"r&r'rrrrr
s$"




rN)�oci.utilrrr�oci.decoratorsr�objectrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit