mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-02-20 09:17:47 +01:00
40 lines
1.0 KiB
C#
40 lines
1.0 KiB
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 pattern as a file.
|
|
/// </summary>
|
|
public string PatternAsFile { 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; }
|
|
}
|
|
}
|