using HandlebarsDotNet; using JetBrains.Annotations; using Newtonsoft.Json; using System; using WireMock.Handlers; using WireMock.Logging; namespace WireMock.Settings { /// /// FluentMockServerSettings /// public class FluentMockServerSettings : IFluentMockServerSettings { /// [PublicAPI] public int? Port { get; set; } /// [PublicAPI] // ReSharper disable once InconsistentNaming public bool? UseSSL { get; set; } /// [PublicAPI] public bool? StartAdminInterface { get; set; } /// [PublicAPI] public bool? ReadStaticMappings { get; set; } /// [PublicAPI] public bool? WatchStaticMappings { get; set; } /// [PublicAPI] public IProxyAndRecordSettings ProxyAndRecordSettings { get; set; } /// [PublicAPI] public string[] Urls { get; set; } /// [PublicAPI] public int StartTimeout { get; set; } = 10000; /// [PublicAPI] public bool? AllowPartialMapping { get; set; } /// [PublicAPI] public string AdminUsername { get; set; } /// [PublicAPI] public string AdminPassword { get; set; } /// [PublicAPI] public int? RequestLogExpirationDuration { get; set; } /// [PublicAPI] public int? MaxRequestLogCount { get; set; } /// [PublicAPI] [JsonIgnore] public Action PreWireMockMiddlewareInit { get; set; } /// [PublicAPI] [JsonIgnore] public Action PostWireMockMiddlewareInit { get; set; } /// [PublicAPI] [JsonIgnore] public IWireMockLogger Logger { get; set; } = new WireMockNullLogger(); /// [PublicAPI] [JsonIgnore] public IFileSystemHandler FileSystemHandler { get; set; } /// [PublicAPI] [JsonIgnore] public Action HandlebarsRegistrationCallback { get; set; } } }