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.
62 lines
3.8 KiB
C#
62 lines
3.8 KiB
C#
namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes
|
|
{
|
|
/// <summary>
|
|
/// Data specifying the recipient(s) of notifications related to the movement of the shipment. At a minimnum an EmailnotificationRecipientType, at least one NoficationEventType, and an EmailAddress are required.
|
|
/// </summary>
|
|
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
|
|
public partial class EmailNotificationRecipient
|
|
{
|
|
/// <summary>
|
|
/// Identifies the email address associated with this contact.
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)]
|
|
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
|
|
public string EmailAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// Specifies notification event type.
|
|
/// </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; }
|
|
|
|
[Newtonsoft.Json.JsonProperty("smsDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public SmsDetail SmsDetail { get; set; }
|
|
|
|
/// <summary>
|
|
/// Specifies Notification Format Type.
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("notificationFormatType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
|
|
public EmailNotificationRecipientNotificationFormatType? NotificationFormatType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Required Email Notification Recipient Type.
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("emailNotificationRecipientType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
|
|
public EmailNotificationRecipientType? EmailNotificationRecipientType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Specifies the type of the notification received.
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("notificationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
|
|
public EmailNotificationRecipientNotificationType? NotificationType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Specify the locale details.<br>Example: 'en_US'<br><a onclick='loadDocReference("locales")'>Click here to see the list of available locales<br></a><br>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; }
|
|
|
|
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; }
|
|
}
|
|
|
|
}
|
|
} |