MigrationParameterBase

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

Bases: object

Migration parameter base object.

Attributes

DATA_TYPE_BOOLEAN A constant which can be used with the data_type property of a MigrationParameterBase.
DATA_TYPE_FLOAT A constant which can be used with the data_type property of a MigrationParameterBase.
DATA_TYPE_INTEGER A constant which can be used with the data_type property of a MigrationParameterBase.
DATA_TYPE_STRING A constant which can be used with the data_type property of a MigrationParameterBase.
data_type [Required] Gets the data_type of this MigrationParameterBase.
name [Required] Gets the name of this MigrationParameterBase.

Methods

__init__(**kwargs) Initializes a new MigrationParameterBase object with values from keyword arguments.
DATA_TYPE_BOOLEAN = 'BOOLEAN'

A constant which can be used with the data_type property of a MigrationParameterBase. This constant has a value of “BOOLEAN”

DATA_TYPE_FLOAT = 'FLOAT'

A constant which can be used with the data_type property of a MigrationParameterBase. This constant has a value of “FLOAT”

DATA_TYPE_INTEGER = 'INTEGER'

A constant which can be used with the data_type property of a MigrationParameterBase. This constant has a value of “INTEGER”

DATA_TYPE_STRING = 'STRING'

A constant which can be used with the data_type property of a MigrationParameterBase. This constant has a value of “STRING”

__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this MigrationParameterBase.
  • data_type (str) – The value to assign to the data_type property of this MigrationParameterBase. Allowed values for this property are: “STRING”, “INTEGER”, “FLOAT”, “BOOLEAN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
data_type

[Required] Gets the data_type of this MigrationParameterBase. Parameter data type.

Allowed values for this property are: “STRING”, “INTEGER”, “FLOAT”, “BOOLEAN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The data_type of this MigrationParameterBase.
Return type:str
name

[Required] Gets the name of this MigrationParameterBase. Parameter name.

Returns:The name of this MigrationParameterBase.
Return type:str