Advertisement
Stillkill

Untitled

May 29th, 2019
559
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.42 KB | None | 0 0
  1. public partial class PatronPledgeReturn
  2.     {
  3.         [JsonProperty("data")]
  4.         public Datum[] Data { get; set; }
  5.  
  6.         [JsonProperty("included")]
  7.         public Included[] Included { get; set; }
  8.  
  9.         [JsonProperty("links")]
  10.         public PatronPledgeReturnLinks Links { get; set; }
  11.  
  12.         [JsonProperty("meta")]
  13.         public Meta Meta { get; set; }
  14.     }
  15.  
  16.     public partial class Datum
  17.     {
  18.         [JsonProperty("attributes")]
  19.         public DatumAttributes Attributes { get; set; }
  20.  
  21.         [JsonProperty("id")]
  22.         [JsonConverter(typeof(ParseStringConverter))]
  23.         public long Id { get; set; }
  24.  
  25.         [JsonProperty("relationships")]
  26.         public Relationships Relationships { get; set; }
  27.  
  28.         [JsonProperty("type")]
  29.         public string Type { get; set; }
  30.     }
  31.  
  32.     public partial class DatumAttributes
  33.     {
  34.         [JsonProperty("amount_cents")]
  35.         public long AmountCents { get; set; }
  36.  
  37.         [JsonProperty("created_at")]
  38.         public DateTimeOffset CreatedAt { get; set; }
  39.  
  40.         [JsonProperty("declined_since")]
  41.         public object DeclinedSince { get; set; }
  42.  
  43.         [JsonProperty("patron_pays_fees")]
  44.         public bool PatronPaysFees { get; set; }
  45.  
  46.         [JsonProperty("pledge_cap_cents")]
  47.         public long PledgeCapCents { get; set; }
  48.     }
  49.  
  50.     public partial class Relationships
  51.     {
  52.         [JsonProperty("patron")]
  53.         public Patron Patron { get; set; }
  54.     }
  55.  
  56.     public partial class Patron
  57.     {
  58.         [JsonProperty("data")]
  59.         public Data Data { get; set; }
  60.  
  61.         [JsonProperty("links")]
  62.         public PatronLinks Links { get; set; }
  63.     }
  64.  
  65.     public partial class Data
  66.     {
  67.         [JsonProperty("id")]
  68.         [JsonConverter(typeof(ParseStringConverter))]
  69.         public long Id { get; set; }
  70.  
  71.         [JsonProperty("type")]
  72.         public string Type { get; set; }
  73.     }
  74.  
  75.     public partial class PatronLinks
  76.     {
  77.         [JsonProperty("related")]
  78.         public Uri Related { get; set; }
  79.     }
  80.  
  81.     public partial class Included
  82.     {
  83.         [JsonProperty("attributes")]
  84.         public IncludedAttributes Attributes { get; set; }
  85.  
  86.         [JsonProperty("id")]
  87.         [JsonConverter(typeof(ParseStringConverter))]
  88.         public long Id { get; set; }
  89.  
  90.         [JsonProperty("type")]
  91.         public string Type { get; set; }
  92.     }
  93.  
  94.     public partial class IncludedAttributes
  95.     {
  96.         [JsonProperty("about")]
  97.         public object About { get; set; }
  98.  
  99.         [JsonProperty("created")]
  100.         public DateTimeOffset Created { get; set; }
  101.  
  102.         [JsonProperty("default_country_code")]
  103.         public object DefaultCountryCode { get; set; }
  104.  
  105.         [JsonProperty("email")]
  106.         public string Email { get; set; }
  107.  
  108.         [JsonProperty("facebook")]
  109.         public object Facebook { get; set; }
  110.  
  111.         [JsonProperty("first_name")]
  112.         public string FirstName { get; set; }
  113.  
  114.         [JsonProperty("full_name")]
  115.         public string FullName { get; set; }
  116.  
  117.         [JsonProperty("gender")]
  118.         public long Gender { get; set; }
  119.  
  120.         [JsonProperty("image_url")]
  121.         public Uri ImageUrl { get; set; }
  122.  
  123.         [JsonProperty("is_email_verified")]
  124.         public bool IsEmailVerified { get; set; }
  125.  
  126.         [JsonProperty("last_name")]
  127.         public string LastName { get; set; }
  128.  
  129.         [JsonProperty("social_connections")]
  130.         public SocialConnections SocialConnections { get; set; }
  131.  
  132.         [JsonProperty("thumb_url")]
  133.         public Uri ThumbUrl { get; set; }
  134.  
  135.         [JsonProperty("twitch")]
  136.         public object Twitch { get; set; }
  137.  
  138.         [JsonProperty("twitter")]
  139.         public object Twitter { get; set; }
  140.  
  141.         [JsonProperty("url")]
  142.         public Uri Url { get; set; }
  143.  
  144.         [JsonProperty("vanity")]
  145.         public object Vanity { get; set; }
  146.  
  147.         [JsonProperty("youtube")]
  148.         public object Youtube { get; set; }
  149.     }
  150.  
  151.     public partial class SocialConnections
  152.     {
  153.         [JsonProperty("deviantart")]
  154.         public object Deviantart { get; set; }
  155.  
  156.         [JsonProperty("discord")]
  157.         public Discord Discord { get; set; }
  158.  
  159.         [JsonProperty("facebook")]
  160.         public object Facebook { get; set; }
  161.  
  162.         [JsonProperty("instagram")]
  163.         public object Instagram { get; set; }
  164.  
  165.         [JsonProperty("reddit")]
  166.         public object Reddit { get; set; }
  167.  
  168.         [JsonProperty("spotify")]
  169.         public object Spotify { get; set; }
  170.  
  171.         [JsonProperty("twitch")]
  172.         public object Twitch { get; set; }
  173.  
  174.         [JsonProperty("twitter")]
  175.         public object Twitter { get; set; }
  176.  
  177.         [JsonProperty("youtube")]
  178.         public object Youtube { get; set; }
  179.     }
  180.  
  181.     public partial class Discord
  182.     {
  183.         [JsonProperty("url")]
  184.         public object Url { get; set; }
  185.  
  186.         [JsonProperty("user_id")]
  187.         public string UserId { get; set; }
  188.     }
  189.  
  190.     public partial class PatronPledgeReturnLinks
  191.     {
  192.         [JsonProperty("first")]
  193.         public Uri First { get; set; }
  194.     }
  195.  
  196.     public partial class Meta
  197.     {
  198.         [JsonProperty("count")]
  199.         public long Count { get; set; }
  200.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement