ExecuteSqlResponseScript¶
-
class
oci.database_tools_runtime.models.ExecuteSqlResponseScript(**kwargs)¶ Bases:
oci.database_tools_runtime.models.execute_sql_response.ExecuteSqlResponseContains the details for the Script 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 ExecuteSqlResponseScript. type[Required] Gets the type of this ExecuteSqlResponse. versionGets the version of this ExecuteSqlResponse. Methods
__init__(**kwargs)Initializes a new ExecuteSqlResponseScript 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 ExecuteSqlResponseScript object with values from keyword arguments. The default value of the
typeattribute of this class isSCRIPTand 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 ExecuteSqlResponseScript. 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 ExecuteSqlResponseScript.
- version (str) – The value to assign to the version property of this ExecuteSqlResponseScript.
- items (list[oci.database_tools_runtime.models.ExecuteSqlResponseItemScript]) – The value to assign to the items property of this ExecuteSqlResponseScript.
-
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 ExecuteSqlResponseScript. The execution result of a statement.
Returns: The items of this ExecuteSqlResponseScript. Return type: list[oci.database_tools_runtime.models.ExecuteSqlResponseItemScript]
-
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
-