using System; using ProtoBuf; namespace MediaBrowser.Model.Weather { /// /// Represents a weather forecast for a specific date /// [ProtoContract] public class WeatherForecast { /// /// Gets or sets the date. /// /// The date. [ProtoMember(1)] public DateTime Date { get; set; } /// /// Gets or sets the high temperature fahrenheit. /// /// The high temperature fahrenheit. [ProtoMember(2)] public int HighTemperatureFahrenheit { get; set; } /// /// Gets or sets the low temperature fahrenheit. /// /// The low temperature fahrenheit. [ProtoMember(3)] public int LowTemperatureFahrenheit { get; set; } /// /// Gets or sets the high temperature celsius. /// /// The high temperature celsius. [ProtoMember(4)] public int HighTemperatureCelsius { get; set; } /// /// Gets or sets the low temperature celsius. /// /// The low temperature celsius. [ProtoMember(5)] public int LowTemperatureCelsius { get; set; } /// /// Gets or sets the condition. /// /// The condition. [ProtoMember(6)] public WeatherConditions Condition { get; set; } } }