update 20251210
This commit is contained in:
94
Model/APEError.cs
Normal file
94
Model/APEError.cs
Normal file
@@ -0,0 +1,94 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public class APIOK
|
||||
{
|
||||
public string code { get; set; }
|
||||
public string status { get; set; }
|
||||
public string message { get; set; }
|
||||
public string documentid { get; set; }
|
||||
public string file { get; set; }
|
||||
}
|
||||
public class APIErrorSimple
|
||||
{
|
||||
public string code { get; set; }
|
||||
public string status { get; set; }
|
||||
public string message { get; set; }
|
||||
public string traceid { get; set; }
|
||||
public string field { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class APIErrorExtended
|
||||
{
|
||||
public string type { get; set; }
|
||||
public List<string> required { get; set; }
|
||||
public Properties properties { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class Code
|
||||
{
|
||||
public string type { get; set; }
|
||||
public string pattern { get; set; }
|
||||
public string example { get; set; }
|
||||
}
|
||||
|
||||
public class Errors
|
||||
{
|
||||
public string type { get; set; }
|
||||
public string description { get; set; }
|
||||
public Items items { get; set; }
|
||||
}
|
||||
|
||||
public class Field
|
||||
{
|
||||
public string type { get; set; }
|
||||
public string description { get; set; }
|
||||
public string example { get; set; }
|
||||
}
|
||||
|
||||
public class Items
|
||||
{
|
||||
public string type { get; set; }
|
||||
public Properties properties { get; set; }
|
||||
}
|
||||
|
||||
public class Message
|
||||
{
|
||||
public string type { get; set; }
|
||||
public string example { get; set; }
|
||||
}
|
||||
|
||||
public class Properties
|
||||
{
|
||||
public Code code { get; set; }
|
||||
public Status status { get; set; }
|
||||
public Message message { get; set; }
|
||||
public TraceId traceId { get; set; }
|
||||
public Field field { get; set; }
|
||||
public Errors errors { get; set; }
|
||||
}
|
||||
|
||||
public class Root
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class Status
|
||||
{
|
||||
public string type { get; set; }
|
||||
public int example { get; set; }
|
||||
}
|
||||
|
||||
public class TraceId
|
||||
{
|
||||
public string type { get; set; }
|
||||
public string example { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user