Table of Contents

Class TicketFieldDescriptor

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

Describes a ticket field used by TicketFieldResolver.

[Serializable]
public class TicketFieldDescriptor
Inheritance
TicketFieldDescriptor
Extension Methods

Remarks

A TicketFieldDescriptor is uniquely identified by FieldName.

Constructors

TicketFieldDescriptor()

Initializes a new instance of the TicketFieldDescriptor class.

Fields

IsPlaceHolder

Gets a value indicating whether this is a placeholder.

Properties

AlarmProperty

Gets or sets the name of the linked alarm property field.

CustomAlarmPropertyName

Gets or sets the name of the linked custom property.

CustomAlarmPropertyType

Gets or sets the type of the linked custom property.

DataMinerPlaceHolder

Gets the TicketFieldDescriptor instance representing a DataMiner ticket field placeholder.

DefaultValue

Gets or sets the default value for this field when creating a new ticket.

FieldDisplayName

Gets or sets the display name of the field.

FieldName

Gets or sets the uniquely identifiable name of the field.

FieldType

Gets or sets the type of value that will be saved in the field.

IsDataMinerMaster

Gets or sets a value indicating whether DataMiner is master of this field.

IsRequired

Gets or sets a value indicating whether this field is a required field (i.e. null is not allowed).

IsThirdParty

Gets or sets a value indicating whether this is a third-party field (i.e. a field from an external ticketing system).

IsThirdPartyMaster

Gets or sets a value indicating whether the third-party is master of this field.

MultiSelectionFilter

Gets or sets a value indicating whether multiple filtering on the values of this field is allowed.

ShowColumnInTicketOverview

Gets or sets a value indicating whether this field should be shown in the ticket overview.

SingleSelectionFilter

Gets or sets a value indicating whether single filtering on the values of this field is allowed.

StaticTextValue

Defines the string that will be filled in the TicketField. This value is used when AlarmProperty has value "StaticText"

ThirdPartyPlaceHolder

Gets the TicketFieldDescriptor instance representing a third-party ticket field placeholder.

TicketFieldConcatItems

Defines a list of extra variable or static fields that will be concatenated to the first field value defined by AlarmProperty if FieldType equals String.

Validator

Gets or sets the ITicketFieldValidator object used to validate the value of the field.

Methods

Equals(TicketFieldDescriptor)

Determines whether the specified object is equal to the current object.

Equals(object)

Determines whether the specified object is equal to the current object.

FromJson(string)

Parses the specified JSON string and creates a TicketFieldDescriptor object.

GetHashCode()

Calculates the hash code for this object.

ToJson()

Creates a JSON string representation of this TicketFieldDescriptor object.

ToString()

Returns a string that represents the current object.