namespace TradeManageNew.APIClients.FedexAPI.Models.Ship { /// /// Indicates the Hazardous Commodity Quantity Detail. /// [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] public partial class HazardousCommodityQuantityDetail002 { /// /// Specifies which measure of quantity is to be validated. /// [Newtonsoft.Json.JsonProperty("quantityType", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public HazardousCommodityQuantityDetail002QuantityType QuantityType { get; set; } /// /// Number of units of the type below.<br>Example: 34.56 /// [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] public double Amount { get; set; } /// /// Specifies the units.<br>Example: KG /// [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Units { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; [Newtonsoft.Json.JsonExtensionData] public System.Collections.Generic.IDictionary AdditionalProperties { get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } set { _additionalProperties = value; } } } }