aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Weather/WeatherInfo.cs
blob: 57a9432f6cd8961cad507713de7904d1ec2de4e8 (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
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[] {};
        }
    }
}