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.
63 lines
3.2 KiB
C#
63 lines
3.2 KiB
C#
namespace TradeManageNew.APIClients.FedexApi.Models
|
|
{
|
|
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
|
|
public class ErrorResponse
|
|
{
|
|
/// <summary>
|
|
/// The transaction ID is a special set of numbers that defines each transaction.<br>Example: bc95c0e4-b33e-42a2-80d2-334282b5d37a
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("transactionId", Required = Newtonsoft.Json.Required.Default,
|
|
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string TransactionId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Indicates error details when suspicious files, potential exploits and viruses are found while scanning files, directories and user accounts. This includes code, message and error parameters.
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("errors", Required = Newtonsoft.Json.Required.Default,
|
|
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public System.Collections.Generic.ICollection<CXSError> Errors { get; set; }
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
|
|
public class CXSError
|
|
{
|
|
/// <summary>
|
|
/// Indicates the error code.<br>Example: NOT.FOUND.ERROR
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default,
|
|
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// List of parameters which indicates the properties of the alert message.
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("parameterList", Required = Newtonsoft.Json.Required.Default,
|
|
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public System.Collections.Generic.ICollection<Parameter> ParameterList { get; set; }
|
|
|
|
/// <summary>
|
|
/// Indicates the API error alert message.<br>Example: We are unable to process this request. Please try again later or contact FedEx Customer Service.
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default,
|
|
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string Message { get; set; }
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
|
|
public class Parameter
|
|
{
|
|
/// <summary>
|
|
/// Indicates the error option to be applied.
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Default,
|
|
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string Value { get; set; }
|
|
|
|
/// <summary>
|
|
/// Indicates the value associated with the key.
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("key", Required = Newtonsoft.Json.Required.Default,
|
|
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string Key { get; set; }
|
|
}
|
|
} |