mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-02-21 00:08:05 +01:00
* More nullable annotations * . * . * FIX * pact * . * p * xxx * ... * auth * array * ...
50 lines
1.2 KiB
C#
50 lines
1.2 KiB
C#
using System.Collections.Generic;
|
|
|
|
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 method
|
|
/// </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; }
|
|
} |