ExecuteSqlResponseStandard¶
- class oci.database_tools_runtime.models.ExecuteSqlResponseStandard(**kwargs)¶
Bases:
ExecuteSqlResponseContains the details for the Standard SQL statements to execute on the database connection.
Attributes:
A constant which can be used with the type property of a ExecuteSqlResponse.
A constant which can be used with the type property of a ExecuteSqlResponse.
A constant which can be used with the type property of a ExecuteSqlResponse.
Gets the env of this ExecuteSqlResponse.
[Required] Gets the items of this ExecuteSqlResponseStandard.
[Required] Gets the type of this ExecuteSqlResponse.
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
typeattribute of this class isSTANDARDand 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 ExecuteSqlResponseStandard. Allowed values for this property are: “STANDARD”, “BATCH”, “SCRIPT”
env (oci.database_tools_runtime.models.ExecuteSqlResponseEnv) – The value to assign to the env property of this ExecuteSqlResponseStandard.
version (str) – The value to assign to the version property of this ExecuteSqlResponseStandard.
items (list[oci.database_tools_runtime.models.ExecuteSqlResponseItemStandard]) – The value to assign to the items property of this ExecuteSqlResponseStandard.
- property env¶
Gets the env of this ExecuteSqlResponse.
- Returns
The env of this ExecuteSqlResponse.
- Return type
- 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