Files
jellyfin-jellyfin-1/MediaBrowser.Model/Weather/WeatherInfo.cs

34 lines
841 B
C#
Raw Normal View History

2013-02-20 20:33:05 -05:00
using ProtoBuf;
namespace MediaBrowser.Model.Weather
{
/// <summary>
/// Class WeatherInfo
/// </summary>
[ProtoContract]
public class WeatherInfo
{
/// <summary>
/// Gets or sets the current weather.
/// </summary>
/// <value>The current weather.</value>
[ProtoMember(1)]
public WeatherStatus CurrentWeather { get; set; }
/// <summary>
/// Gets or sets the forecasts.
/// </summary>
/// <value>The forecasts.</value>
[ProtoMember(2)]
public WeatherForecast[] Forecasts { get; set; }
2013-04-15 14:45:58 -04:00
/// <summary>
/// Initializes a new instance of the <see cref="WeatherInfo"/> class.
/// </summary>
public WeatherInfo()
{
Forecasts = new WeatherForecast[] {};
}
2013-02-20 20:33:05 -05:00
}
}