# WireMock.Admin.Requests.LogResponseModel - Coverage Report

# 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

Method | Cyclomatic complexity | NPath complexity | Sequence coverage | Branch coverage
--- | --- | --- | --- | ---
.ctor() | 1 | 0 | 100 | 100

# File(s)

## C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Admin\Requests\LogResponseModel.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System.Collections.Generic;`
|  | `2` |  | `using WireMock.Admin.Mappings;`
|  | `3` |  | `using WireMock.Util;`
|  | `4` |  | ``
|  | `5` |  | `namespace 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>`
| 10 | `15` |  | `public int StatusCode { get; set; } = 200;`
|  | `16` |  | ``
|  | `17` |  | `/// <summary>`
|  | `18` |  | `/// Gets the headers.`
|  | `19` |  | `/// </summary>`
| 8 | `20` |  | `public IDictionary<string, WireMockList<string>> Headers { get; set; }`
|  | `21` |  | ``
|  | `22` |  | `/// <summary>`
|  | `23` |  | `/// Gets or sets the body destination (SameAsSource, String or Bytes).`
|  | `24` |  | `/// </summary>`
| 4 | `25` |  | `public string BodyDestination { get; set; }`
|  | `26` |  | ``
|  | `27` |  | `/// <summary>`
|  | `28` |  | `/// The body (as string).`
|  | `29` |  | `/// </summary>`
| 6 | `30` |  | `public string Body { get; set; }`
|  | `31` |  | ``
|  | `32` |  | `/// <summary>`
|  | `33` |  | `/// The body (as JSON object).`
|  | `34` |  | `/// </summary>`
| 4 | `35` |  | `public object BodyAsJson { get; set; }`
|  | `36` |  | ``
|  | `37` |  | `/// <summary>`
|  | `38` |  | `/// The body (as bytearray).`
|  | `39` |  | `/// </summary>`
| 4 | `40` |  | `public byte[] BodyAsBytes { get; set; }`
|  | `41` |  | ``
|  | `42` |  | `/// <summary>`
|  | `43` |  | `/// Gets or sets the body as file.`
|  | `44` |  | `/// </summary>`
| 4 | `45` |  | `public string BodyAsFile { get; set; }`
|  | `46` |  | ``
|  | `47` |  | `/// <summary>`
|  | `48` |  | `/// Is the body as file cached?`
|  | `49` |  | `/// </summary>`
| 4 | `50` |  | `public bool? BodyAsFileIsCached { get; set; }`
|  | `51` |  | ``
|  | `52` |  | `/// <summary>`
|  | `53` |  | `/// Gets or sets the original body.`
|  | `54` |  | `/// </summary>`
| 4 | `55` |  | `public string BodyOriginal { get; set; }`
|  | `56` |  | ``
|  | `57` |  | `/// <summary>`
|  | `58` |  | `/// Gets or sets the body.`
|  | `59` |  | `/// </summary>`
| 8 | `60` |  | `public EncodingModel BodyEncoding { get; set; }`
|  | `61` |  | `}`
|  | `62` |  | `}`

# Methods/Properties

StatusCode()
StatusCode(System.Int32)
.ctor()
Headers()
Headers(System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>)
BodyDestination()
BodyDestination(System.String)
Body()
Body(System.String)
BodyAsJson()
BodyAsJson(System.Object)
BodyAsBytes()
BodyAsBytes(System.Byte[])
BodyAsFile()
BodyAsFile(System.String)
BodyAsFileIsCached()
BodyAsFileIsCached(System.Nullable`1<System.Boolean>)
BodyOriginal()
BodyOriginal(System.String)
BodyEncoding()
BodyEncoding(WireMock.Admin.Mappings.EncodingModel)