mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-17 07:36:47 +01:00
52 lines
1.3 KiB
C#
52 lines
1.3 KiB
C#
using System.Collections.Generic;
|
|
using WireMock.Types;
|
|
|
|
namespace WireMock.Admin.Mappings
|
|
{
|
|
/// <summary>
|
|
/// RequestModel
|
|
/// </summary>
|
|
[FluentBuilder.AutoGenerateBuilder]
|
|
public class WebhookRequestModel
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the Url.
|
|
/// </summary>
|
|
public string Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// The methods
|
|
/// </summary>
|
|
public string Method { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the headers.
|
|
/// </summary>
|
|
public IDictionary<string, string> Headers { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the body.
|
|
/// </summary>
|
|
public string Body { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the body (as JSON object).
|
|
/// </summary>
|
|
public object BodyAsJson { get; set; }
|
|
|
|
/// <summary>
|
|
/// Use ResponseMessage Transformer.
|
|
/// </summary>
|
|
public bool? UseTransformer { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets the type of the transformer.
|
|
/// </summary>
|
|
public string TransformerType { get; set; }
|
|
|
|
/// <summary>
|
|
/// The ReplaceNodeOptions to use when transforming a JSON node.
|
|
/// </summary>
|
|
public string TransformerReplaceNodeOptions { get; set; }
|
|
}
|
|
} |