aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/ServerConfiguration.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Configuration/ServerConfiguration.cs')
-rw-r--r--MediaBrowser.Model/Configuration/ServerConfiguration.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
index c229ca556..5bcd09ef0 100644
--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs
+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
@@ -1,13 +1,24 @@
using MediaBrowser.Model.Weather;
+using ProtoBuf;
namespace MediaBrowser.Model.Configuration
{
+ /// <summary>
+ /// Represents the server configuration.
+ /// </summary>
+ [ProtoContract]
public class ServerConfiguration : BaseApplicationConfiguration
{
+ [ProtoMember(3)]
public bool EnableInternetProviders { get; set; }
+
+ [ProtoMember(4)]
public bool EnableUserProfiles { get; set; }
+ [ProtoMember(5)]
public string WeatherZipCode { get; set; }
+
+ [ProtoMember(6)]
public WeatherUnits WeatherUnit { get; set; }
public ServerConfiguration()