Summary

Class:WireMock.Admin.Mappings.ResponseModel
Assembly:WireMock.Net
File(s):C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\ResponseModel.cs
Covered lines:6
Uncovered lines:3
Coverable lines:9
Total lines:82
Line coverage:66.6%

File(s)

C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\ResponseModel.cs

#LineLine coverage
 1using System.Collections.Generic;
 2
 3namespace WireMock.Admin.Mappings
 4{
 5    /// <summary>
 6    /// ResponseModel
 7    /// </summary>
 8    public class ResponseModel
 9    {
 10        /// <summary>
 11        /// Gets or sets the HTTP status.
 12        /// </summary>
 13        /// <value>
 14        /// The HTTP status.
 15        /// </value>
 1216        public int? StatusCode { get; set; }
 17
 18        /// <summary>
 19        /// Gets or sets the body.
 20        /// </summary>
 21        /// <value>
 22        /// The body.
 23        /// </value>
 1224        public string Body { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets the body.
 28        /// </summary>
 29        /// <value>
 30        /// The body.
 31        /// </value>
 032        public string BodyAsBase64 { get; set; }
 33
 34        /// <summary>
 35        /// Gets or sets the body (as JSON object).
 36        /// </summary>
 37        /// <value>
 38        /// The body.
 39        /// </value>
 040        public object BodyAsJson { get; set; }
 41
 42        /// <summary>
 43        /// Gets or sets the body encoding.
 44        /// </summary>
 45        /// <value>
 46        /// The body encoding.
 47        /// </value>
 1248        public EncodingModel BodyEncoding { get; set; }
 49
 50        /// <summary>
 51        /// Gets or sets a value indicating whether [use transformer].
 52        /// </summary>
 53        /// <value>
 54        ///   <c>true</c> if [use transformer]; otherwise, <c>false</c>.
 55        /// </value>
 856        public bool UseTransformer { get; set; }
 57
 58        /// <summary>
 59        /// Gets or sets the headers.
 60        /// </summary>
 61        /// <value>
 62        /// The headers.
 63        /// </value>
 1664        public IDictionary<string, string> Headers { get; set; }
 65
 66        /// <summary>
 67        /// Gets or sets the Headers (Raw).
 68        /// </summary>
 69        /// <value>
 70        /// The Headers (Raw).
 71        /// </value>
 072        public string HeadersRaw { get; set; }
 73
 74        /// <summary>
 75        /// Gets or sets the delay in milliseconds.
 76        /// </summary>
 77        /// <value>
 78        /// The delay in milliseconds.
 79        /// </value>
 480        public int? Delay { get; set; }
 81    }
 82}