MetadataRemap

class oci.database_migration.models.MetadataRemap(**kwargs)

Bases: object

Defines remapping to be applied to objects as they are processed. Refer to `METADATA_REMAP Procedure `__

Attributes

TYPE_DATAFILE A constant which can be used with the type property of a MetadataRemap.
TYPE_SCHEMA A constant which can be used with the type property of a MetadataRemap.
TYPE_TABLE A constant which can be used with the type property of a MetadataRemap.
TYPE_TABLESPACE A constant which can be used with the type property of a MetadataRemap.
new_value [Required] Gets the new_value of this MetadataRemap.
old_value [Required] Gets the old_value of this MetadataRemap.
type [Required] Gets the type of this MetadataRemap.

Methods

__init__(**kwargs) Initializes a new MetadataRemap object with values from keyword arguments.
TYPE_DATAFILE = 'DATAFILE'

A constant which can be used with the type property of a MetadataRemap. This constant has a value of “DATAFILE”

TYPE_SCHEMA = 'SCHEMA'

A constant which can be used with the type property of a MetadataRemap. This constant has a value of “SCHEMA”

TYPE_TABLE = 'TABLE'

A constant which can be used with the type property of a MetadataRemap. This constant has a value of “TABLE”

TYPE_TABLESPACE = 'TABLESPACE'

A constant which can be used with the type property of a MetadataRemap. This constant has a value of “TABLESPACE”

__init__(**kwargs)

Initializes a new MetadataRemap object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this MetadataRemap. Allowed values for this property are: “SCHEMA”, “TABLESPACE”, “DATAFILE”, “TABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • old_value (str) – The value to assign to the old_value property of this MetadataRemap.
  • new_value (str) – The value to assign to the new_value property of this MetadataRemap.
new_value

[Required] Gets the new_value of this MetadataRemap. Specifies the new value that oldValue should be translated into.

Returns:The new_value of this MetadataRemap.
Return type:str
old_value

[Required] Gets the old_value of this MetadataRemap. Specifies the value which needs to be reset.

Returns:The old_value of this MetadataRemap.
Return type:str
type

[Required] Gets the type of this MetadataRemap. Type of remap. Refer to `METADATA_REMAP Procedure `__

Allowed values for this property are: “SCHEMA”, “TABLESPACE”, “DATAFILE”, “TABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this MetadataRemap.
Return type:str