MySqlDataVerificationObjectStatusSummary

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

Bases: DataVerificationObjectStatusSummary

Per-object status comparison line for MySQL migrations.

Attributes:

DATABASE_COMBINATION_MYSQL

A constant which can be used with the database_combination property of a DataVerificationObjectStatusSummary.

DATABASE_COMBINATION_ORACLE

A constant which can be used with the database_combination property of a DataVerificationObjectStatusSummary.

OBJECT_TYPE_DATABASE

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_EVENT

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_FUNCTION

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_INDEX

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_LOGFILE_GROUP

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_PROCEDURE

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_ROLE

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_SCHEMA

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_SERVER

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_TABLE

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_TABLESPACE

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_TRIGGER

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_USER

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

OBJECT_TYPE_VIEW

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary.

database_combination

[Required] Gets the database_combination of this DataVerificationObjectStatusSummary.

object_name

[Required] Gets the object_name of this DataVerificationObjectStatusSummary.

object_type

[Required] Gets the object_type of this MySqlDataVerificationObjectStatusSummary.

owner

Gets the owner of this DataVerificationObjectStatusSummary.

status_in_source

[Required] Gets the status_in_source of this DataVerificationObjectStatusSummary.

status_in_target

[Required] Gets the status_in_target of this DataVerificationObjectStatusSummary.

Methods:

__init__(**kwargs)

Initializes a new MySqlDataVerificationObjectStatusSummary object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

DATABASE_COMBINATION_MYSQL = 'MYSQL'

A constant which can be used with the database_combination property of a DataVerificationObjectStatusSummary. This constant has a value of “MYSQL”

DATABASE_COMBINATION_ORACLE = 'ORACLE'

A constant which can be used with the database_combination property of a DataVerificationObjectStatusSummary. This constant has a value of “ORACLE”

OBJECT_TYPE_DATABASE = 'DATABASE'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “DATABASE”

OBJECT_TYPE_EVENT = 'EVENT'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “EVENT”

OBJECT_TYPE_FUNCTION = 'FUNCTION'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “FUNCTION”

OBJECT_TYPE_INDEX = 'INDEX'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “INDEX”

OBJECT_TYPE_LOGFILE_GROUP = 'LOGFILE_GROUP'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “LOGFILE_GROUP”

OBJECT_TYPE_PROCEDURE = 'PROCEDURE'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “PROCEDURE”

OBJECT_TYPE_ROLE = 'ROLE'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “ROLE”

OBJECT_TYPE_SCHEMA = 'SCHEMA'

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

OBJECT_TYPE_SERVER = 'SERVER'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “SERVER”

OBJECT_TYPE_TABLE = 'TABLE'

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

OBJECT_TYPE_TABLESPACE = 'TABLESPACE'

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

OBJECT_TYPE_TRIGGER = 'TRIGGER'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “TRIGGER”

OBJECT_TYPE_USER = 'USER'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “USER”

OBJECT_TYPE_VIEW = 'VIEW'

A constant which can be used with the object_type property of a MySqlDataVerificationObjectStatusSummary. This constant has a value of “VIEW”

__init__(**kwargs)

Initializes a new MySqlDataVerificationObjectStatusSummary object with values from keyword arguments. The default value of the database_combination attribute of this class is MYSQL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • database_combination (str) – The value to assign to the database_combination property of this MySqlDataVerificationObjectStatusSummary. Allowed values for this property are: “MYSQL”, “ORACLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • owner (str) – The value to assign to the owner property of this MySqlDataVerificationObjectStatusSummary.

  • object_name (str) – The value to assign to the object_name property of this MySqlDataVerificationObjectStatusSummary.

  • status_in_source (str) – The value to assign to the status_in_source property of this MySqlDataVerificationObjectStatusSummary.

  • status_in_target (str) – The value to assign to the status_in_target property of this MySqlDataVerificationObjectStatusSummary.

  • object_type (str) – The value to assign to the object_type property of this MySqlDataVerificationObjectStatusSummary. Allowed values for this property are: “TABLE”, “VIEW”, “INDEX”, “TRIGGER”, “PROCEDURE”, “FUNCTION”, “EVENT”, “DATABASE”, “SCHEMA”, “TABLESPACE”, “SERVER”, “LOGFILE_GROUP”, “USER”, “ROLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property database_combination

[Required] Gets the database_combination of this DataVerificationObjectStatusSummary. The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.

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

Returns

The database_combination of this DataVerificationObjectStatusSummary.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property object_name

[Required] Gets the object_name of this DataVerificationObjectStatusSummary. Database object name.

Returns

The object_name of this DataVerificationObjectStatusSummary.

Return type

str

property object_type

[Required] Gets the object_type of this MySqlDataVerificationObjectStatusSummary. MySQL database object type.

Allowed values for this property are: “TABLE”, “VIEW”, “INDEX”, “TRIGGER”, “PROCEDURE”, “FUNCTION”, “EVENT”, “DATABASE”, “SCHEMA”, “TABLESPACE”, “SERVER”, “LOGFILE_GROUP”, “USER”, “ROLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The object_type of this MySqlDataVerificationObjectStatusSummary.

Return type

str

property owner

Gets the owner of this DataVerificationObjectStatusSummary. Schema/owner name.

This field is omitted (null/empty depending on backend serialization) for database-wide object types that are not schema-scoped.

Oracle non-schema-scoped object types: USER, ROLE, PROFILE, TABLESPACE, DATABASE_LINK, CONTROLFILE, DATAFILE, REDO_LOG, DIRECTORY, LIBRARY, CONTEXT.

MySQL non-schema-scoped object types: USER, ROLE, SERVER, TABLESPACE, LOGFILE_GROUP.

Returns

The owner of this DataVerificationObjectStatusSummary.

Return type

str

property status_in_source

[Required] Gets the status_in_source of this DataVerificationObjectStatusSummary. Object status in source.

Returns

The status_in_source of this DataVerificationObjectStatusSummary.

Return type

str

property status_in_target

[Required] Gets the status_in_target of this DataVerificationObjectStatusSummary. Object status in target.

Returns

The status_in_target of this DataVerificationObjectStatusSummary.

Return type

str