SqlTextSummary

class oci.opsi.models.SqlTextSummary(**kwargs)

Bases: object

SQL Text details

Methods

__init__(**kwargs) Initializes a new SqlTextSummary object with values from keyword arguments.

Attributes

compartment_id Gets the compartment_id of this SqlTextSummary.
database_id [Required] Gets the database_id of this SqlTextSummary.
id [Required] Gets the id of this SqlTextSummary.
sql_identifier [Required] Gets the sql_identifier of this SqlTextSummary.
sql_text [Required] Gets the sql_text of this SqlTextSummary.
__init__(**kwargs)

Initializes a new SqlTextSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • sql_identifier (str) – The value to assign to the sql_identifier property of this SqlTextSummary.
  • id (str) – The value to assign to the id property of this SqlTextSummary.
  • database_id (str) – The value to assign to the database_id property of this SqlTextSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this SqlTextSummary.
  • sql_text (str) – The value to assign to the sql_text property of this SqlTextSummary.
compartment_id

Gets the compartment_id of this SqlTextSummary. The OCID of the compartment.

Returns:The compartment_id of this SqlTextSummary.
Return type:str
database_id

[Required] Gets the database_id of this SqlTextSummary. The OCID of the database.

Returns:The database_id of this SqlTextSummary.
Return type:str
id

[Required] Gets the id of this SqlTextSummary. The OCID of the database insight resource.

Returns:The id of this SqlTextSummary.
Return type:str
sql_identifier

[Required] Gets the sql_identifier of this SqlTextSummary. Unique SQL_ID for a SQL Statement.

Returns:The sql_identifier of this SqlTextSummary.
Return type:str
sql_text

[Required] Gets the sql_text of this SqlTextSummary. SQL Text

Returns:The sql_text of this SqlTextSummary.
Return type:str