aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/ServerConfiguration.cs
blob: 5bcd09ef00e00d4e0e813a6f3e51f96b780f36e9 (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
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()
            : base()
        {
            EnableUserProfiles = true;
        }
    }
}