You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
5.4 KiB
C#

2 months ago
namespace TradeManageNew.APIClients.FedexApi.Models.Ship
{
/// <summary>
/// Required&lt;br&gt;Details of hazardous commodity description.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class HazardousCommodityDescription01
{
/// <summary>
/// Required&lt;br&gt;Specify the sequence number.&lt;br&gt;Example: 9812
/// </summary>
[Newtonsoft.Json.JsonProperty("sequenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public int? SequenceNumber { get; set; }
/// <summary>
/// Indicates any special processing options to be applied to the description of the dangerous goods commodity &lt;br&gt; Example: ["INCLUDE_SPECIAL_PROVISIONS"]
/// </summary>
[Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public System.Collections.Generic.ICollection<ProcessingOptions> ProcessingOptions { get; set; }
/// <summary>
/// Required
/// <br/>
/// <br/>Indicates list of subsidiary classes&lt;br&gt;Example: ["Subsidiary Classes"]
/// </summary>
[Newtonsoft.Json.JsonProperty("subsidiaryClasses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection<string> SubsidiaryClasses { get; set; }
/// <summary>
/// Specifies the text for the label.
/// </summary>
[Newtonsoft.Json.JsonProperty("labelText", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string LabelText { get; set; }
/// <summary>
/// Specifies the technical name for the hazardous material.
/// </summary>
[Newtonsoft.Json.JsonProperty("technicalName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string TechnicalName { get; set; }
[Newtonsoft.Json.JsonProperty("packingDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public HazardousCommodityPackingDetail01 PackingDetails { get; set; }
/// <summary>
/// Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity.
/// </summary>
[Newtonsoft.Json.JsonProperty("authorization", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string Authorization { get; set; }
/// <summary>
/// Reportable Quantity
/// </summary>
[Newtonsoft.Json.JsonProperty("reportableQuantity", Required = Newtonsoft.Json.Required.Always)]
public bool ReportableQuantity { get; set; }
/// <summary>
/// Percentage&lt;br&gt;Example: 12.45
/// </summary>
[Newtonsoft.Json.JsonProperty("percentage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? Percentage { get; set; }
/// <summary>
/// ID&lt;br&gt;Example: 123
/// </summary>
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string Id { get; set; }
/// <summary>
/// Identifies DOT packing group for a hazardous commodity
/// </summary>
[Newtonsoft.Json.JsonProperty("packingGroup", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public HazardousCommodityDescription01PackingGroup PackingGroup { get; set; }
/// <summary>
/// The proper shipping name as defined by the regulation. The name can also include qualifying words&lt;br&gt;Example: properShippingName
/// </summary>
[Newtonsoft.Json.JsonProperty("properShippingName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string ProperShippingName { get; set; }
/// <summary>
/// Specifies the hazard class for the commodity&lt;br&gt;Example: hazard Class
/// <br/>
/// </summary>
[Newtonsoft.Json.JsonProperty("hazardClass", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string HazardClass { get; set; }
private System.Collections.Generic.IDictionary<string, object> _additionalProperties;
[Newtonsoft.Json.JsonExtensionData]
public System.Collections.Generic.IDictionary<string, object> AdditionalProperties
{
get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary<string, object>()); }
set { _additionalProperties = value; }
}
}
}