Summary

Class:WireMock.Admin.Requests.LogRequestModel
Assembly:WireMock.Net
File(s):C:\Users\StefHeyenrath\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestModel.cs
Covered lines:14
Uncovered lines:0
Coverable lines:14
Total lines:83
Line coverage:100%

File(s)

C:\Users\StefHeyenrath\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Requests\LogRequestModel.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using WireMock.Admin.Mappings;
 4using WireMock.Util;
 5
 6namespace WireMock.Admin.Requests
 7{
 8    /// <summary>
 9    /// RequestMessage Model
 10    /// </summary>
 11    public class LogRequestModel
 12    {
 13        /// <summary>
 14        /// The Client IP Address.
 15        /// </summary>
 6116        public string ClientIP { get; set; }
 17
 18        /// <summary>
 19        /// The DateTime.
 20        /// </summary>
 6221        public DateTime DateTime { get; set; }
 22
 23        /// <summary>
 24        /// The Path.
 25        /// </summary>
 6426        public string Path { get; set; }
 27
 28        /// <summary>
 29        /// The Absolute Path.
 30        /// </summary>
 6231        public string AbsolutePath { get; set; }
 32
 33        /// <summary>
 34        /// Gets the url (relative).
 35        /// </summary>
 6136        public string Url { get; set; }
 37
 38        /// <summary>
 39        /// The absolete URL.
 40        /// </summary>
 6141        public string AbsoluteUrl { get; set; }
 42
 43        /// <summary>
 44        /// The query.
 45        /// </summary>
 5746        public IDictionary<string, WireMockList<string>> Query { get; set; }
 47
 48        /// <summary>
 49        /// The method.
 50        /// </summary>
 6651        public string Method { get; set; }
 52
 53        /// <summary>
 54        /// The Headers.
 55        /// </summary>
 6656        public IDictionary<string, WireMockList<string>> Headers { get; set; }
 57
 58        /// <summary>
 59        /// Tthe Cookies.
 60        /// </summary>
 5861        public IDictionary<string, string> Cookies { get; set; }
 62
 63        /// <summary>
 64        /// The body (as string).
 65        /// </summary>
 6666        public string Body { get; set; }
 67
 68        /// <summary>
 69        /// The body (as JSON object).
 70        /// </summary>
 6271        public object BodyAsJson { get; set; }
 72
 73        /// <summary>
 74        /// The body (as bytearray).
 75        /// </summary>
 5776        public byte[] BodyAsBytes { get; set; }
 77
 78        /// <summary>
 79        /// The body encoding.
 80        /// </summary>
 6181        public EncodingModel BodyEncoding { get; set; }
 82    }
 83}