Table of Contents

Method MergeWithOverrideProperties

Namespace
Skyline.DataMiner.Net.Ticketing
Assembly
SLNetTypes.dll

MergeWithOverrideProperties(Ticket, List<TicketFieldOverrideConfig>, TicketFieldResolver, AlarmEventMessage)

Merges the alarm properties and default values in the ticket fields as defined in the override fields.

public static Ticket MergeWithOverrideProperties(Ticket baseTicket, List<TicketFieldOverrideConfig> overrideFields, TicketFieldResolver resolver, AlarmEventMessage alarm)

Parameters

baseTicket Ticket

To be merged Ticket.

overrideFields List<TicketFieldOverrideConfig>

Override fields that define the ticket fields.

resolver TicketFieldResolver

Resolver that is linked to the ticket.

alarm AlarmEventMessage

AlarmEventMessage that contains all alarm data.

Returns

Ticket

Merged Ticket.

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.

TicketFieldDoesNotExistException

One of the override fields define a ticket field that is not in the resolver.