You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.1 KiB

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; }
}
}