using System.Collections.Generic;
using WireMock.Types;
namespace WireMock.Admin.Mappings
{
///
/// RequestModel
///
[FluentBuilder.AutoGenerateBuilder]
public class WebhookRequestModel
{
///
/// Gets or sets the Url.
///
public string Url { get; set; }
///
/// The method
///
public string Method { get; set; }
///
/// 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; }
}
}