Message¶
-
class
oci.data_integration.models.
Message
(**kwargs)¶ Bases:
object
The details of a message.
Attributes
TYPE_ERROR
A constant which can be used with the type property of a Message. TYPE_INFO
A constant which can be used with the type property of a Message. TYPE_WARNING
A constant which can be used with the type property of a Message. code
[Required] Gets the code of this Message. message
[Required] Gets the message of this Message. type
[Required] Gets the type of this Message. Methods
__init__
(**kwargs)Initializes a new Message object with values from keyword arguments. -
TYPE_ERROR
= 'ERROR'¶ A constant which can be used with the type property of a Message. This constant has a value of “ERROR”
-
TYPE_INFO
= 'INFO'¶ A constant which can be used with the type property of a Message. This constant has a value of “INFO”
-
TYPE_WARNING
= 'WARNING'¶ A constant which can be used with the type property of a Message. This constant has a value of “WARNING”
-
__init__
(**kwargs)¶ Initializes a new Message object with values from keyword arguments. 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 Message. Allowed values for this property are: “ERROR”, “WARNING”, “INFO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- code (str) – The value to assign to the code property of this Message.
- message (str) – The value to assign to the message property of this Message.
-
code
¶ [Required] Gets the code of this Message. The message code.
Returns: The code of this Message. Return type: str
-
message
¶ [Required] Gets the message of this Message. The message text.
Returns: The message of this Message. Return type: str
-
type
¶ [Required] Gets the type of this Message. The type of message (error, warning, or info).
Allowed values for this property are: “ERROR”, “WARNING”, “INFO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this Message. Return type: str
-