ruạṛ
a N��fS� � @ 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 ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)dZ*d(Z+d)Z,d*d+� Z-e.d,d-� �Z/e/j0d.d-� �Z/e.d/d0� �Z1e1j0d1d0� �Z1e.d2d3� �Z2e2j0d4d3� �Z2e.d5d6� �Z3e3j0d7d6� �Z3e.d8d9� �Z4e4j0d:d9� �Z4e.d;d<� �Z5e5j0d=d<� �Z5e.d>d?� �Z6e6j0d@d?� �Z6e.dAdB� �Z7e7j0dCdB� �Z7e.dDdE� �Z8e8j0dFdE� �Z8e.dGdH� �Z9e9j0dIdH� �Z9e.dJdK� �Z:e:j0dLdK� �Z:e.dMdN� �Z;e;j0dOdN� �Z;e.dPdQ� �Z<e<j0dRdQ� �Z<e.dSdT� �Z=e=j0dUdT� �Z=e.dVdW� �Z>e>j0dXdW� �Z>e.dYdZ� �Z?e?j0d[dZ� �Z?e.d\d]� �Z@e@j0d^d]� �Z@e.d_d`� �ZAeAj0dad`� �ZAe.dbdc� �ZBeBj0dddc� �ZBe.dedf� �ZCeCj0dgdf� �ZCe.dhdi� �ZDeDj0djdi� �ZDe.dkdl� �ZEeEj0dmdl� �ZEe.dndo� �ZFeFj0dpdo� �ZFe.dqdr� �ZGeGj0dsdr� �ZGe.dtdu� �ZHeHj0dvdu� �ZHe.dwdx� �ZIeIj0dydx� �ZIe.dzd{� �ZJeJj0d|d{� �ZJd}d~� ZKdd�� ZLd�d�� ZMd�S )�� Migrationz Migration resource �ONLINE�OFFLINE�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_VALIDATE�ODMS_PREPARE�ODMS_INITIAL_LOAD_EXPORT�ODMS_DATA_UPLOAD�ODMS_INITIAL_LOAD_IMPORT�ODMS_POST_INITIAL_LOAD�ODMS_PREPARE_REPLICATION_TARGET�ODMS_MONITOR_REPLICATION_LAG�ODMS_SWITCHOVER�ODMS_CLEANUP�CREATING�UPDATING�ACTIVE�IN_PROGRESS�ACCEPTED� SUCCEEDED�CANCELED�WAITING�NEEDS_ATTENTION�INACTIVE�DELETING�DELETED�FAILED�READY�ABORTING� VALIDATING� VALIDATED� MIGRATING�DONEc K s" dddddddddddddddddddd d d ddd ddd�| _ d 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(| _d(| _d(| _d(| _d(S ))a� Initializes a new Migration 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 Migration. :type id: str :param display_name: The value to assign to the display_name property of this Migration. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this Migration. :type compartment_id: str :param type: The value to assign to the type property of this Migration. Allowed values for this property are: "ONLINE", "OFFLINE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param wait_after: The value to assign to the wait_after property of this Migration. 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_VALIDATE", "ODMS_PREPARE", "ODMS_INITIAL_LOAD_EXPORT", "ODMS_DATA_UPLOAD", "ODMS_INITIAL_LOAD_IMPORT", "ODMS_POST_INITIAL_LOAD", "ODMS_PREPARE_REPLICATION_TARGET", "ODMS_MONITOR_REPLICATION_LAG", "ODMS_SWITCHOVER", "ODMS_CLEANUP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type wait_after: str :param agent_id: The value to assign to the agent_id property of this Migration. :type agent_id: str :param credentials_secret_id: The value to assign to the credentials_secret_id property of this Migration. :type credentials_secret_id: str :param source_database_connection_id: The value to assign to the source_database_connection_id property of this Migration. :type source_database_connection_id: str :param source_container_database_connection_id: The value to assign to the source_container_database_connection_id property of this Migration. :type source_container_database_connection_id: str :param target_database_connection_id: The value to assign to the target_database_connection_id property of this Migration. :type target_database_connection_id: str :param executing_job_id: The value to assign to the executing_job_id property of this Migration. :type executing_job_id: str :param data_transfer_medium_details: The value to assign to the data_transfer_medium_details property of this Migration. :type data_transfer_medium_details: oci.database_migration.models.DataTransferMediumDetails :param dump_transfer_details: The value to assign to the dump_transfer_details property of this Migration. :type dump_transfer_details: oci.database_migration.models.DumpTransferDetails :param datapump_settings: The value to assign to the datapump_settings property of this Migration. :type datapump_settings: oci.database_migration.models.DataPumpSettings :param advisor_settings: The value to assign to the advisor_settings property of this Migration. :type advisor_settings: oci.database_migration.models.AdvisorSettings :param exclude_objects: The value to assign to the exclude_objects property of this Migration. :type exclude_objects: list[oci.database_migration.models.DatabaseObject] :param include_objects: The value to assign to the include_objects property of this Migration. :type include_objects: list[oci.database_migration.models.DatabaseObject] :param golden_gate_details: The value to assign to the golden_gate_details property of this Migration. :type golden_gate_details: oci.database_migration.models.GoldenGateDetails :param vault_details: The value to assign to the vault_details property of this Migration. :type vault_details: oci.database_migration.models.VaultDetails :param time_created: The value to assign to the time_created property of this Migration. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Migration. :type time_updated: datetime :param time_last_migration: The value to assign to the time_last_migration property of this Migration. :type time_last_migration: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Migration. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "IN_PROGRESS", "ACCEPTED", "SUCCEEDED", "CANCELED", "WAITING", "NEEDS_ATTENTION", "INACTIVE", "DELETING", "DELETED", "FAILED", '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 Migration. Allowed values for this property are: "READY", "ABORTING", "VALIDATING", "VALIDATED", "WAITING", "MIGRATING", "DONE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this Migration. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Migration. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Migration. :type system_tags: dict(str, dict(str, object)) �str�DataTransferMediumDetails�DumpTransferDetails�DataPumpSettings�AdvisorSettingszlist[DatabaseObject]�GoldenGateDetails�VaultDetails�datetimezdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id�type� wait_after�agent_id�credentials_secret_id�source_database_connection_id�'source_container_database_connection_id�target_database_connection_id�executing_job_id�data_transfer_medium_details�dump_transfer_details�datapump_settings�advisor_settings�exclude_objects�include_objects�golden_gate_details� vault_details�time_created�time_updated�time_last_migration�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr7 �displayName� compartmentIdr: � waitAfter�agentId�credentialsSecretId�sourceDatabaseConnectionId�#sourceContainerDatabaseConnectionId�targetDatabaseConnectionId�executingJobId�dataTransferMediumDetails�dumpTransferDetails�datapumpSettings�advisorSettings�excludeObjects�includeObjects�goldenGateDetails�vaultDetails�timeCreated�timeUpdated�timeLastMigration�lifecycleState�lifecycleDetails�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id� _display_name�_compartment_id�_type�_wait_after� _agent_id�_credentials_secret_id�_source_database_connection_id�(_source_container_database_connection_id�_target_database_connection_id�_executing_job_id�_data_transfer_medium_details�_dump_transfer_details�_datapump_settings�_advisor_settings�_exclude_objects�_include_objects�_golden_gate_details�_vault_details� _time_created� _time_updated�_time_last_migration�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r� ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_migration/models/migration.py�__init__� s� {��zMigration.__init__c C s | j S )z� **[Required]** Gets the id of this Migration. The OCID of the resource :return: The id of this Migration. :rtype: str �rm �r� r� r� r� r7 � s zMigration.idc C s || _ dS )z� Sets the id of this Migration. The OCID of the resource :param id: The id of this Migration. :type: str Nr� )r� r7 r� r� r� r7 � s c C s | j S )z� **[Required]** Gets the display_name of this Migration. Migration Display Name :return: The display_name of this Migration. :rtype: str �rn r� r� r� r� r8 � s zMigration.display_namec C s || _ dS )z� Sets the display_name of this Migration. Migration Display Name :param display_name: The display_name of this Migration. :type: str Nr� )r� r8 r� r� r� r8 � s c C s | j S )z� **[Required]** Gets the compartment_id of this Migration. OCID of the compartment :return: The compartment_id of this Migration. :rtype: str �ro r� r� r� r� r9 � s zMigration.compartment_idc C s || _ dS )z� Sets the compartment_id of this Migration. OCID of the compartment :param compartment_id: The compartment_id of this Migration. :type: str Nr� )r� r9 r� r� r� r9 � s c C s | j S )aT **[Required]** Gets the type of this Migration. Migration type. Allowed values for this property are: "ONLINE", "OFFLINE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this Migration. :rtype: str )rp r� r� r� r� r: � s zMigration.typec C s ddg}t ||�sd}|| _dS )z� Sets the type of this Migration. Migration type. :param type: The type of this Migration. :type: str r r �UNKNOWN_ENUM_VALUEN)r rp )r� r: �allowed_valuesr� r� r� r: � s c C s | j S )a� Gets the wait_after of this Migration. Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called. 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_VALIDATE", "ODMS_PREPARE", "ODMS_INITIAL_LOAD_EXPORT", "ODMS_DATA_UPLOAD", "ODMS_INITIAL_LOAD_IMPORT", "ODMS_POST_INITIAL_LOAD", "ODMS_PREPARE_REPLICATION_TARGET", "ODMS_MONITOR_REPLICATION_LAG", "ODMS_SWITCHOVER", "ODMS_CLEANUP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The wait_after of this Migration. :rtype: str )rq r� r� r� r� r; � s zMigration.wait_afterc C s g d�}t ||�sd}|| _dS )a Sets the wait_after of this Migration. Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called. :param wait_after: The wait_after of this Migration. :type: str )r r r r r r r r r r r r r r r r r r r r� N)r rq )r� r; r� r� r� r� r; � s c C s | j S )z� Gets the agent_id of this Migration. The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations. :return: The agent_id of this Migration. :rtype: str �rr r� r� r� r� r<