forked from harveysburger/pinnaclewrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPeriodType.cs
42 lines (31 loc) · 1.23 KB
/
PeriodType.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
38
39
40
41
42
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace PinnacleWrapper.Data
{
public class PeriodType
{
[JsonProperty(PropertyName = "lineId")]
public int LineId { get; set; }
[JsonProperty(PropertyName = "number")]
public int Number { get; set; }
[JsonProperty(PropertyName = "cutoff")]
public DateTime Cutoff { get; set; }
[JsonProperty(PropertyName = "spreads")]
public List<SpreadType> Spreads { get; set; }
[JsonProperty(PropertyName = "totals")]
public List<TotalPointsType> Totals { get; set; }
[JsonProperty(PropertyName = "moneyLine")]
public MoneyLineType MoneyLine { get; set; }
[JsonProperty(PropertyName = "teamTotals")]
public List<TeamTotalPointsType> TeamTotals { get; set; }
[JsonProperty(PropertyName = "maxSpread")]
public decimal MaxSpread { get; set; }
[JsonProperty(PropertyName = "maxTotal")]
public decimal MaxTotal { get; set; }
[JsonProperty(PropertyName = "maxMoneyLine")]
public decimal MaxMoneyLine { get; set; }
[JsonProperty(PropertyName = "maxTeamTotal")]
public decimal MaxTeamTotal { get; set; }
}
}