WeatherInfo.cs 617 B

12345678910111213141516171819202122232425
  1. using ProtoBuf;
  2. namespace MediaBrowser.Model.Weather
  3. {
  4. /// <summary>
  5. /// Class WeatherInfo
  6. /// </summary>
  7. [ProtoContract]
  8. public class WeatherInfo
  9. {
  10. /// <summary>
  11. /// Gets or sets the current weather.
  12. /// </summary>
  13. /// <value>The current weather.</value>
  14. [ProtoMember(1)]
  15. public WeatherStatus CurrentWeather { get; set; }
  16. /// <summary>
  17. /// Gets or sets the forecasts.
  18. /// </summary>
  19. /// <value>The forecasts.</value>
  20. [ProtoMember(2)]
  21. public WeatherForecast[] Forecasts { get; set; }
  22. }
  23. }