ExecuteSqlInputScriptDetails

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

Bases: oci.database_tools_runtime.models.execute_sql_input_details.ExecuteSqlInputDetails

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

Attributes

TYPE_BATCH str(object=’’) -> str
TYPE_SCRIPT str(object=’’) -> str
TYPE_STANDARD str(object=’’) -> str
properties Gets the properties of this ExecuteSqlInputScriptDetails.
scripts [Required] Gets the scripts of this ExecuteSqlInputScriptDetails.
type [Required] Gets the type of this ExecuteSqlInputDetails.
version Gets the version of this ExecuteSqlInputScriptDetails.

Methods

__init__(**kwargs) Initializes a new ExecuteSqlInputScriptDetails 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 ExecuteSqlInputScriptDetails object with values from keyword arguments. The default value of the type attribute of this class is SCRIPT and 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 ExecuteSqlInputScriptDetails. Allowed values for this property are: “STANDARD”, “BATCH”, “SCRIPT”
  • version (str) – The value to assign to the version property of this ExecuteSqlInputScriptDetails.
  • properties (list[dict(str, object)]) – The value to assign to the properties property of this ExecuteSqlInputScriptDetails.
  • scripts (list[oci.database_tools_runtime.models.ExecuteSqlInputScriptSqlRequestDetails]) – The value to assign to the scripts property of this ExecuteSqlInputScriptDetails.
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.

properties

Gets the properties of this ExecuteSqlInputScriptDetails. Client properties returned as-is in the response

Returns:The properties of this ExecuteSqlInputScriptDetails.
Return type:list[dict(str, object)]
scripts

[Required] Gets the scripts of this ExecuteSqlInputScriptDetails. The collection of scripts to execute.

Returns:The scripts of this ExecuteSqlInputScriptDetails.
Return type:list[oci.database_tools_runtime.models.ExecuteSqlInputScriptSqlRequestDetails]
type

[Required] Gets the type of this ExecuteSqlInputDetails. The Request type.

Allowed values for this property are: “STANDARD”, “BATCH”, “SCRIPT”

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

Gets the version of this ExecuteSqlInputScriptDetails. Request payload version, returned as-is in the response

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