ruạṛ
a ���f= � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� Migration� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �OracleMigrationz# Oracle Migration resource c K s ddddddddddddddddddddddd dd d�| _ dd ddddddddddddddddddd d!d"d#d$d�| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _ d%| _ d%| _d%| _d%| _ d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d&| _d%S )'aU Initializes a new OracleMigration object with values from keyword arguments. The default value of the :py:attr:`~oci.database_migration.models.OracleMigration.database_combination` attribute of this class is ``ORACLE`` and it should not be changed. 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 OracleMigration. :type id: str :param description: The value to assign to the description property of this OracleMigration. :type description: str :param database_combination: The value to assign to the database_combination property of this OracleMigration. Allowed values for this property are: "MYSQL", "ORACLE" :type database_combination: str :param display_name: The value to assign to the display_name property of this OracleMigration. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this OracleMigration. :type compartment_id: str :param type: The value to assign to the type property of this OracleMigration. Allowed values for this property are: "ONLINE", "OFFLINE" :type type: str :param wait_after: The value to assign to the wait_after property of this OracleMigration. Allowed values for this property are: "ODMS_VALIDATE_TGT", "ODMS_VALIDATE_SRC", "ODMS_VALIDATE_PREMIGRATION_ADVISOR", "ODMS_VALIDATE_GG_HUB", "ODMS_VALIDATE_DATAPUMP_SETTINGS", "ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC", "ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT", "ODMS_VALIDATE_DATAPUMP_SRC", "ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC", "ODMS_FETCH_METADATA_SRC", "ODMS_FETCH_METADATA_TGT", "ODMS_VALIDATE", "ODMS_PREPARE", "ODMS_INITIALIZE_REPLICATION_INFRASTRUCTURE", "ODMS_INITIAL_LOAD_EXPORT", "ODMS_DATA_UPLOAD", "ODMS_INITIAL_LOAD_EXPORT_DATA_UPLOAD", "ODMS_INITIAL_LOAD_IMPORT", "ODMS_POST_INITIAL_LOAD", "ODMS_PREPARE_REPLICATION_TARGET", "ODMS_MONITOR_REPLICATION_LAG", "ODMS_SWITCHOVER", "ODMS_CLEANUP" :type wait_after: str :param source_database_connection_id: The value to assign to the source_database_connection_id property of this OracleMigration. :type source_database_connection_id: str :param target_database_connection_id: The value to assign to the target_database_connection_id property of this OracleMigration. :type target_database_connection_id: str :param executing_job_id: The value to assign to the executing_job_id property of this OracleMigration. :type executing_job_id: str :param time_created: The value to assign to the time_created property of this OracleMigration. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this OracleMigration. :type time_updated: datetime :param time_last_migration: The value to assign to the time_last_migration property of this OracleMigration. :type time_last_migration: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this OracleMigration. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "IN_PROGRESS", "ACCEPTED", "SUCCEEDED", "CANCELED", "WAITING", "NEEDS_ATTENTION", "INACTIVE", "DELETING", "DELETED", "FAILED" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this OracleMigration. Allowed values for this property are: "READY", "ABORTING", "VALIDATING", "VALIDATED", "WAITING", "MIGRATING", "DONE" :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this OracleMigration. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OracleMigration. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this OracleMigration. :type system_tags: dict(str, dict(str, object)) :param data_transfer_medium_details: The value to assign to the data_transfer_medium_details property of this OracleMigration. :type data_transfer_medium_details: oci.database_migration.models.OracleDataTransferMediumDetails :param initial_load_settings: The value to assign to the initial_load_settings property of this OracleMigration. :type initial_load_settings: oci.database_migration.models.OracleInitialLoadSettings :param advisor_settings: The value to assign to the advisor_settings property of this OracleMigration. :type advisor_settings: oci.database_migration.models.OracleAdvisorSettings :param hub_details: The value to assign to the hub_details property of this OracleMigration. :type hub_details: oci.database_migration.models.GoldenGateHubDetails :param ggs_details: The value to assign to the ggs_details property of this OracleMigration. :type ggs_details: oci.database_migration.models.OracleGgsDeploymentDetails :param source_container_database_connection_id: The value to assign to the source_container_database_connection_id property of this OracleMigration. :type source_container_database_connection_id: str :param advanced_parameters: The value to assign to the advanced_parameters property of this OracleMigration. :type advanced_parameters: list[oci.database_migration.models.MigrationParameterDetails] �strZdatetimezdict(str, str)zdict(str, dict(str, object))ZOracleDataTransferMediumDetailsZOracleInitialLoadSettingsZOracleAdvisorSettingsZGoldenGateHubDetailsZOracleGgsDeploymentDetailszlist[MigrationParameterDetails])�id�descriptionZdatabase_combinationZdisplay_nameZcompartment_id�typeZ wait_afterZsource_database_connection_idZtarget_database_connection_idZexecuting_job_idZtime_createdZtime_updatedZtime_last_migrationZlifecycle_stateZlifecycle_detailsZ freeform_tagsZdefined_tagsZsystem_tags�data_transfer_medium_details�initial_load_settings�advisor_settings�hub_details�ggs_details�'source_container_database_connection_id�advanced_parametersr r ZdatabaseCombinationZdisplayNameZ compartmentIdr Z waitAfterZsourceDatabaseConnectionIdZtargetDatabaseConnectionIdZexecutingJobIdZtimeCreatedZtimeUpdatedZtimeLastMigrationZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsZdataTransferMediumDetailsZinitialLoadSettingsZadvisorSettingsZ hubDetailsZ ggsDetailsZ#sourceContainerDatabaseConnectionIdZadvancedParametersNZORACLE)Z swagger_typesZ attribute_mapZ_idZ_descriptionZ_database_combinationZ _display_nameZ_compartment_idZ_typeZ_wait_afterZ_source_database_connection_idZ_target_database_connection_idZ_executing_job_idZ _time_createdZ _time_updatedZ_time_last_migrationZ_lifecycle_stateZ_lifecycle_detailsZ_freeform_tagsZ _defined_tagsZ_system_tags�_data_transfer_medium_details�_initial_load_settings�_advisor_settings�_hub_details�_ggs_details�(_source_container_database_connection_id�_advanced_parameters)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/database_migration/models/oracle_migration.py�__init__ s� q��zOracleMigration.__init__c C s | j S )z� Gets the data_transfer_medium_details of this OracleMigration. :return: The data_transfer_medium_details of this OracleMigration. :rtype: oci.database_migration.models.OracleDataTransferMediumDetails �r �r r r r r � s z,OracleMigration.data_transfer_medium_detailsc C s || _ dS )a Sets the data_transfer_medium_details of this OracleMigration. :param data_transfer_medium_details: The data_transfer_medium_details of this OracleMigration. :type: oci.database_migration.models.OracleDataTransferMediumDetails Nr )r r r r r r � s c C s | j S )z� Gets the initial_load_settings of this OracleMigration. :return: The initial_load_settings of this OracleMigration. :rtype: oci.database_migration.models.OracleInitialLoadSettings �r r! r r r r � s z%OracleMigration.initial_load_settingsc C s || _ dS )z� Sets the initial_load_settings of this OracleMigration. :param initial_load_settings: The initial_load_settings of this OracleMigration. :type: oci.database_migration.models.OracleInitialLoadSettings Nr"