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.

66 lines
4.2 KiB
C#

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