using System.Collections.Generic; using CTA.Rules.Models; public class Rootobject { public Rootobject() { NameSpaces = new List(); } public List NameSpaces { get; set; } } public class Namespace { public Namespace() { Classes = new List(); Interfaces = new List(); Actions = new List(); } public string @namespace { get; set; } public string Assembly { get; set; } public string Type { get; set; } public string Reference { get; set; } public List Classes { get; set; } public List Interfaces { get; set; } public List Actions { get; set; } } public class @Class { public Class() { Methods = new List(); Actions = new List(); Attributes = new List(); ObjectCreations = new List(); } public string Key { get; set; } public string FullKey { get; set; } public string KeyType { get; set; } public List Methods { get; set; } public List Actions { get; set; } public List Attributes { get; set; } public List ObjectCreations { get; set; } } public class Interface { public Interface() { Methods = new List(); Actions = new List(); Attributes = new List(); } public string Key { get; set; } public string FullKey { get; set; } public string KeyType { get; set; } public List Methods { get; set; } public List Actions { get; set; } public List Attributes { get; set; } } public class Method { public Method() { Actions = new List(); } public string Key { get; set; } public string FullKey { get; set; } public List Actions { get; set; } } public class Action { public string Name { get; set; } public string Type { get; set; } public dynamic Value { get; set; } public dynamic VbValue { get; set; } public string Description { get; set; } public ActionValidation ActionValidation { get; set; } public ActionValidation VbActionValidation { get; set; } } public class Attribute { public Attribute() { Actions = new List(); } public string Key { get; set; } public string FullKey { get; set; } public List Actions { get; set; } } public class ObjectCreation { public ObjectCreation() { Actions = new List(); } public string Key { get; set; } public string FullKey { get; set; } public List Actions { get; set; } }