models_v2.alert_group_summary module

class models_v2.alert_group_summary.AlertGroupSummary(category=None, mtype=None, warning_count=None, critical_count=None, info_count=None, total_count=None)[source]

Bases: object

Implementation of the ‘AlertGroupSummary’ model.

Specifies alerts summary grouped for an alert category.

Attributes:
category (CategoryEnum): Category of alerts by which summary is

grouped.

mtype (string): Type/bucket that this alert category belongs to. warning_count (long|int): Specifies count of warning alerts. critical_count (long|int): Specifies count of critical alerts. info_count (long|int): Specifies count of info alerts. total_count (long|int): Specifies count of total alerts.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.