ValidateDatabaseToolsConnectionMySqlDetails

class oci.database_tools.models.ValidateDatabaseToolsConnectionMySqlDetails(**kwargs)

Bases: oci.database_tools.models.validate_database_tools_connection_details.ValidateDatabaseToolsConnectionDetails

Connection validation details for the MySQL Server.

Attributes

TYPE_GENERIC_JDBC str(object=’’) -> str
TYPE_MYSQL str(object=’’) -> str
TYPE_ORACLE_DATABASE str(object=’’) -> str
TYPE_POSTGRESQL str(object=’’) -> str
type [Required] Gets the type of this ValidateDatabaseToolsConnectionDetails.

Methods

__init__(**kwargs) Initializes a new ValidateDatabaseToolsConnectionMySqlDetails 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.
TYPE_GENERIC_JDBC = 'GENERIC_JDBC'
TYPE_MYSQL = 'MYSQL'
TYPE_ORACLE_DATABASE = 'ORACLE_DATABASE'
TYPE_POSTGRESQL = 'POSTGRESQL'
__init__(**kwargs)

Initializes a new ValidateDatabaseToolsConnectionMySqlDetails object with values from keyword arguments. The default value of the type 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:type (str) – The value to assign to the type property of this ValidateDatabaseToolsConnectionMySqlDetails. Allowed values for this property are: “ORACLE_DATABASE”, “MYSQL”, “POSTGRESQL”, “GENERIC_JDBC”
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.

type

[Required] Gets the type of this ValidateDatabaseToolsConnectionDetails. The DatabaseToolsConnection type.

Allowed values for this property are: “ORACLE_DATABASE”, “MYSQL”, “POSTGRESQL”, “GENERIC_JDBC”

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