using System.Collections.Generic;
namespace WireMock.Admin.Mappings;
///
/// RequestModel
///
[FluentBuilder.AutoGenerateBuilder]
public class WebhookRequestModel
{
///
/// Gets or sets the Url.
///
public string Url { get; set; } = null!;
///
/// The method
///
public string Method { get; set; } = null!;
///
/// Gets or sets the headers.
///
public IDictionary? Headers { get; set; }
///
/// Gets or sets the body.
///
public string? Body { get; set; }
///
/// Gets or sets the body (as JSON object).
///
public object? BodyAsJson { get; set; }
///
/// Use ResponseMessage Transformer.
///
public bool? UseTransformer { get; set; }
///
/// Gets the type of the transformer.
///
public string? TransformerType { get; set; }
///
/// The ReplaceNodeOptions to use when transforming a JSON node.
///
public string? TransformerReplaceNodeOptions { get; set; }
///
/// Gets or sets the delay in milliseconds.
///
public int? Delay { get; set; }
///
/// Gets or sets the minimum random delay in milliseconds.
///
public int? MinimumRandomDelay { get; set; }
///
/// Gets or sets the maximum random delay in milliseconds.
///
public int? MaximumRandomDelay { get; set; }
}