using System.Collections.Generic; namespace WireMock.Admin.Mappings; /// /// Header Model /// [FluentBuilder.AutoGenerateBuilder] public class HeaderModel { /// /// Gets or sets the name (key). /// public string Name { get; set; } = null!; /// /// Gets or sets the matchers. /// public IList? Matchers { get; set; } /// /// Gets or sets the ignore case for the Header Key. /// public bool? IgnoreCase { get; set; } /// /// Gets or sets the Reject on match for the Header Key. /// public bool? RejectOnMatch { get; set; } /// /// The Operator to use when matchers are defined. [Optional] /// - null = Same as "or". /// - "or" = Only one pattern should match. /// - "and" = All patterns should match. /// - "average" = The average value from all patterns. /// public string? MatchOperator { get; set; } }