ValidateDatabaseToolsConnectionOracleDatabaseDetails

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

Bases: ValidateDatabaseToolsConnectionDetails

Connection validation details for the Oracle Database.

Attributes:

TYPE_GENERIC_JDBC

A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails.

TYPE_MYSQL

A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails.

TYPE_ORACLE_DATABASE

A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails.

TYPE_POSTGRESQL

A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails.

type

[Required] Gets the type of this ValidateDatabaseToolsConnectionDetails.

Methods:

__init__(**kwargs)

Initializes a new ValidateDatabaseToolsConnectionOracleDatabaseDetails 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'

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

TYPE_MYSQL = 'MYSQL'

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

TYPE_ORACLE_DATABASE = 'ORACLE_DATABASE'

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

TYPE_POSTGRESQL = 'POSTGRESQL'

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

__init__(**kwargs)

Initializes a new ValidateDatabaseToolsConnectionOracleDatabaseDetails object with values from keyword arguments. The default value of the type attribute of this class is ORACLE_DATABASE 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 ValidateDatabaseToolsConnectionOracleDatabaseDetails. 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.

property type

[Required] Gets the type of this ValidateDatabaseToolsConnectionDetails. The Database Tools connection type.

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

Returns

The type of this ValidateDatabaseToolsConnectionDetails.

Return type

str