Restructure
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using SuccessfulCodeTools.Extensions;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
public class RunnerMetaData : Dictionary<string, string>
|
||||
{
|
||||
public string SireName => this.GetValueOrDefault("SIRE_NAME");
|
||||
public string ClothNumberAlpha => this.GetValueOrDefault("CLOTH_NUMBER_ALPHA");
|
||||
public string OfficialRating => this.GetValueOrDefault("OFFICIAL_RATING");
|
||||
public string ColoursDescription => this.GetValueOrDefault("COLOURS_DESCRIPTION");
|
||||
public string ColoursFilename => this.GetValueOrDefault("COLOURS_FILENAME");
|
||||
public string ForecastpriceDenominator => this.GetValueOrDefault("FORECASTPRICE_DENOMINATOR");
|
||||
public string DamsireName => this.GetValueOrDefault("DAMSIRE_NAME");
|
||||
public string WeightValue => this.GetValueOrDefault("WEIGHT_VALUE");
|
||||
public string SexType => this.GetValueOrDefault("SEX_TYPE");
|
||||
public string DaysSinceLastRun => this.GetValueOrDefault("DAYS_SINCE_LAST_RUN");
|
||||
public string Wearing => this.GetValueOrDefault("WEARING");
|
||||
public string OwnerName => this.GetValueOrDefault("OWNER_NAME");
|
||||
public string DamYearBorn => this.GetValueOrDefault("DAM_YEAR_BORN");
|
||||
public string SireBred => this.GetValueOrDefault("SIRE_BRED");
|
||||
public string JockeyName => this.GetValueOrDefault("JOCKEY_NAME");
|
||||
public string DamBred => this.GetValueOrDefault("DAM_BRED");
|
||||
public string AdjustedRating => this.GetValueOrDefault("ADJUSTED_RATING");
|
||||
public string RunnerId => this.GetValueOrDefault("runnerId");
|
||||
public string ClothNumber => this.GetValueOrDefault("CLOTH_NUMBER");
|
||||
public string SireYearBorn => this.GetValueOrDefault("SIRE_YEAR_BORN");
|
||||
public string TrainerName => this.GetValueOrDefault("TRAINER_NAME");
|
||||
public string ColourType => this.GetValueOrDefault("COLOUR_TYPE");
|
||||
public string Age => this.GetValueOrDefault("AGE");
|
||||
public string DamsireBred => this.GetValueOrDefault("DAMSIRE_BRED");
|
||||
public string JockeyClaim => this.GetValueOrDefault("JOCKEY_CLAIM");
|
||||
public string Form => this.GetValueOrDefault("FORM");
|
||||
public string ForecastpriceNumerator => this.GetValueOrDefault("FORECASTPRICE_NUMERATOR");
|
||||
public string Bred => this.GetValueOrDefault("BRED");
|
||||
public string DamName => this.GetValueOrDefault("DAM_NAME");
|
||||
public string DamsireYearBorn => this.GetValueOrDefault("DAMSIRE_YEAR_BORN");
|
||||
public string StallDraw => this.GetValueOrDefault("STALL_DRAW");
|
||||
public string WeightUnits => this.GetValueOrDefault("WEIGHT_UNITS");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user