-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathRepoWorld.cs
33 lines (29 loc) · 968 Bytes
/
RepoWorld.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
using System;
using System.Globalization;
using Newtonsoft.Json;
namespace Microsoft.BotBuilderSamples
{
public class RepoWorld
{
public int newConfirmed { get; set; }
public int totalConfirmed { get; set; }
public int newDeaths { get; set; }
public int totalDeaths {get; set; }
public int newRecovered { get; set; }
public int totalRecovered { get; set; }
public string date { get; set; }
public RepoWorld()
{ }
[JsonConstructor]
public RepoWorld(int NewConfirmed, int TotalConfirmed, int NewDeaths, int TotalDeaths, int NewRecovered, int TotalRecovered, string Date)
{
newConfirmed = NewConfirmed;
totalConfirmed = TotalConfirmed;
newDeaths = NewDeaths;
totalDeaths = TotalDeaths;
newRecovered = NewRecovered;
totalRecovered = TotalRecovered;
date =Date;
}
}
}