mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-16 07:06:54 +01:00
* Add TIOBE + include SonarAnalyzer.CSharp * . * cp * Copyright © WireMock.Net * more fixes * fix * xpath * if (Matchers == null || !Matchers.Any()) * if (Matchers != null) * ? * . * .
29 lines
761 B
C#
29 lines
761 B
C#
// Copyright © WireMock.Net
|
|
|
|
namespace WireMock.Admin.Mappings;
|
|
|
|
/// <summary>
|
|
/// Body Model
|
|
/// </summary>
|
|
[FluentBuilder.AutoGenerateBuilder]
|
|
public class BodyModel
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the matcher.
|
|
/// </summary>
|
|
public MatcherModel? Matcher { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the matchers.
|
|
/// </summary>
|
|
public MatcherModel[]? Matchers { get; set; }
|
|
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
public string? MatchOperator { get; set; }
|
|
} |