using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Common.Model { public partial class TrustDocModel { [JsonProperty("type")] public string Type { get; set; } [JsonProperty("data")] public Data Data { get; set; } } public partial class Data { [JsonProperty("id")] public Guid Id { get; set; } [JsonProperty("public_id")] public Guid PublicId { get; set; } [JsonProperty("id_for_helper")] public Guid IdForHelper { get; set; } [JsonProperty("state")] public string State { get; set; } [JsonProperty("result")] public string Result { get; set; } [JsonProperty("accepted_at")] public DateTimeOffset? AcceptedAt { get; set; } [JsonProperty("plans_selected_at")] public DateTimeOffset? PlansSelectedAt { get; set; } [JsonProperty("document_submitted_at")] public DateTimeOffset? DocumentSubmittedAt { get; set; } [JsonProperty("prepared_at")] public object PreparedAt { get; set; } [JsonProperty("verified_at")] public object VerifiedAt { get; set; } [JsonProperty("external_id")] public string ExternalId { get; set; } [JsonProperty("records")] public Record[] Records { get; set; } } public partial class Record { [JsonProperty("state")] public string State { get; set; } [JsonProperty("result")] public object Result { get; set; } [JsonProperty("verified_at")] public object VerifiedAt { get; set; } [JsonProperty("plan")] public Plan Plan { get; set; } } public partial class Plan { [JsonProperty("id")] public Guid Id { get; set; } [JsonProperty("name")] public string Name { get; set; } } public class Reason { public string target { get; set; } public string code { get; set; } public object detail { get; set; } } public class TrustDocRequest { public string name { get; set; } public string birth { get; set; } } }