// Copyright © WireMock.Net
namespace WireMock.Matchers.Request;
///
/// A mapping which did not (fully) match a request, together with the match result explaining why.
///
public class NearMiss
{
///
/// The request which was evaluated against the mapping.
///
public required IRequestMessage RequestMessage { get; init; }
///
/// The unique identifier of the log entry for the request. [Optional]
///
public Guid? LogEntryGuid { get; init; }
///
/// The unique identifier of the mapping.
///
public required Guid MappingGuid { get; init; }
///
/// The title of the mapping. [Optional]
///
public string? MappingTitle { get; init; }
///
/// The match result, containing the score per matcher.
///
public required IRequestMatchResult RequestMatchResult { get; init; }
}