// <auto-generated />
//
// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do:
//
//    using QuickType;
//
//    var tagData = TagData.FromJson(jsonString);

namespace QuickType
{
    using System;
    using System.Collections.Generic;

    using System.Globalization;
    using Newtonsoft.Json;
    using Newtonsoft.Json.Converters;

    public partial class TagData
    {
        [JsonProperty("CLASS")]
        public string Class { get; set; }

        [JsonProperty("ts")]
        public T[] Ts { get; set; }
    }

    public partial class T
    {
        [JsonProperty("e")]
        public string E { get; set; }

        [JsonProperty("pc")]
        public short PC { get; set; }

        [JsonProperty("a")]
        public long A { get; set; }

        [JsonProperty("i")]
        public long I { get; set; }

        [JsonProperty("r")]
        public short R { get; set; }

        [JsonProperty("f")]
        public long F { get; set; }

        [JsonProperty("l")]
        public long L { get; set; }

        [JsonProperty("c")]
        public long C { get; set; }

        [JsonProperty("o")]
        public O[] O { get; set; }
    }

    public partial class O
    {
        [JsonProperty("specID")]
        public long SpecId { get; set; }

        [JsonProperty("op")]
        public string Op { get; set; }

        [JsonProperty("result")]
        public long Result { get; set; }

        [JsonProperty("dataLen")]
        public long DataLen { get; set; }

        [JsonProperty("dataBytes")]
        public byte[] DataBytes { get; set; }
    }

    public partial class TagData
    {
        public static TagData FromJson(string json) => JsonConvert.DeserializeObject<TagData>(json, QuickType.Converter.Settings);
    }

    
}
