MySqlQueryMessage¶
-
class
oci.database_management.models.
MySqlQueryMessage
(**kwargs)¶ Bases:
object
The MySQL error, warning or note raised when a query is run, if any.
Attributes
LEVEL_ERROR
A constant which can be used with the level property of a MySqlQueryMessage. LEVEL_NOTE
A constant which can be used with the level property of a MySqlQueryMessage. LEVEL_WARNING
A constant which can be used with the level property of a MySqlQueryMessage. code
[Required] Gets the code of this MySqlQueryMessage. level
[Required] Gets the level of this MySqlQueryMessage. message_text
[Required] Gets the message_text of this MySqlQueryMessage. Methods
__init__
(**kwargs)Initializes a new MySqlQueryMessage object with values from keyword arguments. -
LEVEL_ERROR
= 'ERROR'¶ A constant which can be used with the level property of a MySqlQueryMessage. This constant has a value of “ERROR”
-
LEVEL_NOTE
= 'NOTE'¶ A constant which can be used with the level property of a MySqlQueryMessage. This constant has a value of “NOTE”
-
LEVEL_WARNING
= 'WARNING'¶ A constant which can be used with the level property of a MySqlQueryMessage. This constant has a value of “WARNING”
-
__init__
(**kwargs)¶ Initializes a new MySqlQueryMessage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - level (str) – The value to assign to the level property of this MySqlQueryMessage. Allowed values for this property are: “ERROR”, “WARNING”, “NOTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- code (int) – The value to assign to the code property of this MySqlQueryMessage.
- message_text (str) – The value to assign to the message_text property of this MySqlQueryMessage.
-
code
¶ [Required] Gets the code of this MySqlQueryMessage. The MySQL code of the raised error, warning or note.
Returns: The code of this MySqlQueryMessage. Return type: int
-
level
¶ [Required] Gets the level of this MySqlQueryMessage. The level of severity of the MySQL message.
Allowed values for this property are: “ERROR”, “WARNING”, “NOTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The level of this MySqlQueryMessage. Return type: str
-
message_text
¶ [Required] Gets the message_text of this MySqlQueryMessage. The MySQL message text of the raised error, warning or note.
Returns: The message_text of this MySqlQueryMessage. Return type: str
-