models.alert_property module

class models.alert_property.AlertProperty(key=None, value=None)[source]

Bases: object

Implementation of the ‘AlertProperty’ model.

Specifies a key-value pair associated with an Alert.

Attributes:

key (string): Specifies name of the property. value (string): Specifies value of the property.

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.