namespace TradeManageNew.APIClients.FedexApi.Models.Ship { /// /// These are recipient details for receiving email notification. /// [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] public partial class ShipShipmentEmailNotificationRecipient { /// /// Specify the recipient name.<br>Example: Joe Smith /// [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } /// /// This is the email notification recipient type.<br>Example: SHIPPER /// [Newtonsoft.Json.JsonProperty("emailNotificationRecipientType", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public ShipShipmentEmailNotificationRecipientEmailNotificationRecipientType EmailNotificationRecipientType { get; set; } /// /// Specify the recipient email address.<br>Example: xyz@aol.com /// [Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string EmailAddress { get; set; } /// /// This is the format for the email notification. Either HTML or plain text can be provided.<br>Example: TEXT /// [Newtonsoft.Json.JsonProperty("notificationFormatType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public ShipShipmentEmailNotificationRecipientNotificationFormatType? NotificationFormatType { get; set; } /// /// Indicate the type of notification that will be sent as an email<br>Example: EMAIL /// [Newtonsoft.Json.JsonProperty("notificationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public ShipShipmentEmailNotificationRecipientNotificationType? NotificationType { get; set; } /// /// These are the locale details for email.<br>Example: en_US, fr_CA, es_MX,.etc.<br><a onclick='loadDocReference("locales")'>click here to see Locales</a><br>Note: If the locale is left blank or an invalid locale is entered, an error message is returned in response. /// [Newtonsoft.Json.JsonProperty("locale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Locale { get; set; } /// /// These are to specify the notification event types.<br> Example: [ON_PICKUP_DRIVER_ARRIVED, ON_SHIPMENT]<br><a onclick='loadDocReference("notificationeventtypes")'>Click here for more information on Notification Event Types.</a> /// [Newtonsoft.Json.JsonProperty("notificationEventType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public System.Collections.Generic.ICollection NotificationEventType { 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; } } } }