Initial commit

This commit is contained in:
Noah Spannbauer
2020-11-24 10:52:19 -06:00
commit 7580f84420
11 changed files with 752 additions and 0 deletions

68
models/Teams.cs Normal file
View File

@@ -0,0 +1,68 @@
using System.Collections.Generic;
namespace azfx_calendars_functions_dotnet.Teams
{
public class Venue
{
public int id { get; set; }
public string name { get; set; }
public string link { get; set; }
}
public class League
{
public int id { get; set; }
public string name { get; set; }
public string link { get; set; }
}
public class Division
{
public int id { get; set; }
public string name { get; set; }
public string link { get; set; }
}
public class Sport
{
public int id { get; set; }
public string link { get; set; }
public string name { get; set; }
}
public class SpringLeague
{
public int id { get; set; }
public string name { get; set; }
public string link { get; set; }
public string abbreviation { get; set; }
}
public class Team
{
public int id { get; set; }
public string name { get; set; }
public string link { get; set; }
public int season { get; set; }
public Venue venue { get; set; }
public string teamCode { get; set; }
public string fileCode { get; set; }
public string abbreviation { get; set; }
public string teamName { get; set; }
public string locationName { get; set; }
public string firstYearOfPlay { get; set; }
public League league { get; set; }
public Division division { get; set; }
public Sport sport { get; set; }
public string shortName { get; set; }
public SpringLeague springLeague { get; set; }
public string allStarStatus { get; set; }
public bool active { get; set; }
}
public class Root
{
public string copyright { get; set; }
public List<Team> teams { get; set; }
}
}