Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 2.07 KB

AlarmListen.md

File metadata and controls

28 lines (23 loc) · 2.07 KB

AlarmListen

Properties

Name Type Description Notes
asset_id int ID of the corresponding asset
subtype DataSubtype
priority AlarmPriority
timestamp datetime Timestamp of the latest data change
occurrences int How often this alarm is triggered
status_code int The status code expecting when actually perform the operation. Some values are - 200: updated (ok) - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable [optional]
rule_id int, none_type The id of the corresponding rule [optional]
attribute str, none_type Name of the attribute of the asset type [optional]
requires_acknowledge bool Requires the alarm an acknowledgment [optional] if omitted the server will use the default value of False
value float, none_type The value which triggers the alarm [optional]
gone_timestamp datetime, none_type Timestamp of the latest data change [optional]
acknowledge_timestamp datetime, none_type Timestamp of the latest data change [optional]
acknowledge_text str, none_type Text of acknowledgement [optional]
acknowledge_user_id str, none_type User who acknowledged the alarm [optional]
message {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type Message.yaml texts for alarm [optional]
asset_info Asset [optional]
rule_info AlarmRule [optional]
any string name bool, date, datetime, dict, float, int, list, str, none_type any string name can be used but the value must be the correct type [optional]

[Back to Model list] [Back to API list] [Back to README]