Files
Noah Spannbauer 7580f84420 Initial commit
2020-11-24 10:52:19 -06:00

68 lines
1.9 KiB
C#

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; }
}
}