public HelpDeskTicket CreateInstance(JsonObject data)
        {
            HelpDeskTicket ticket = base.CreateObject <HelpDeskTicket>();

            ticket.Update(data);

            return(ticket);
        }
        static internal void WriteTicket(HelpDeskTicket o)
        {
            var op = DataOperation.Parse("writeKBHelpDeskTicket",
                                         o.Id, o.TicketType.Id, o.UID,
                                         o.Customer.Id, o.Provider.Id, o.ControlNo,
                                         o.Title, o.Description, o.Tags,
                                         o.ExtensionData.ToString(), o.Keywords,
                                         o.RequestedTime, o.AssignedTo.Id,
                                         o.ResolutionTime, (char)o.Status);

            DataWriter.Execute(op);
        }