Summary

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

File(s)

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

#LineLine coverage
 1using System.Collections.Generic;
 2using WireMock.Admin.Mappings;
 3using WireMock.Util;
 4
 5namespace WireMock.Admin.Requests
 6{
 7    /// <summary>
 8    /// Response MessageModel
 9    /// </summary>
 10    public class LogResponseModel
 11    {
 12        /// <summary>
 13        /// Gets or sets the status code.
 14        /// </summary>
 11815        public int StatusCode { get; set; } = 200;
 16
 17        /// <summary>
 18        /// Gets the headers.
 19        /// </summary>
 6620        public IDictionary<string, WireMockList<string>> Headers { get; set; }
 21
 22        /// <summary>
 23        /// Gets or sets the body destination (SameAsSource, String or Bytes).
 24        /// </summary>
 5725        public string BodyDestination { get; set; }
 26
 27        /// <summary>
 28        /// The body (as string).
 29        /// </summary>
 5730        public string Body { get; set; }
 31
 32        /// <summary>
 33        /// The body (as JSON object).
 34        /// </summary>
 6635        public object BodyAsJson { get; set; }
 36
 37        /// <summary>
 38        /// The body (as bytearray).
 39        /// </summary>
 5740        public byte[] BodyAsBytes { get; set; }
 41
 42        /// <summary>
 43        /// Gets or sets the body as file.
 44        /// </summary>
 5845        public string BodyAsFile { get; set; }
 46
 47        /// <summary>
 48        /// Is the body as file cached?
 49        /// </summary>
 5850        public bool? BodyAsFileIsCached { get; set; }
 51
 52        /// <summary>
 53        /// Gets or sets the original body.
 54        /// </summary>
 5755        public string BodyOriginal { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets the body.
 59        /// </summary>
 6660        public EncodingModel BodyEncoding { get; set; }
 61    }
 62}