| | | 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 ClientIP. (Can be a string or a ClientIPModel) |
| | | 12 | | /// </summary> |
| | 19 | 13 | | public object ClientIP { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// Gets or sets the Path. (Can be a string or a PathModel) |
| | | 17 | | /// </summary> |
| | 61 | 18 | | public object Path { get; set; } |
| | | 19 | | |
| | | 20 | | /// <summary> |
| | | 21 | | /// Gets or sets the Url. (Can be a string or a UrlModel) |
| | | 22 | | /// </summary> |
| | 8 | 23 | | public object Url { get; set; } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// The methods |
| | | 27 | | /// </summary> |
| | 52 | 28 | | public string[] Methods { get; set; } |
| | | 29 | | |
| | | 30 | | /// <summary> |
| | | 31 | | /// Gets or sets the Headers. |
| | | 32 | | /// </summary> |
| | 19 | 33 | | public IList<HeaderModel> Headers { get; set; } |
| | | 34 | | |
| | | 35 | | /// <summary> |
| | | 36 | | /// Gets or sets the Cookies. |
| | | 37 | | /// </summary> |
| | 19 | 38 | | public IList<CookieModel> Cookies { get; set; } |
| | | 39 | | |
| | | 40 | | /// <summary> |
| | | 41 | | /// Gets or sets the Params. |
| | | 42 | | /// </summary> |
| | 19 | 43 | | public IList<ParamModel> Params { get; set; } |
| | | 44 | | |
| | | 45 | | /// <summary> |
| | | 46 | | /// Gets or sets the body. |
| | | 47 | | /// </summary> |
| | 34 | 48 | | public BodyModel Body { get; set; } |
| | | 49 | | } |
| | | 50 | | } |