namespace TradeManageNew.APIClients.FedexAPI.Models.Ship
{
///
/// These are label specification details includes the image type, printer format, and label stock for label. Can also specify specific details such as doc-tab content, regulatory labels, and masking data on the label.
///
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class LabelSpecification
{
///
/// Specifies the label Format Type<br>Example: COMMON2D
///
[Newtonsoft.Json.JsonProperty("labelFormatType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public LabelSpecificationLabelFormatType? LabelFormatType { get; set; }
///
/// This is the order of the Shipping label/documents to be generated.
///
[Newtonsoft.Json.JsonProperty("labelOrder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public LabelSpecificationLabelOrder? LabelOrder { get; set; }
[Newtonsoft.Json.JsonProperty("customerSpecifiedDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public CustomerSpecifiedLabelDetail CustomerSpecifiedDetail { get; set; }
[Newtonsoft.Json.JsonProperty("printedLabelOrigin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public ContactAndAddress PrintedLabelOrigin { get; set; }
///
/// Label Stock Type.<br>Example: PAPER_7X475
///
[Newtonsoft.Json.JsonProperty("labelStockType", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public LabelSpecificationLabelStockType LabelStockType { get; set; }
///
/// This is applicable only to documents produced on thermal printers with roll stock.
///
[Newtonsoft.Json.JsonProperty("labelRotation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public LabelSpecificationLabelRotation? LabelRotation { get; set; }
///
/// Specifies the image type of this shipping document.<br>Example:PDF
///
[Newtonsoft.Json.JsonProperty("imageType", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public LabelSpecificationImageType ImageType { get; set; }
///
/// This is applicable only to documents produced on thermal printers with roll stock.
///
[Newtonsoft.Json.JsonProperty("labelPrintingOrientation", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public LabelSpecificationLabelPrintingOrientation? LabelPrintingOrientation { get; set; }
///
/// Specifies a particular way in which a kind of shipping document is to be produced and provided<br>Example:RETURNED
///
[Newtonsoft.Json.JsonProperty("returnedDispositionDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string ReturnedDispositionDetail { get; set; }
///
/// Specifies the image resolution in DPI (Dots Per Inch). Valid values are 203 & 300. If not provided or for any other value, system will default it to 203.Note: 300 DPI resolution is only allowed for ZPLII image type.
///
[Newtonsoft.Json.JsonProperty("resolution", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public int? Resolution { 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; }
}
}
}