mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 19:08:27 +01:00
removed unused attributes
This commit is contained in:
@@ -1,54 +1,46 @@
|
||||
using System;
|
||||
using ProtoBuf;
|
||||
|
||||
namespace MediaBrowser.Model.Weather
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a weather forecast for a specific date
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class WeatherForecast
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the date.
|
||||
/// </summary>
|
||||
/// <value>The date.</value>
|
||||
[ProtoMember(1)]
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the high temperature fahrenheit.
|
||||
/// </summary>
|
||||
/// <value>The high temperature fahrenheit.</value>
|
||||
[ProtoMember(2)]
|
||||
public int HighTemperatureFahrenheit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the low temperature fahrenheit.
|
||||
/// </summary>
|
||||
/// <value>The low temperature fahrenheit.</value>
|
||||
[ProtoMember(3)]
|
||||
public int LowTemperatureFahrenheit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the high temperature celsius.
|
||||
/// </summary>
|
||||
/// <value>The high temperature celsius.</value>
|
||||
[ProtoMember(4)]
|
||||
public int HighTemperatureCelsius { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the low temperature celsius.
|
||||
/// </summary>
|
||||
/// <value>The low temperature celsius.</value>
|
||||
[ProtoMember(5)]
|
||||
public int LowTemperatureCelsius { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the condition.
|
||||
/// </summary>
|
||||
/// <value>The condition.</value>
|
||||
[ProtoMember(6)]
|
||||
public WeatherConditions Condition { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,25 +1,21 @@
|
||||
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>
|
||||
|
||||
@@ -1,39 +1,33 @@
|
||||
using ProtoBuf;
|
||||
|
||||
|
||||
namespace MediaBrowser.Model.Weather
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the current weather status
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class WeatherStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the temperature fahrenheit.
|
||||
/// </summary>
|
||||
/// <value>The temperature fahrenheit.</value>
|
||||
[ProtoMember(1)]
|
||||
public int TemperatureFahrenheit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the temperature celsius.
|
||||
/// </summary>
|
||||
/// <value>The temperature celsius.</value>
|
||||
[ProtoMember(2)]
|
||||
public int TemperatureCelsius { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the humidity.
|
||||
/// </summary>
|
||||
/// <value>The humidity.</value>
|
||||
[ProtoMember(3)]
|
||||
public int Humidity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the condition.
|
||||
/// </summary>
|
||||
/// <value>The condition.</value>
|
||||
[ProtoMember(4)]
|
||||
public WeatherConditions Condition { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user