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


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

    public partial class ClsCotizacion99Minutos
    {
        [JsonProperty("weight")]
        public string Weight { get; set; }

        [JsonProperty("width")]
        public string Width { get; set; }

        [JsonProperty("depth")]
        public string Depth { get; set; }

        [JsonProperty("height")]
        public string Height { get; set; }

        [JsonProperty("origin")]
        public Origin Origin { get; set; }

        [JsonProperty("destination")]
        public Destination Destination { get; set; }
    }

    public partial class Destination
    {
        [JsonProperty("codePostal")]
        public string CodePostal { get; set; }

        [JsonProperty("country")]
        public string Country { get; set; }
    }


    public partial class Origin
    {
        [JsonProperty("codePostal")]
        public string CodePostal { get; set; }

        [JsonProperty("country")]
        public string Country { get; set; }
    }


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

    public static class Serialize
    {
        public static string ToJson(this ClsCotizacion99Minutos self) => JsonConvert.SerializeObject(self, Converter.Settings);
    }

    internal static class Converter
    {
        public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings
        {
            MetadataPropertyHandling = MetadataPropertyHandling.Ignore,
            DateParseHandling = DateParseHandling.None,
            Converters =
            {
                new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal }
            },
        };
    }
