You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Model/Weather/WeatherStatus.cs

39 lines
781 B

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