ExecuteSqlInputScriptDetails¶
- class oci.database_tools_runtime.models.ExecuteSqlInputScriptDetails(**kwargs)¶
Bases:
ExecuteSqlInputDetailsContains the details for the Script SQL statements to execute on the database connection.
Attributes:
A constant which can be used with the type property of a ExecuteSqlInputDetails.
A constant which can be used with the type property of a ExecuteSqlInputDetails.
A constant which can be used with the type property of a ExecuteSqlInputDetails.
Gets the properties of this ExecuteSqlInputScriptDetails.
[Required] Gets the scripts of this ExecuteSqlInputScriptDetails.
[Required] Gets the type of this ExecuteSqlInputDetails.
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'¶
A constant which can be used with the type property of a ExecuteSqlInputDetails. This constant has a value of “BATCH”
- TYPE_SCRIPT = 'SCRIPT'¶
A constant which can be used with the type property of a ExecuteSqlInputDetails. This constant has a value of “SCRIPT”
- TYPE_STANDARD = 'STANDARD'¶
A constant which can be used with the type property of a ExecuteSqlInputDetails. This constant has a value of “STANDARD”
- __init__(**kwargs)¶
Initializes a new ExecuteSqlInputScriptDetails 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 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.
- property 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)]
- property 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]
- property 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
- property 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