forked from harveysburger/pinnaclewrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGetOddsRequest.cs
44 lines (38 loc) · 1.07 KB
/
GetOddsRequest.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
43
44
using System.Collections.Generic;
namespace PinnacleWrapper.Data
{
public class GetOddsRequest
{
public int SportId { get; set; }
public List<int> LeagueIds { get; set; }
public long Since { get; set; }
public bool IsLive { get; set; }
public GetOddsRequest(int sportId)
{
SportId = sportId;
}
public GetOddsRequest(int sportId, long since)
{
SportId = sportId;
Since = since;
}
public GetOddsRequest(int sportId, List<int> leagueIds)
{
SportId = sportId;
LeagueIds = leagueIds;
}
public GetOddsRequest(int sportId, List<int> leagueIds, long since)
{
SportId = sportId;
LeagueIds = leagueIds;
Since = since;
}
public GetOddsRequest(int sportId, List<int> leagueIds, long since, bool isLive)
{
SportId = sportId;
LeagueIds = leagueIds;
Since = since;
IsLive = isLive;
}
}
}