mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-17 07:36:47 +01:00
35 lines
918 B
C#
35 lines
918 B
C#
namespace WireMock.Admin.Mappings
|
|
{
|
|
/// <summary>
|
|
/// MatcherModel
|
|
/// </summary>
|
|
[FluentBuilder.AutoGenerateBuilder]
|
|
public class MatcherModel
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the name.
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the pattern. Can be a string (default) or an object;
|
|
/// </summary>
|
|
public object Pattern { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the patterns. Can be array of strings (default) or an array of objects;
|
|
/// </summary>
|
|
public object[] Patterns { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the ignore case.
|
|
/// </summary>
|
|
public bool? IgnoreCase { get; set; }
|
|
|
|
/// <summary>
|
|
/// Reject on match.
|
|
/// </summary>
|
|
public bool? RejectOnMatch { get; set; }
|
|
}
|
|
}
|