NotificationSummary¶
-
class
oci.dblm.models.
NotificationSummary
(**kwargs)¶ Bases:
object
Notifications
Attributes
NOTIFICATION_TYPE_ADVISORY
A constant which can be used with the notification_type property of a NotificationSummary. NOTIFICATION_TYPE_CVE
A constant which can be used with the notification_type property of a NotificationSummary. NOTIFICATION_TYPE_PATCH
A constant which can be used with the notification_type property of a NotificationSummary. id
[Required] Gets the id of this NotificationSummary. notification_text
[Required] Gets the notification_text of this NotificationSummary. notification_type
[Required] Gets the notification_type of this NotificationSummary. time_published
[Required] Gets the time_published of this NotificationSummary. Methods
__init__
(**kwargs)Initializes a new NotificationSummary object with values from keyword arguments. -
NOTIFICATION_TYPE_ADVISORY
= 'ADVISORY'¶ A constant which can be used with the notification_type property of a NotificationSummary. This constant has a value of “ADVISORY”
-
NOTIFICATION_TYPE_CVE
= 'CVE'¶ A constant which can be used with the notification_type property of a NotificationSummary. This constant has a value of “CVE”
-
NOTIFICATION_TYPE_PATCH
= 'PATCH'¶ A constant which can be used with the notification_type property of a NotificationSummary. This constant has a value of “PATCH”
-
__init__
(**kwargs)¶ Initializes a new NotificationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - notification_type (str) – The value to assign to the notification_type property of this NotificationSummary. Allowed values for this property are: “CVE”, “ADVISORY”, “PATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- notification_text (str) – The value to assign to the notification_text property of this NotificationSummary.
- id (str) – The value to assign to the id property of this NotificationSummary.
- time_published (datetime) – The value to assign to the time_published property of this NotificationSummary.
-
id
¶ [Required] Gets the id of this NotificationSummary. Notification identifier.
Returns: The id of this NotificationSummary. Return type: str
-
notification_text
¶ [Required] Gets the notification_text of this NotificationSummary. Notification text
Returns: The notification_text of this NotificationSummary. Return type: str
-
notification_type
¶ [Required] Gets the notification_type of this NotificationSummary. Notification type
Allowed values for this property are: “CVE”, “ADVISORY”, “PATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The notification_type of this NotificationSummary. Return type: str
-
time_published
¶ [Required] Gets the time_published of this NotificationSummary. Published date
Returns: The time_published of this NotificationSummary. Return type: datetime
-