ExecuteSqlResponseBatch¶
-
class
oci.database_tools_runtime.models.ExecuteSqlResponseBatch(**kwargs)¶ Bases:
oci.database_tools_runtime.models.execute_sql_response.ExecuteSqlResponseContains the details for the Batch SQL statements to execute on the database connection.
Attributes
TYPE_BATCHstr(object=’’) -> str TYPE_SCRIPTstr(object=’’) -> str TYPE_STANDARDstr(object=’’) -> str envGets the env of this ExecuteSqlResponse. items[Required] Gets the items of this ExecuteSqlResponseBatch. type[Required] Gets the type of this ExecuteSqlResponse. versionGets 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
typeattribute of this class isBATCHand 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 ExecuteSqlResponseBatch. 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 ExecuteSqlResponseBatch.
- version (str) – The value to assign to the version property of this ExecuteSqlResponseBatch.
- items (list[oci.database_tools_runtime.models.ExecuteSqlResponseItemBatch]) – The value to assign to the items property of this ExecuteSqlResponseBatch.
-
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
-