ExecuteSqlResponseBatch

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

Bases: oci.database_tools_runtime.models.execute_sql_response.ExecuteSqlResponse

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

Attributes

TYPE_BATCH str(object=’’) -> str
TYPE_SCRIPT str(object=’’) -> str
TYPE_STANDARD str(object=’’) -> str
env Gets the env of this ExecuteSqlResponse.
items [Required] Gets the items of this ExecuteSqlResponseBatch.
type [Required] Gets the type of this ExecuteSqlResponse.
version Gets the version of this ExecuteSqlResponse.

Methods

__init__(**kwargs) Initializes a new ExecuteSqlResponseBatch 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'
TYPE_SCRIPT = 'SCRIPT'
TYPE_STANDARD = 'STANDARD'
__init__(**kwargs)

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

Parameters:
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.

items

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

Returns:The items of this ExecuteSqlResponseBatch.
Return type:list[oci.database_tools_runtime.models.ExecuteSqlResponseItemBatch]
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
version

Gets the version of this ExecuteSqlResponse. Script version

Returns:The version of this ExecuteSqlResponse.
Return type:str