DatabaseToolsCustomSqlToolToolsetSource

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

Bases: object

The SQL source. Can contain multiple statements with a mix of queries, DML, DCL, DLL and scripts.

Attributes:

TYPE_INLINE

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

type

[Required] Gets the type of this DatabaseToolsCustomSqlToolToolsetSource.

value

[Required] Gets the value of this DatabaseToolsCustomSqlToolToolsetSource.

Methods:

__init__(**kwargs)

Initializes a new DatabaseToolsCustomSqlToolToolsetSource object with values from keyword arguments.

TYPE_INLINE = 'INLINE'

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

__init__(**kwargs)

Initializes a new DatabaseToolsCustomSqlToolToolsetSource object with values from keyword arguments. 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 DatabaseToolsCustomSqlToolToolsetSource. Allowed values for this property are: “INLINE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

property type

[Required] Gets the type of this DatabaseToolsCustomSqlToolToolsetSource. The sql toolset sources type. INLINE is the only possible value.

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

Returns

The type of this DatabaseToolsCustomSqlToolToolsetSource.

Return type

str

property value

[Required] Gets the value of this DatabaseToolsCustomSqlToolToolsetSource. The SQL source. Can contain multiple statements with a mix of queries, DML, DCL, DLL and scripts.

Returns

The value of this DatabaseToolsCustomSqlToolToolsetSource.

Return type

str