Method MergeWithAlarmProperties
MergeWithAlarmProperties(Ticket, TicketFieldResolver, AlarmEventMessage)
Merges the alarm properties from the AlarmEventMessage in the ticket fields when the TicketFieldResolver defines an AlarmFilterField.
public static Ticket MergeWithAlarmProperties(Ticket baseTicket, TicketFieldResolver resolver, AlarmEventMessage alarm)
Parameters
baseTicket
TicketTo be merged ticket.
resolver
TicketFieldResolverResolver that defines the ticket fields.
alarm
AlarmEventMessageAlarmEventMessage that contains all alarm data.
Returns
- Ticket
Merged ticket.
Examples
Ticket newTicket = Ticket.MergeWithAlarmProperties(new Ticket(), ticketFieldResolver, alarm);
Remarks
Feature introduced in DataMiner 9.6.5 (21202).
Exceptions
- FailedParseAlarmPropertyException
Failed parsing alarm property.
- AlarmPropertyNameDoesNotExistException
An exposer with the specified name does not exist.