| | | 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> |
| | | 13 | | /// <value> |
| | | 14 | | /// The HTTP status. |
| | | 15 | | /// </value> |
| | 12 | 16 | | public int? StatusCode { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Gets or sets the body. |
| | | 20 | | /// </summary> |
| | | 21 | | /// <value> |
| | | 22 | | /// The body. |
| | | 23 | | /// </value> |
| | 12 | 24 | | public string Body { get; set; } |
| | | 25 | | |
| | | 26 | | /// <summary> |
| | | 27 | | /// Gets or sets the body. |
| | | 28 | | /// </summary> |
| | | 29 | | /// <value> |
| | | 30 | | /// The body. |
| | | 31 | | /// </value> |
| | 0 | 32 | | public string BodyAsBase64 { get; set; } |
| | | 33 | | |
| | | 34 | | /// <summary> |
| | | 35 | | /// Gets or sets the body (as JSON object). |
| | | 36 | | /// </summary> |
| | | 37 | | /// <value> |
| | | 38 | | /// The body. |
| | | 39 | | /// </value> |
| | 0 | 40 | | public object BodyAsJson { get; set; } |
| | | 41 | | |
| | | 42 | | /// <summary> |
| | | 43 | | /// Gets or sets the body encoding. |
| | | 44 | | /// </summary> |
| | | 45 | | /// <value> |
| | | 46 | | /// The body encoding. |
| | | 47 | | /// </value> |
| | 12 | 48 | | public EncodingModel BodyEncoding { get; set; } |
| | | 49 | | |
| | | 50 | | /// <summary> |
| | | 51 | | /// Gets or sets a value indicating whether [use transformer]. |
| | | 52 | | /// </summary> |
| | | 53 | | /// <value> |
| | | 54 | | /// <c>true</c> if [use transformer]; otherwise, <c>false</c>. |
| | | 55 | | /// </value> |
| | 8 | 56 | | public bool UseTransformer { get; set; } |
| | | 57 | | |
| | | 58 | | /// <summary> |
| | | 59 | | /// Gets or sets the headers. |
| | | 60 | | /// </summary> |
| | | 61 | | /// <value> |
| | | 62 | | /// The headers. |
| | | 63 | | /// </value> |
| | 16 | 64 | | public IDictionary<string, string> Headers { get; set; } |
| | | 65 | | |
| | | 66 | | /// <summary> |
| | | 67 | | /// Gets or sets the Headers (Raw). |
| | | 68 | | /// </summary> |
| | | 69 | | /// <value> |
| | | 70 | | /// The Headers (Raw). |
| | | 71 | | /// </value> |
| | 0 | 72 | | public string HeadersRaw { get; set; } |
| | | 73 | | |
| | | 74 | | /// <summary> |
| | | 75 | | /// Gets or sets the delay in milliseconds. |
| | | 76 | | /// </summary> |
| | | 77 | | /// <value> |
| | | 78 | | /// The delay in milliseconds. |
| | | 79 | | /// </value> |
| | 4 | 80 | | public int? Delay { get; set; } |
| | | 81 | | } |
| | | 82 | | } |