Summary

Class:WireMock.Admin.Mappings.ResponseModel
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Mappings\ResponseModel.cs
Covered lines:15
Uncovered lines:0
Coverable lines:15
Total lines:85
Line coverage:100%

File(s)

C:\Users\azureuser\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>
 1813        public int? StatusCode { get; set; }
 14
 15        /// <summary>
 16        /// Gets or sets the body destination (SameAsSource, String or Bytes).
 17        /// </summary>
 818        public string BodyDestination { get; set; }
 19
 20        /// <summary>
 21        /// Gets or sets the body.
 22        /// </summary>
 1823        public string Body { get; set; }
 24
 25        /// <summary>
 26        /// Gets or sets the body.
 27        /// </summary>
 228        public string BodyFromBase64 { get; set; }
 29
 30        /// <summary>
 31        /// Gets or sets the body (as JSON object).
 32        /// </summary>
 333        public object BodyAsJson { get; set; }
 34
 35        /// <summary>
 36        /// Gets or sets the body (as bytearray).
 37        /// </summary>
 838        public byte[] BodyAsBytes { get; set; }
 39
 40        /// <summary>
 41        /// Gets or sets the body as a file.
 42        /// </summary>
 343        public string BodyAsFile { get; set; }
 44
 45        /// <summary>
 46        /// Is the body as file cached?
 47        /// </summary>
 348        public bool? BodyAsFileIsCached { get; set; }
 49
 50        /// <summary>
 51        /// Gets or sets the body encoding.
 52        /// </summary>
 1653        public EncodingModel BodyEncoding { get; set; }
 54
 55        /// <summary>
 56        /// Gets or sets a value indicating whether [use transformer].
 57        /// </summary>
 1258        public bool UseTransformer { get; set; }
 59
 60        /// <summary>
 61        /// Gets or sets the headers.
 62        /// </summary>
 2063        public IDictionary<string, object> Headers { get; set; }
 64
 65        /// <summary>
 66        /// Gets or sets the Headers (Raw).
 67        /// </summary>
 368        public string HeadersRaw { get; set; }
 69
 70        /// <summary>
 71        /// Gets or sets the delay in milliseconds.
 72        /// </summary>
 873        public int? Delay { get; set; }
 74
 75        /// <summary>
 76        /// Gets or sets the Proxy URL.
 77        /// </summary>
 778        public string ProxyUrl { get; set; }
 79
 80        /// <summary>
 81        /// The client X509Certificate2 Thumbprint or SubjectName to use.
 82        /// </summary>
 283        public string X509Certificate2ThumbprintOrSubjectName { get; set; }
 84    }
 85}