jellyfin-server/MediaBrowser.Model/Weather/WeatherInfo.cs

34 lines
841 B
C#
Raw Normal View History

2013-02-21 01:33:05 +00: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 18:45:58 +00:00
/// <summary>
/// Initializes a new instance of the <see cref="WeatherInfo"/> class.
/// </summary>
public WeatherInfo()
{
Forecasts = new WeatherForecast[] {};
}
2013-02-21 01:33:05 +00:00
}
}