| | | 1 | | using System; |
| | | 2 | | |
| | | 3 | | namespace WireMock.Admin.Mappings |
| | | 4 | | { |
| | | 5 | | /// <summary> |
| | | 6 | | /// MappingModel |
| | | 7 | | /// </summary> |
| | | 8 | | public class MappingModel |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// Gets or sets the unique identifier. |
| | | 12 | | /// </summary> |
| | 25 | 13 | | public Guid? Guid { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// The unique title. |
| | | 17 | | /// </summary> |
| | 24 | 18 | | public string Title { get; set; } |
| | | 19 | | |
| | | 20 | | /// <summary> |
| | | 21 | | /// The priority. |
| | | 22 | | /// </summary> |
| | 36 | 23 | | public int? Priority { get; set; } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// The Scenario. |
| | | 27 | | /// </summary> |
| | 16 | 28 | | public string Scenario { get; set; } |
| | | 29 | | |
| | | 30 | | /// <summary> |
| | | 31 | | /// Execution state condition for the current mapping. |
| | | 32 | | /// </summary> |
| | 5 | 33 | | public string WhenStateIs { get; set; } |
| | | 34 | | |
| | | 35 | | /// <summary> |
| | | 36 | | /// The next state which will be signaled after the current mapping execution. |
| | | 37 | | /// In case the value is null state will not be changed. |
| | | 38 | | /// </summary> |
| | 5 | 39 | | public string SetStateTo { get; set; } |
| | | 40 | | |
| | | 41 | | /// <summary> |
| | | 42 | | /// The request. |
| | | 43 | | /// </summary> |
| | 49 | 44 | | public RequestModel Request { get; set; } |
| | | 45 | | |
| | | 46 | | /// <summary> |
| | | 47 | | /// The response. |
| | | 48 | | /// </summary> |
| | 69 | 49 | | public ResponseModel Response { get; set; } |
| | | 50 | | } |
| | | 51 | | } |