ValidateDatabaseToolsConnectionPostgresqlDetails

class oci.database_tools_runtime.models.ValidateDatabaseToolsConnectionPostgresqlDetails(**kwargs)

Bases: ValidateDatabaseToolsConnectionDetails

Connection validation details for the Postgresql Server.

Attributes:

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 ValidateDatabaseToolsConnectionPostgresqlDetails 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_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 ValidateDatabaseToolsConnectionPostgresqlDetails object with values from keyword arguments. The default value of the type attribute of this class is POSTGRESQL 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 ValidateDatabaseToolsConnectionPostgresqlDetails. Allowed values for this property are: “ORACLE_DATABASE”, “MYSQL”, “POSTGRESQL”

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 DatabaseToolsConnection type.

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

Returns

The type of this ValidateDatabaseToolsConnectionDetails.

Return type

str