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/WeatherInfo.cs

34 lines
841 B

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; }
/// <summary>
/// Initializes a new instance of the <see cref="WeatherInfo"/> class.
/// </summary>
public WeatherInfo()
{
Forecasts = new WeatherForecast[] {};
}
}
}