Summary

Class:WireMock.Admin.Requests.LogResponseModel
Assembly:WireMock.Net
File(s):C:\Users\azureuser\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%

Metrics

MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor()10100100

File(s)

C:\Users\azureuser\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>
 1015        public int StatusCode { get; set; } = 200;
 16
 17        /// <summary>
 18        /// Gets the headers.
 19        /// </summary>
 820        public IDictionary<string, WireMockList<string>> Headers { get; set; }
 21
 22        /// <summary>
 23        /// Gets or sets the body destination (SameAsSource, String or Bytes).
 24        /// </summary>
 425        public string BodyDestination { get; set; }
 26
 27        /// <summary>
 28        /// The body (as string).
 29        /// </summary>
 630        public string Body { get; set; }
 31
 32        /// <summary>
 33        /// The body (as JSON object).
 34        /// </summary>
 435        public object BodyAsJson { get; set; }
 36
 37        /// <summary>
 38        /// The body (as bytearray).
 39        /// </summary>
 440        public byte[] BodyAsBytes { get; set; }
 41
 42        /// <summary>
 43        /// Gets or sets the body as file.
 44        /// </summary>
 445        public string BodyAsFile { get; set; }
 46
 47        /// <summary>
 48        /// Is the body as file cached?
 49        /// </summary>
 450        public bool? BodyAsFileIsCached { get; set; }
 51
 52        /// <summary>
 53        /// Gets or sets the original body.
 54        /// </summary>
 455        public string BodyOriginal { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets the body.
 59        /// </summary>
 860        public EncodingModel BodyEncoding { get; set; }
 61    }
 62}