public SeasonLinks(string seasonId, string competitionId, string teamId) : base(UriFactory.GetSeasonUri(seasonId)) { LeagueTable = new Link(UriFactory.GetLeagueTableUri(seasonId, competitionId), "League table"); SeasonStats = new Link(UriFactory.GetSeasonStatsUri(seasonId), "Season stats"); SeasonTeamStats = new Link(UriFactory.GetSeasonTeamStatsUri(seasonId, teamId), "Season team stats"); }
public HomeLinks() : base(UriFactory.GetHomeUri()) { Games = new Link(UriFactory.GetGamesUri(), "Games"); }
public TeamLinks(string teamId) : base(UriFactory.GetTeamUri(teamId)) { TeamPlayers = new Link(UriFactory.GetTeamPlayersUri(teamId), "Team players"); }
public Links(string selfHref) { Enforce.StringNotNullOrEmpty(selfHref, nameof(selfHref)); Self = new Link(selfHref); }
public GameLinks(string gameId, string seasonId, string nextMatchDay) : this(gameId) { Games = new Link(UriFactory.GetGamesUri(), "Games"); NextMatchDay = new Link(UriFactory.GetMatchDayUri(seasonId, nextMatchDay)); }
public SeasonTeamMatchesLinks(string seasonId, string teamId) : base(UriFactory.GetSeasonTeamMatchesUri(seasonId, teamId)) { Team = new Link(UriFactory.GetTeamUri(teamId)); Season = new Link(UriFactory.GetSeasonUri(seasonId)); }