ruạṛ
a ���f3 � @ 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� �Zdd� Zdd� Z dd� ZdS )�MySqlMigrationz" MySQL Migration resource c K s ddddddddddddddddddddddd d �| _ ddd 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"S )$ao Initializes a new MySqlMigration object with values from keyword arguments. The default value of the :py:attr:`~oci.database_migration.models.MySqlMigration.database_combination` attribute of this class is ``MYSQL`` 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 MySqlMigration. :type id: str :param description: The value to assign to the description property of this MySqlMigration. :type description: str :param database_combination: The value to assign to the database_combination property of this MySqlMigration. 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 MySqlMigration. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this MySqlMigration. :type compartment_id: str :param type: The value to assign to the type property of this MySqlMigration. 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 MySqlMigration. 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 MySqlMigration. :type source_database_connection_id: str :param target_database_connection_id: The value to assign to the target_database_connection_id property of this MySqlMigration. :type target_database_connection_id: str :param executing_job_id: The value to assign to the executing_job_id property of this MySqlMigration. :type executing_job_id: str :param time_created: The value to assign to the time_created property of this MySqlMigration. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MySqlMigration. :type time_updated: datetime :param time_last_migration: The value to assign to the time_last_migration property of this MySqlMigration. :type time_last_migration: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this MySqlMigration. 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 MySqlMigration. 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 MySqlMigration. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MySqlMigration. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this MySqlMigration. :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 MySqlMigration. :type data_transfer_medium_details: oci.database_migration.models.MySqlDataTransferMediumDetails :param initial_load_settings: The value to assign to the initial_load_settings property of this MySqlMigration. :type initial_load_settings: oci.database_migration.models.MySqlInitialLoadSettings :param advisor_settings: The value to assign to the advisor_settings property of this MySqlMigration. :type advisor_settings: oci.database_migration.models.MySqlAdvisorSettings :param hub_details: The value to assign to the hub_details property of this MySqlMigration. :type hub_details: oci.database_migration.models.GoldenGateHubDetails :param ggs_details: The value to assign to the ggs_details property of this MySqlMigration. :type ggs_details: oci.database_migration.models.MySqlGgsDeploymentDetails �strZdatetimezdict(str, str)zdict(str, dict(str, object))ZMySqlDataTransferMediumDetailsZMySqlInitialLoadSettingsZMySqlAdvisorSettingsZGoldenGateHubDetailsZMySqlGgsDeploymentDetails)�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_detailsr r ZdatabaseCombinationZdisplayNameZ compartmentIdr Z waitAfterZsourceDatabaseConnectionIdZtargetDatabaseConnectionIdZexecutingJobIdZtimeCreatedZtimeUpdatedZtimeLastMigrationZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsZdataTransferMediumDetailsZinitialLoadSettingsZadvisorSettingsZ hubDetailsZ ggsDetailsNZMYSQL)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)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/database_migration/models/my_sql_migration.py�__init__ s� i��zMySqlMigration.__init__c C s | j S )z� Gets the data_transfer_medium_details of this MySqlMigration. :return: The data_transfer_medium_details of this MySqlMigration. :rtype: oci.database_migration.models.MySqlDataTransferMediumDetails �r �r r r r r � s z+MySqlMigration.data_transfer_medium_detailsc C s || _ dS )a Sets the data_transfer_medium_details of this MySqlMigration. :param data_transfer_medium_details: The data_transfer_medium_details of this MySqlMigration. :type: oci.database_migration.models.MySqlDataTransferMediumDetails Nr )r r r r r r � s c C s | j S )z� Gets the initial_load_settings of this MySqlMigration. :return: The initial_load_settings of this MySqlMigration. :rtype: oci.database_migration.models.MySqlInitialLoadSettings �r r r r r r � s z$MySqlMigration.initial_load_settingsc C s || _ dS )z� Sets the initial_load_settings of this MySqlMigration. :param initial_load_settings: The initial_load_settings of this MySqlMigration. :type: oci.database_migration.models.MySqlInitialLoadSettings Nr )r r r r r r � s c C s | j S )z� Gets the advisor_settings of this MySqlMigration. :return: The advisor_settings of this MySqlMigration. :rtype: oci.database_migration.models.MySqlAdvisorSettings �r r r r r r � s zMySqlMigration.advisor_settingsc C s || _ dS )z� Sets the advisor_settings of this MySqlMigration. :param advisor_settings: The advisor_settings of this MySqlMigration. :type: oci.database_migration.models.MySqlAdvisorSettings Nr )r r r r r r � s c C s | j S )z� Gets the hub_details of this MySqlMigration. :return: The hub_details of this MySqlMigration. :rtype: oci.database_migration.models.GoldenGateHubDetails �r r r r r r s zMySqlMigration.hub_detailsc C s || _ dS )z� Sets the hub_details of this MySqlMigration. :param hub_details: The hub_details of this MySqlMigration. :type: oci.database_migration.models.GoldenGateHubDetails Nr )r r r r r r s c C s | j S )z� Gets the ggs_details of this MySqlMigration. :return: The ggs_details of this MySqlMigration. :rtype: oci.database_migration.models.MySqlGgsDeploymentDetails �r r r r r r s zMySqlMigration.ggs_detailsc C s || _ dS )z� Sets the ggs_details of this MySqlMigration. :param ggs_details: The ggs_details of this MySqlMigration. :type: oci.database_migration.models.MySqlGgsDeploymentDetails Nr! )r r r r r r ! s c C s t | �S �N)r r r r r �__repr__+ s zMySqlMigration.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__. s zMySqlMigration.__eq__c C s | |k S r"