| | | 1 | | using System.Collections.Generic; |
| | | 2 | | |
| | | 3 | | namespace WireMock.Admin.Mappings |
| | | 4 | | { |
| | | 5 | | /// <summary> |
| | | 6 | | /// RequestModel |
| | | 7 | | /// </summary> |
| | | 8 | | public class RequestModel |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// Gets or sets the Path. (Can be a string or a PathModel) |
| | | 12 | | /// </summary> |
| | | 13 | | /// <value> |
| | | 14 | | /// The URL. |
| | | 15 | | /// </value> |
| | 20 | 16 | | public object Path { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Gets or sets the Url. (Can be a string or a UrlModel) |
| | | 20 | | /// </summary> |
| | | 21 | | /// <value> |
| | | 22 | | /// The URL. |
| | | 23 | | /// </value> |
| | 4 | 24 | | public object Url { get; set; } |
| | | 25 | | |
| | | 26 | | /// <summary> |
| | | 27 | | /// The methods |
| | | 28 | | /// </summary> |
| | 16 | 29 | | public string[] Methods { get; set; } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Gets or sets the Headers. |
| | | 33 | | /// </summary> |
| | | 34 | | /// <value> |
| | | 35 | | /// The Headers. |
| | | 36 | | /// </value> |
| | 4 | 37 | | public IList<HeaderModel> Headers { get; set; } |
| | | 38 | | |
| | | 39 | | /// <summary> |
| | | 40 | | /// Gets or sets the Cookies. |
| | | 41 | | /// </summary> |
| | | 42 | | /// <value> |
| | | 43 | | /// The Cookies. |
| | | 44 | | /// </value> |
| | 4 | 45 | | public IList<CookieModel> Cookies { get; set; } |
| | | 46 | | |
| | | 47 | | /// <summary> |
| | | 48 | | /// Gets or sets the Params. |
| | | 49 | | /// </summary> |
| | | 50 | | /// <value> |
| | | 51 | | /// The Headers. |
| | | 52 | | /// </value> |
| | 4 | 53 | | public IList<ParamModel> Params { get; set; } |
| | | 54 | | |
| | | 55 | | /// <summary> |
| | | 56 | | /// Gets or sets the body. |
| | | 57 | | /// </summary> |
| | | 58 | | /// <value> |
| | | 59 | | /// The body. |
| | | 60 | | /// </value> |
| | 14 | 61 | | public BodyModel Body { get; set; } |
| | | 62 | | } |
| | | 63 | | } |