Table of Contents

Class TicketHistory

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

Represents the history of a specific ticket.

[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class TicketHistory : IManagerIdentifiableObject<TicketID>, IManagerIdentifiableObject<Guid>, CustomDataType, DataType, ITrackLastModified
Inheritance
TicketHistory
Implements
IManagerIdentifiableObject<TicketID>
IManagerIdentifiableObject<Guid>
Extension Methods

Constructors

TicketHistory()

Initializes a new instance of the TicketHistory class.

TicketHistory(Ticket, string)

Initializes a new instance of the TicketHistory class using the specified Ticket and username.

TicketHistory(TicketID)

Initializes a new instance of the TicketHistory class using the specified TicketID.

TicketHistory(TicketID, Guid)

Initializes a new instance of the TicketHistory class using the specified TicketID and GUID.

Fields

Count

Gets the count.

GroupSeparator

The group separator.

Properties

DataTypeID

Gets the datatype ID.

FromMigration
History

Gets or sets the ticket history.

ID

Gets or sets the ID of the ticket to which this history relates.

LastModified

Gets or sets the last modification date.

UID

UID of the ticket for which this History applies

Methods

AddHistoryEntry(DateTime, string, HashSet<ChangedProperty>)

Adds a new entry to the ticket history.

AddHistoryEntry(string, HashSet<ChangedProperty>)

Adds a new entry to the ticket history.

FiltersTo(TicketHistory)

Retrieves a value indicating whether the specified ticket history relates to the same ticket.

FromJson(string)

Parses the specified JSON string and creates a TicketHistory object.

GetEnumerator()

Returns an enumerator that iterates through the collection.

ToFilter<T>()
ToJson()

Creates a JSON string representation of this TicketHistory object.