mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-16 15:16:53 +01:00
* refactor * rename api * -preview-01 * logger * move * RandomDataGenerator.Net * . * ISettings * renames... * refactor CommandlineParser logic * remove standalone * Remove Interfaces * Update tests * WireMock.Net.StandAlone * . * fix * . * _settings * Admin * WireMock.Net.Abstractions * fix build * rename WireMockServer * fix compile errors
56 lines
1.4 KiB
C#
56 lines
1.4 KiB
C#
using System;
|
|
|
|
namespace WireMock.Admin.Mappings
|
|
{
|
|
/// <summary>
|
|
/// MappingModel
|
|
/// </summary>
|
|
public class MappingModel
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the unique identifier.
|
|
/// </summary>
|
|
public Guid? Guid { get; set; }
|
|
|
|
/// <summary>
|
|
/// The unique title.
|
|
/// </summary>
|
|
public string Title { get; set; }
|
|
|
|
/// <summary>
|
|
/// The priority.
|
|
/// </summary>
|
|
public int? Priority { get; set; }
|
|
|
|
/// <summary>
|
|
/// The Scenario.
|
|
/// </summary>
|
|
public string Scenario { get; set; }
|
|
|
|
/// <summary>
|
|
/// Execution state condition for the current mapping.
|
|
/// </summary>
|
|
public string WhenStateIs { get; set; }
|
|
|
|
/// <summary>
|
|
/// The next state which will be signaled after the current mapping execution.
|
|
/// In case the value is null state will not be changed.
|
|
/// </summary>
|
|
public string SetStateTo { get; set; }
|
|
|
|
/// <summary>
|
|
/// The request model.
|
|
/// </summary>
|
|
public RequestModel Request { get; set; }
|
|
|
|
/// <summary>
|
|
/// The response model.
|
|
/// </summary>
|
|
public ResponseModel Response { get; set; }
|
|
|
|
/// <summary>
|
|
/// Saves this mapping as a static mapping file.
|
|
/// </summary>
|
|
public bool? SaveToFile { get; set; }
|
|
}
|
|
} |