// Copyright © WireMock.Net using WireMock.Admin.Mappings; using WireMock.Types; namespace WireMock.Admin.Requests; /// /// RequestMessage Model /// public class LogRequestModel { /// /// The Client IP Address. /// public required string ClientIP { get; set; } /// /// The DateTime. /// public required DateTime DateTime { get; set; } /// /// The Path. /// public required string Path { get; set; } /// /// The Absolute Path. /// public required string AbsolutePath { get; set; } /// /// Gets the url (relative). /// public required string Url { get; set; } /// /// The absolute URL. /// public required string AbsoluteUrl { get; set; } /// /// The ProxyUrl (if a proxy is used). /// public string? ProxyUrl { get; set; } /// /// The query. /// public IDictionary>? Query { get; set; } /// /// The method. /// public required string Method { get; set; } /// /// The HTTP Version. /// public string? HttpVersion { get; set; } /// /// The Headers. /// public IDictionary>? Headers { get; set; } /// /// The Cookies. /// public IDictionary? Cookies { get; set; } /// /// The body (as string). /// public string? Body { get; set; } /// /// The body (as JSON object). /// public object? BodyAsJson { get; set; } /// /// The body (as bytearray). /// public byte[]? BodyAsBytes { get; set; } /// /// The body encoding. /// public EncodingModel? BodyEncoding { get; set; } /// /// The DetectedBodyType, valid values are: /// /// - None /// - String /// - Json /// - Bytes /// public string? DetectedBodyType { get; set; } /// /// The DetectedBodyTypeFromContentType, valid values are: /// /// - None /// - String /// - Json /// - Bytes /// public string? DetectedBodyTypeFromContentType { get; set; } }