| | | 1 | | using System.Collections.Generic; |
| | | 2 | | |
| | | 3 | | namespace 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> |
| | 36 | 13 | | public int? StatusCode { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// Gets or sets the body destination (SameAsSource, String or Bytes). |
| | | 17 | | /// </summary> |
| | 12 | 18 | | public string BodyDestination { get; set; } |
| | | 19 | | |
| | | 20 | | /// <summary> |
| | | 21 | | /// Gets or sets the body. |
| | | 22 | | /// </summary> |
| | 30 | 23 | | public string Body { get; set; } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// Gets or sets the body. |
| | | 27 | | /// </summary> |
| | 6 | 28 | | public string BodyFromBase64 { get; set; } |
| | | 29 | | |
| | | 30 | | /// <summary> |
| | | 31 | | /// Gets or sets the body (as JSON object). |
| | | 32 | | /// </summary> |
| | 12 | 33 | | 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> |
| | 6 | 38 | | public bool? BodyAsJsonIndented { get; set; } |
| | | 39 | | |
| | | 40 | | /// <summary> |
| | | 41 | | /// Gets or sets the body (as bytearray). |
| | | 42 | | /// </summary> |
| | 16 | 43 | | public byte[] BodyAsBytes { get; set; } |
| | | 44 | | |
| | | 45 | | /// <summary> |
| | | 46 | | /// Gets or sets the body as a file. |
| | | 47 | | /// </summary> |
| | 14 | 48 | | public string BodyAsFile { get; set; } |
| | | 49 | | |
| | | 50 | | /// <summary> |
| | | 51 | | /// Is the body as file cached? |
| | | 52 | | /// </summary> |
| | 5 | 53 | | public bool? BodyAsFileIsCached { get; set; } |
| | | 54 | | |
| | | 55 | | /// <summary> |
| | | 56 | | /// Gets or sets the body encoding. |
| | | 57 | | /// </summary> |
| | 23 | 58 | | public EncodingModel BodyEncoding { get; set; } |
| | | 59 | | |
| | | 60 | | /// <summary> |
| | | 61 | | /// Gets or sets a value indicating whether [use transformer]. |
| | | 62 | | /// </summary> |
| | 22 | 63 | | public bool UseTransformer { get; set; } |
| | | 64 | | |
| | | 65 | | /// <summary> |
| | | 66 | | /// Gets or sets the headers. |
| | | 67 | | /// </summary> |
| | 43 | 68 | | public IDictionary<string, object> Headers { get; set; } |
| | | 69 | | |
| | | 70 | | /// <summary> |
| | | 71 | | /// Gets or sets the Headers (Raw). |
| | | 72 | | /// </summary> |
| | 5 | 73 | | public string HeadersRaw { get; set; } |
| | | 74 | | |
| | | 75 | | /// <summary> |
| | | 76 | | /// Gets or sets the delay in milliseconds. |
| | | 77 | | /// </summary> |
| | 16 | 78 | | public int? Delay { get; set; } |
| | | 79 | | |
| | | 80 | | /// <summary> |
| | | 81 | | /// Gets or sets the Proxy URL. |
| | | 82 | | /// </summary> |
| | 14 | 83 | | public string ProxyUrl { get; set; } |
| | | 84 | | |
| | | 85 | | /// <summary> |
| | | 86 | | /// The client X509Certificate2 Thumbprint or SubjectName to use. |
| | | 87 | | /// </summary> |
| | 3 | 88 | | public string X509Certificate2ThumbprintOrSubjectName { get; set; } |
| | | 89 | | } |
| | | 90 | | } |