/**
 * Database Migration API
 * Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations.
 * OpenAPI spec version: 20210929
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * Optional settings for Data Pump Export and Import jobs
 *
 */ export interface UpdateDataPumpSettings { /**
     * Data Pump job mode.
     * Refer to [Data Pump Export Modes ](https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4)
     *
     */ "jobMode" ? : model . DataPumpJobMode ; "dataPumpParameters" ? : model . UpdateDataPumpParameters ; /**
     * Defines remappings to be applied to objects as they are processed.
     * Refer to [METADATA_REMAP Procedure ](https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D)
     * If specified, the list will be replaced entirely. Empty list will remove stored Metadata Remap details.
     *
     */ "metadataRemaps" ? : Array < model . MetadataRemap > ; "exportDirectoryObject" ? : model . UpdateDirectoryObject ; "importDirectoryObject" ? : model . UpdateDirectoryObject ; } export namespace UpdateDataPumpSettings { export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { "dataPumpParameters" : obj . dataPumpParameters ? model . UpdateDataPumpParameters . getJsonObj ( obj . dataPumpParameters ) : undefined , "metadataRemaps" : obj . metadataRemaps ? obj . metadataRemaps . map ( item => { return model . MetadataRemap . getJsonObj ( item ) ; } ) : undefined , "exportDirectoryObject" : obj . exportDirectoryObject ? model . UpdateDirectoryObject . getJsonObj ( obj . exportDirectoryObject ) : undefined , "importDirectoryObject" : obj . importDirectoryObject ? model . UpdateDirectoryObject . getJsonObj ( obj . importDirectoryObject ) : undefined } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { "dataPumpParameters" : obj . dataPumpParameters ? model . UpdateDataPumpParameters . getDeserializedJsonObj ( obj . dataPumpParameters ) : undefined , "metadataRemaps" : obj . metadataRemaps ? obj . metadataRemaps . map ( item => { return model . MetadataRemap . getDeserializedJsonObj ( item ) ; } ) : undefined , "exportDirectoryObject" : obj . exportDirectoryObject ? model . UpdateDirectoryObject . getDeserializedJsonObj ( obj . exportDirectoryObject ) : undefined , "importDirectoryObject" : obj . importDirectoryObject ? model . UpdateDirectoryObject . getDeserializedJsonObj ( obj . importDirectoryObject ) : undefined } } ; return jsonObj ; } }