ExecuteSqlResponseStandard

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

Bases: ExecuteSqlResponse

Contains the details for the Standard SQL statements to execute on the database connection.

Attributes:

TYPE_BATCH

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

TYPE_SCRIPT

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

TYPE_STANDARD

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

env

Gets the env of this ExecuteSqlResponse.

items

[Required] Gets the items of this ExecuteSqlResponseStandard.

type

[Required] Gets the type of this ExecuteSqlResponse.

version

Gets the version of this ExecuteSqlResponse.

Methods:

__init__(**kwargs)

Initializes a new ExecuteSqlResponseStandard 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_BATCH = 'BATCH'

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

TYPE_SCRIPT = 'SCRIPT'

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

TYPE_STANDARD = 'STANDARD'

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

__init__(**kwargs)

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

Parameters
property env

Gets the env of this ExecuteSqlResponse.

Returns

The env of this ExecuteSqlResponse.

Return type

oci.database_tools_runtime.models.ExecuteSqlResponseEnv

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 items

[Required] Gets the items of this ExecuteSqlResponseStandard. The execution result of a statement.

Returns

The items of this ExecuteSqlResponseStandard.

Return type

list[oci.database_tools_runtime.models.ExecuteSqlResponseItemStandard]

property type

[Required] Gets the type of this ExecuteSqlResponse. The response payload type

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

Returns

The type of this ExecuteSqlResponse.

Return type

str

property version

Gets the version of this ExecuteSqlResponse. Script version

Returns

The version of this ExecuteSqlResponse.

Return type

str