using System;
namespace WireMock.Admin.Mappings
{
///
/// MappingModel
///
public class MappingModel
{
///
/// Gets or sets the unique identifier.
///
public Guid? Guid { get; set; }
///
/// The unique title.
///
public string Title { get; set; }
///
/// The priority.
///
public int? Priority { get; set; }
///
/// The Scenario.
///
public string Scenario { get; set; }
///
/// Execution state condition for the current mapping.
///
public string WhenStateIs { get; set; }
///
/// The next state which will be signaled after the current mapping execution.
/// In case the value is null state will not be changed.
///
public string SetStateTo { get; set; }
///
/// The request model.
///
public RequestModel Request { get; set; }
///
/// The response model.
///
public ResponseModel Response { get; set; }
///
/// Saves this mapping as a static mapping file.
///
public bool? SaveToFile { get; set; }
}
}