using System.Text.RegularExpressions; using WireMock.Handlers; using WireMock.Types; namespace WireMock.Admin.Settings { /// /// Settings /// [FluentBuilder.AutoGenerateBuilder] public class SettingsModel { /// /// Gets or sets the global delay in milliseconds. /// public int? GlobalProcessingDelay { get; set; } /// /// Gets or sets if partial mapping is allowed. /// public bool? AllowPartialMapping { get; set; } /// /// Gets or sets the RequestLog expiration in hours /// public int? RequestLogExpirationDuration { get; set; } /// /// Gets or sets the MaxRequestLog count. /// public int? MaxRequestLogCount { get; set; } /// /// Allow a Body for all HTTP Methods. (default set to false). /// public bool? AllowBodyForAllHttpMethods { get; set; } /// /// Handle all requests synchronously. (default set to false). /// public bool? HandleRequestsSynchronously { get; set; } /// /// Throw an exception when the Matcher fails because of invalid input. (default set to false). /// public bool? ThrowExceptionWhenMatcherFails { get; set; } /// /// Use the RegexExtended instead of the default . (default set to true). /// public bool? UseRegexExtended { get; set; } /// /// Save unmatched requests to a file using the . (default set to false). /// public bool? SaveUnmatchedRequests { get; set; } /// /// Policies to use when using CORS. By default CORS is disabled. [Optional] /// public string CorsPolicyOptions { get; set; } } }