-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathRepo.cs
More file actions
30 lines (25 loc) · 673 Bytes
/
Repo.cs
File metadata and controls
30 lines (25 loc) · 673 Bytes
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
using System;
using System.Globalization;
using Newtonsoft.Json;
namespace Microsoft.BotBuilderSamples
{
public class Repo
{
public int confirmed { get; set; }
public int deaths { get; set; }
public int recovered { get; set; }
public int active {get; set; }
public string date { get; set; }
public Repo()
{ }
[JsonConstructor]
public Repo(int Confirmed, int Deaths, int Recovered, int Active, string Date)
{
confirmed = Confirmed;
deaths = Deaths;
recovered = Recovered;
active = Active;
date = Date;
}
}
}