Class AlarmMessage
- Namespace
- SenseAnywhere.Sdk.Messages
- Assembly
- SenseAnywhere.Sdk.dll
Represents a Webhook alarm message.
public sealed class AlarmMessage
- Inheritance
-
AlarmMessage
- Inherited Members
Constructors
AlarmMessage(AlarmMessageHeaders, IEnumerable<Alarm>)
Initializes a new instance of the AlarmMessage class.
public AlarmMessage(AlarmMessageHeaders headers, IEnumerable<Alarm> payload)
Parameters
headers
AlarmMessageHeadersThe headers associated with the alarm message.
payload
IEnumerable<Alarm>A collection of alarms included in the alarm message.
Properties
Headers
Gets the headers associated with the alarm message.
public AlarmMessageHeaders Headers { get; }
Property Value
Payload
Gets the payload of the alarm message, which is a collection of alarms.
public IEnumerable<Alarm> Payload { get; }