ruạṛ
a N��f�P � @ 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� �Zd6d7� Zd8d9� Zd:d;� Zd<S )=�UpdateMigrationDetailsz/ Update Migration resource parameters. �ONLINE�OFFLINEc K s� ddddddddddddddd d d�| _ dd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new UpdateMigrationDetails 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 UpdateMigrationDetails. 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 UpdateMigrationDetails. :type display_name: str :param agent_id: The value to assign to the agent_id property of this UpdateMigrationDetails. :type agent_id: str :param source_database_connection_id: The value to assign to the source_database_connection_id property of this UpdateMigrationDetails. :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 UpdateMigrationDetails. :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 UpdateMigrationDetails. :type target_database_connection_id: str :param data_transfer_medium_details: The value to assign to the data_transfer_medium_details property of this UpdateMigrationDetails. :type data_transfer_medium_details: oci.database_migration.models.UpdateDataTransferMediumDetails :param dump_transfer_details: The value to assign to the dump_transfer_details property of this UpdateMigrationDetails. :type dump_transfer_details: oci.database_migration.models.UpdateDumpTransferDetails :param datapump_settings: The value to assign to the datapump_settings property of this UpdateMigrationDetails. :type datapump_settings: oci.database_migration.models.UpdateDataPumpSettings :param advisor_settings: The value to assign to the advisor_settings property of this UpdateMigrationDetails. :type advisor_settings: oci.database_migration.models.UpdateAdvisorSettings :param exclude_objects: The value to assign to the exclude_objects property of this UpdateMigrationDetails. :type exclude_objects: list[oci.database_migration.models.DatabaseObject] :param include_objects: The value to assign to the include_objects property of this UpdateMigrationDetails. :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 UpdateMigrationDetails. :type golden_gate_details: oci.database_migration.models.UpdateGoldenGateDetails :param vault_details: The value to assign to the vault_details property of this UpdateMigrationDetails. :type vault_details: oci.database_migration.models.UpdateVaultDetails :param freeform_tags: The value to assign to the freeform_tags property of this UpdateMigrationDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateMigrationDetails. :type defined_tags: dict(str, dict(str, object)) �str�UpdateDataTransferMediumDetails�UpdateDumpTransferDetails�UpdateDataPumpSettings�UpdateAdvisorSettingszlist[DatabaseObject]�UpdateGoldenGateDetails�UpdateVaultDetailszdict(str, str)zdict(str, dict(str, object)))�type�display_name�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�agentId�sourceDatabaseConnectionId�#sourceContainerDatabaseConnectionId�targetDatabaseConnectionId�dataTransferMediumDetails�dumpTransferDetails�datapumpSettings�advisorSettings�excludeObjects�includeObjects�goldenGateDetails�vaultDetails�freeformTags�definedTagsN)� swagger_types� attribute_map�_type� _display_name� _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� rC ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_migration/models/update_migration_details.py�__init__ sd H��zUpdateMigrationDetails.__init__c C s | j S )z� Gets the type of this UpdateMigrationDetails. Migration type. Allowed values for this property are: "ONLINE", "OFFLINE" :return: The type of this UpdateMigrationDetails. :rtype: str )r1 �rA rC rC rD r � s zUpdateMigrationDetails.typec C s* ddg}t ||�s td�|���|| _dS )z� Sets the type of this UpdateMigrationDetails. Migration type. :param type: The type of this UpdateMigrationDetails. :type: str r r z4Invalid value for `type`, must be None or one of {0}N)r � ValueError�formatr1 )rA r �allowed_valuesrC rC rD r � s ��c C s | j S )z� Gets the display_name of this UpdateMigrationDetails. Migration Display Name :return: The display_name of this UpdateMigrationDetails. :rtype: str �r2 rF rC rC rD r � s z#UpdateMigrationDetails.display_namec C s || _ dS )z� Sets the display_name of this UpdateMigrationDetails. Migration Display Name :param display_name: The display_name of this UpdateMigrationDetails. :type: str NrJ )rA r rC rC rD r � s c C s | j S )z� Gets the agent_id of this UpdateMigrationDetails. The OCID of the registered ODMS Agent. :return: The agent_id of this UpdateMigrationDetails. :rtype: str �r3 rF rC rC rD r � s zUpdateMigrationDetails.agent_idc C s || _ dS )z� Sets the agent_id of this UpdateMigrationDetails. The OCID of the registered ODMS Agent. :param agent_id: The agent_id of this UpdateMigrationDetails. :type: str NrK )rA r rC rC rD r � s c C s | j S )z� Gets the source_database_connection_id of this UpdateMigrationDetails. The OCID of the Source Database Connection. :return: The source_database_connection_id of this UpdateMigrationDetails. :rtype: str �r4 rF rC rC rD r � s z4UpdateMigrationDetails.source_database_connection_idc C s || _ dS )a Sets the source_database_connection_id of this UpdateMigrationDetails. The OCID of the Source Database Connection. :param source_database_connection_id: The source_database_connection_id of this UpdateMigrationDetails. :type: str NrL )rA r rC rC rD r � s c C s | j S )a� Gets the source_container_database_connection_id of this UpdateMigrationDetails. 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. An empty value would remove the stored Connection ID. :return: The source_container_database_connection_id of this UpdateMigrationDetails. :rtype: str �r5 rF rC rC rD r � s z>UpdateMigrationDetails.source_container_database_connection_idc C s || _ dS )a� Sets the source_container_database_connection_id of this UpdateMigrationDetails. 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. An empty value would remove the stored Connection ID. :param source_container_database_connection_id: The source_container_database_connection_id of this UpdateMigrationDetails. :type: str NrM )rA r rC rC rD r s c C s | j S )z� Gets the target_database_connection_id of this UpdateMigrationDetails. The OCID of the Target Database Connection. :return: The target_database_connection_id of this UpdateMigrationDetails. :rtype: str �r6 rF rC rC rD r s z4UpdateMigrationDetails.target_database_connection_idc C s || _ dS )a Sets the target_database_connection_id of this UpdateMigrationDetails. The OCID of the Target Database Connection. :param target_database_connection_id: The target_database_connection_id of this UpdateMigrationDetails. :type: str NrN )rA r rC rC rD r & s c C s | j S )z� Gets the data_transfer_medium_details of this UpdateMigrationDetails. :return: The data_transfer_medium_details of this UpdateMigrationDetails. :rtype: oci.database_migration.models.UpdateDataTransferMediumDetails �r7 rF rC rC rD r 2 s z3UpdateMigrationDetails.data_transfer_medium_detailsc C s || _ dS )a Sets the data_transfer_medium_details of this UpdateMigrationDetails. :param data_transfer_medium_details: The data_transfer_medium_details of this UpdateMigrationDetails. :type: oci.database_migration.models.UpdateDataTransferMediumDetails NrO )rA r rC rC rD r < s c C s | j S )z� Gets the dump_transfer_details of this UpdateMigrationDetails. :return: The dump_transfer_details of this UpdateMigrationDetails. :rtype: oci.database_migration.models.UpdateDumpTransferDetails �r8 rF rC rC rD r F s z,UpdateMigrationDetails.dump_transfer_detailsc C s || _ dS )z� Sets the dump_transfer_details of this UpdateMigrationDetails. :param dump_transfer_details: The dump_transfer_details of this UpdateMigrationDetails. :type: oci.database_migration.models.UpdateDumpTransferDetails NrP )rA r rC rC rD r P s c C s | j S )z� Gets the datapump_settings of this UpdateMigrationDetails. :return: The datapump_settings of this UpdateMigrationDetails. :rtype: oci.database_migration.models.UpdateDataPumpSettings �r9 rF rC rC rD r Z s z(UpdateMigrationDetails.datapump_settingsc C s || _ dS )z� Sets the datapump_settings of this UpdateMigrationDetails. :param datapump_settings: The datapump_settings of this UpdateMigrationDetails. :type: oci.database_migration.models.UpdateDataPumpSettings NrQ )rA r rC rC rD r d s c C s | j S )z� Gets the advisor_settings of this UpdateMigrationDetails. :return: The advisor_settings of this UpdateMigrationDetails. :rtype: oci.database_migration.models.UpdateAdvisorSettings �r: rF rC rC rD r n s z'UpdateMigrationDetails.advisor_settingsc C s || _ dS )z� Sets the advisor_settings of this UpdateMigrationDetails. :param advisor_settings: The advisor_settings of this UpdateMigrationDetails. :type: oci.database_migration.models.UpdateAdvisorSettings NrR )rA r rC rC rD r x s c C s | j S )a� Gets the exclude_objects of this UpdateMigrationDetails. Database objects to exclude from migration, cannot be specified alongside 'includeObjects'. If specified, the list will be replaced entirely. Empty list will remove stored excludeObjects details. :return: The exclude_objects of this UpdateMigrationDetails. :rtype: list[oci.database_migration.models.DatabaseObject] �r; rF rC rC rD r � s z&UpdateMigrationDetails.exclude_objectsc C s || _ dS )a� Sets the exclude_objects of this UpdateMigrationDetails. Database objects to exclude from migration, cannot be specified alongside 'includeObjects'. If specified, the list will be replaced entirely. Empty list will remove stored excludeObjects details. :param exclude_objects: The exclude_objects of this UpdateMigrationDetails. :type: list[oci.database_migration.models.DatabaseObject] NrS )rA r rC rC rD r � s c C s | j S )a� Gets the include_objects of this UpdateMigrationDetails. Database objects to include from migration, cannot be specified alongside 'excludeObjects'. If specified, the list will be replaced entirely. Empty list will remove stored includeObjects details. :return: The include_objects of this UpdateMigrationDetails. :rtype: list[oci.database_migration.models.DatabaseObject] �r<