ruạṛ
a N��f�R � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej d d� �Zed!d"� �Zej d#d"� �Zed$d%� �Zej d&d%� �Zed'd(� �Zej d)d(� �Zed*d+� �Zej d,d+� �Zed-d.� �Zej d/d.� �Zed0d1� �Zej d2d1� �Zed3d4� �Zej d5d4� �Zed6d7� �Zej d8d7� �Zd9d:� Zd;d<� Zd=d>� Zd?S )@�CreateMigrationDetailsz/ Create Migration resource parameters. �ONLINE�OFFLINEc K s� dddddddddddddddd d d�| _ dd dddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a? Initializes a new CreateMigrationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this CreateMigrationDetails. Allowed values for this property are: "ONLINE", "OFFLINE" :type type: str :param display_name: The value to assign to the display_name property of this CreateMigrationDetails. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this CreateMigrationDetails. :type compartment_id: str :param agent_id: The value to assign to the agent_id property of this CreateMigrationDetails. :type agent_id: str :param source_database_connection_id: The value to assign to the source_database_connection_id property of this CreateMigrationDetails. :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 CreateMigrationDetails. :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 CreateMigrationDetails. :type target_database_connection_id: str :param data_transfer_medium_details: The value to assign to the data_transfer_medium_details property of this CreateMigrationDetails. :type data_transfer_medium_details: oci.database_migration.models.CreateDataTransferMediumDetails :param dump_transfer_details: The value to assign to the dump_transfer_details property of this CreateMigrationDetails. :type dump_transfer_details: oci.database_migration.models.CreateDumpTransferDetails :param datapump_settings: The value to assign to the datapump_settings property of this CreateMigrationDetails. :type datapump_settings: oci.database_migration.models.CreateDataPumpSettings :param advisor_settings: The value to assign to the advisor_settings property of this CreateMigrationDetails. :type advisor_settings: oci.database_migration.models.CreateAdvisorSettings :param exclude_objects: The value to assign to the exclude_objects property of this CreateMigrationDetails. :type exclude_objects: list[oci.database_migration.models.DatabaseObject] :param include_objects: The value to assign to the include_objects property of this CreateMigrationDetails. :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 CreateMigrationDetails. :type golden_gate_details: oci.database_migration.models.CreateGoldenGateDetails :param vault_details: The value to assign to the vault_details property of this CreateMigrationDetails. :type vault_details: oci.database_migration.models.CreateVaultDetails :param freeform_tags: The value to assign to the freeform_tags property of this CreateMigrationDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateMigrationDetails. :type defined_tags: dict(str, dict(str, object)) �str�CreateDataTransferMediumDetails�CreateDumpTransferDetails�CreateDataPumpSettings�CreateAdvisorSettingszlist[DatabaseObject]�CreateGoldenGateDetails�CreateVaultDetailszdict(str, str)zdict(str, dict(str, object)))�type�display_name�compartment_id�agent_id�source_database_connection_id�'source_container_database_connection_id�target_database_connection_id�data_transfer_medium_details�dump_transfer_details�datapump_settings�advisor_settings�exclude_objects�include_objects�golden_gate_details� vault_details� freeform_tags�defined_tagsr �displayName� compartmentId�agentId�sourceDatabaseConnectionId�#sourceContainerDatabaseConnectionId�targetDatabaseConnectionId�dataTransferMediumDetails�dumpTransferDetails�datapumpSettings�advisorSettings�excludeObjects�includeObjects�goldenGateDetails�vaultDetails�freeformTags�definedTagsN)� swagger_types� attribute_map�_type� _display_name�_compartment_id� _agent_id�_source_database_connection_id�(_source_container_database_connection_id�_target_database_connection_id�_data_transfer_medium_details�_dump_transfer_details�_datapump_settings�_advisor_settings�_exclude_objects�_include_objects�_golden_gate_details�_vault_details�_freeform_tags� _defined_tags)�self�kwargs� rF ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_migration/models/create_migration_details.py�__init__ sj L��zCreateMigrationDetails.__init__c C s | j S )z� **[Required]** Gets the type of this CreateMigrationDetails. Migration type. Allowed values for this property are: "ONLINE", "OFFLINE" :return: The type of this CreateMigrationDetails. :rtype: str )r3 �rD rF rF rG r � s zCreateMigrationDetails.typec C s* ddg}t ||�s td�|���|| _dS )z� Sets the type of this CreateMigrationDetails. Migration type. :param type: The type of this CreateMigrationDetails. :type: str r r z4Invalid value for `type`, must be None or one of {0}N)r � ValueError�formatr3 )rD r �allowed_valuesrF rF rG r � s ��c C s | j S )z� Gets the display_name of this CreateMigrationDetails. Migration Display Name :return: The display_name of this CreateMigrationDetails. :rtype: str �r4 rI rF rF rG r � s z#CreateMigrationDetails.display_namec C s || _ dS )z� Sets the display_name of this CreateMigrationDetails. Migration Display Name :param display_name: The display_name of this CreateMigrationDetails. :type: str NrM )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the compartment_id of this CreateMigrationDetails. OCID of the compartment :return: The compartment_id of this CreateMigrationDetails. :rtype: str �r5 rI rF rF rG r � s z%CreateMigrationDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateMigrationDetails. OCID of the compartment :param compartment_id: The compartment_id of this CreateMigrationDetails. :type: str NrN )rD r rF rF rG r � s c C s | j S )z� Gets the agent_id of this CreateMigrationDetails. The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations. :return: The agent_id of this CreateMigrationDetails. :rtype: str �r6 rI rF rF rG r � s zCreateMigrationDetails.agent_idc C s || _ dS )z� Sets the agent_id of this CreateMigrationDetails. The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations. :param agent_id: The agent_id of this CreateMigrationDetails. :type: str NrO )rD r rF rF rG r � s c C s | j S )a **[Required]** Gets the source_database_connection_id of this CreateMigrationDetails. The OCID of the Source Database Connection. :return: The source_database_connection_id of this CreateMigrationDetails. :rtype: str �r7 rI rF rF rG r s z4CreateMigrationDetails.source_database_connection_idc C s || _ dS )a Sets the source_database_connection_id of this CreateMigrationDetails. The OCID of the Source Database Connection. :param source_database_connection_id: The source_database_connection_id of this CreateMigrationDetails. :type: str NrP )rD r rF rF rG r s c C s | j S )a� Gets the source_container_database_connection_id of this CreateMigrationDetails. The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases. :return: The source_container_database_connection_id of this CreateMigrationDetails. :rtype: str �r8 rI rF rF rG r s z>CreateMigrationDetails.source_container_database_connection_idc C s || _ dS )a� Sets the source_container_database_connection_id of this CreateMigrationDetails. The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases. :param source_container_database_connection_id: The source_container_database_connection_id of this CreateMigrationDetails. :type: str NrQ )rD r rF rF rG r * s c C s | j S )a **[Required]** Gets the target_database_connection_id of this CreateMigrationDetails. The OCID of the Target Database Connection. :return: The target_database_connection_id of this CreateMigrationDetails. :rtype: str �r9 rI rF rF rG r 7 s z4CreateMigrationDetails.target_database_connection_idc C s || _ dS )a Sets the target_database_connection_id of this CreateMigrationDetails. The OCID of the Target Database Connection. :param target_database_connection_id: The target_database_connection_id of this CreateMigrationDetails. :type: str NrR )rD r rF rF rG r C s c C s | j S )z� Gets the data_transfer_medium_details of this CreateMigrationDetails. :return: The data_transfer_medium_details of this CreateMigrationDetails. :rtype: oci.database_migration.models.CreateDataTransferMediumDetails �r: rI rF rF rG r O s z3CreateMigrationDetails.data_transfer_medium_detailsc C s || _ dS )a Sets the data_transfer_medium_details of this CreateMigrationDetails. :param data_transfer_medium_details: The data_transfer_medium_details of this CreateMigrationDetails. :type: oci.database_migration.models.CreateDataTransferMediumDetails NrS )rD r rF rF rG r Y s c C s | j S )z� Gets the dump_transfer_details of this CreateMigrationDetails. :return: The dump_transfer_details of this CreateMigrationDetails. :rtype: oci.database_migration.models.CreateDumpTransferDetails �r; rI rF rF rG r c s z,CreateMigrationDetails.dump_transfer_detailsc C s || _ dS )z� Sets the dump_transfer_details of this CreateMigrationDetails. :param dump_transfer_details: The dump_transfer_details of this CreateMigrationDetails. :type: oci.database_migration.models.CreateDumpTransferDetails NrT )rD r rF rF rG r m s c C s | j S )z� Gets the datapump_settings of this CreateMigrationDetails. :return: The datapump_settings of this CreateMigrationDetails. :rtype: oci.database_migration.models.CreateDataPumpSettings �r<