using System;
using WireMock.Models;
namespace WireMock.Admin.Mappings
{
///
/// MappingModel
///
[FluentBuilder.AutoGenerateBuilder]
public class MappingModel
{
///
/// Gets or sets the unique identifier.
///
public Guid? Guid { get; set; }
///
/// Gets or sets the TimeSettings when which this mapping should be used.
///
public TimeSettingsModel TimeSettings { 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; }
///
/// The Webhook.
///
public WebhookModel Webhook { get; set; }
///
/// The Webhooks.
///
public WebhookModel[] Webhooks { get; set; }
}
}