Files
WireMock.Net/src/WireMock.Net.Abstractions/Admin/Mappings/FaultModel.cs
2021-08-04 15:40:35 +02:00

19 lines
531 B
C#

namespace WireMock.Admin.Mappings
{
/// <summary>
/// Fault Model
/// </summary>
[FluentBuilder.AutoGenerateBuilder]
public class FaultModel
{
/// <summary>
/// Gets or sets the fault. Can be null, "", NONE, EMPTY_RESPONSE, MALFORMED_RESPONSE_CHUNK or RANDOM_DATA_THEN_CLOSE.
/// </summary>
public string Type { get; set; }
/// <summary>
/// Gets or sets the fault percentage.
/// </summary>
public double? Percentage { get; set; }
}
}