aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Weather/WeatherStatus.cs
blob: 7019d319b70bc83a289d4c578c1e8095b107a11d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using ProtoBuf;

namespace MediaBrowser.Model.Weather
{
    /// <summary>
    /// Represents the current weather status
    /// </summary>
    [ProtoContract]
    public class WeatherStatus
    {
        [ProtoMember(1)]
        public int TemperatureFahrenheit { get; set; }

        [ProtoMember(2)]
        public int TemperatureCelsius { get; set; }

        [ProtoMember(3)]
        public int Humidity { get; set; }

        [ProtoMember(4)]
        public WeatherConditions Condition { get; set; }
    }

    public enum WeatherConditions
    {
        Sunny,
        PartlyCloudy,
        Cloudy,
        Overcast,
        Mist,
        Snow,
        Rain,
        Sleet,
        Fog,
        Blizzard,
        Thunderstorm
    }
}