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.

43 lines
2.5 KiB
C#

2 months ago
namespace TradeManageNew.APIClients.FedexApi.Models.Ship
{
/// <summary>
/// These are the recipient details for the online email return label.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class EmailRecipient
{
/// <summary>
/// This is recipient email address for notifying the return label. Maximum length 200 characters.&lt;br&gt; Example: neenaaaaa@abc.com
/// </summary>
[Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
public string EmailAddress { get; set; }
[Newtonsoft.Json.JsonProperty("optionsRequested", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public EmailOptionsRequested OptionsRequested { get; set; }
/// <summary>
/// Relationship that the emailRecipient has to the pending email return label shipments.&lt;br&gt; Valid Values: SHIPMENT_COMPLETOR,SHIPMENT_INITIATOR&lt;br&gt;Example: SHIPMENT_COMPLETOR
/// </summary>
[Newtonsoft.Json.JsonProperty("role", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public EmailRecipientRole Role { get; set; }
/// <summary>
/// These are locale details.&lt;br&gt;Example: 'en_US'&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; }
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; }
}
}
}