Summary

Class:WireMock.Admin.Mappings.ResponseModel
Assembly:WireMock.Net
File(s):C:\Users\StefHeyenrath\Documents\GitHub\WireMock.Net\src\WireMock.Net\Admin\Mappings\ResponseModel.cs
Covered lines:16
Uncovered lines:0
Coverable lines:16
Total lines:90
Line coverage:100%

File(s)

C:\Users\StefHeyenrath\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>
 3613        public int? StatusCode { get; set; }
 14
 15        /// <summary>
 16        /// Gets or sets the body destination (SameAsSource, String or Bytes).
 17        /// </summary>
 1218        public string BodyDestination { get; set; }
 19
 20        /// <summary>
 21        /// Gets or sets the body.
 22        /// </summary>
 3023        public string Body { get; set; }
 24
 25        /// <summary>
 26        /// Gets or sets the body.
 27        /// </summary>
 628        public string BodyFromBase64 { get; set; }
 29
 30        /// <summary>
 31        /// Gets or sets the body (as JSON object).
 32        /// </summary>
 1233        public object BodyAsJson { get; set; }
 34
 35        /// <summary>
 36        /// Gets or sets a value indicating whether child objects to be indented according to the Newtonsoft.Json.JsonTe
 37        /// </summary>
 638        public bool? BodyAsJsonIndented { get; set; }
 39
 40        /// <summary>
 41        /// Gets or sets the body (as bytearray).
 42        /// </summary>
 1643        public byte[] BodyAsBytes { get; set; }
 44
 45        /// <summary>
 46        /// Gets or sets the body as a file.
 47        /// </summary>
 1448        public string BodyAsFile { get; set; }
 49
 50        /// <summary>
 51        /// Is the body as file cached?
 52        /// </summary>
 553        public bool? BodyAsFileIsCached { get; set; }
 54
 55        /// <summary>
 56        /// Gets or sets the body encoding.
 57        /// </summary>
 2358        public EncodingModel BodyEncoding { get; set; }
 59
 60        /// <summary>
 61        /// Gets or sets a value indicating whether [use transformer].
 62        /// </summary>
 2263        public bool UseTransformer { get; set; }
 64
 65        /// <summary>
 66        /// Gets or sets the headers.
 67        /// </summary>
 4368        public IDictionary<string, object> Headers { get; set; }
 69
 70        /// <summary>
 71        /// Gets or sets the Headers (Raw).
 72        /// </summary>
 573        public string HeadersRaw { get; set; }
 74
 75        /// <summary>
 76        /// Gets or sets the delay in milliseconds.
 77        /// </summary>
 1678        public int? Delay { get; set; }
 79
 80        /// <summary>
 81        /// Gets or sets the Proxy URL.
 82        /// </summary>
 1483        public string ProxyUrl { get; set; }
 84
 85        /// <summary>
 86        /// The client X509Certificate2 Thumbprint or SubjectName to use.
 87        /// </summary>
 388        public string X509Certificate2ThumbprintOrSubjectName { get; set; }
 89    }
 90}