-
Notifications
You must be signed in to change notification settings - Fork 573
/
Copy pathFile.cs
37 lines (28 loc) · 901 Bytes
/
File.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
namespace Stripe
{
using System;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class File : StripeEntityWithId
{
[JsonProperty("object")]
public string Object { get; set; }
[JsonProperty("created")]
[JsonConverter(typeof(DateTimeConverter))]
public DateTime Created { get; set; }
[JsonProperty("filename")]
public string Filename { get; set; }
[JsonProperty("links")]
public StripeList<FileLink> Links { get; set; }
[JsonProperty("purpose")]
public string Purpose { get; set; }
[JsonProperty("size")]
public int Size { get; set; }
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("url")]
public string Url { get; set; }
}
}