using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace minimalist_oauth_rp.Models
{
    [DataContract]
    public class SignatureResponse
    {
        [DataMember]
        public string process_type { get; set; }
        [DataMember]
        public string id { get; set; }
        [DataMember]
        public string self { get; set; }
        [DataMember]
        public Tasks tasks { get; set; }
        [DataMember]
        public List<Documents> documents { get; set; }
    }

    [DataContract]
    public class Tasks
    {
        [DataMember]
        public List<Pending> pending { get; set; }
    }

    [DataContract]
    public class Documents
    {
        [DataMember]
        public string url { get; set; }
    }

    [DataContract]
    public class Pending
    {
        [DataMember]
        public string type { get; set; }
        [DataMember]
        public string id { get; set; }
        [DataMember]
        public string url { get; set; }
    }
}
