mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-15 14:53:37 +01:00
* Add TIOBE + include SonarAnalyzer.CSharp * . * cp * Copyright © WireMock.Net * more fixes * fix * xpath * if (Matchers == null || !Matchers.Any()) * if (Matchers != null) * ? * . * .
63 lines
1.5 KiB
C#
63 lines
1.5 KiB
C#
// Copyright © WireMock.Net
|
|
|
|
using System.Collections.Generic;
|
|
using WireMock.Types;
|
|
using WireMock.Util;
|
|
|
|
namespace WireMock.Models;
|
|
|
|
/// <summary>
|
|
/// IWebhookRequest
|
|
/// </summary>
|
|
public interface IWebhookRequest
|
|
{
|
|
/// <summary>
|
|
/// The Webhook Url.
|
|
/// </summary>
|
|
string Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// The method to use.
|
|
/// </summary>
|
|
string Method { get; set; }
|
|
|
|
/// <summary>
|
|
/// The Headers to send.
|
|
/// </summary>
|
|
IDictionary<string, WireMockList<string>>? Headers { get; }
|
|
|
|
/// <summary>
|
|
/// The body to send.
|
|
/// </summary>
|
|
IBodyData? BodyData { get; set; }
|
|
|
|
/// <summary>
|
|
/// Use Transformer.
|
|
/// </summary>
|
|
bool? UseTransformer { get; set; }
|
|
|
|
/// <summary>
|
|
/// The transformer type.
|
|
/// </summary>
|
|
TransformerType TransformerType { get; set; }
|
|
|
|
/// <summary>
|
|
/// The ReplaceNodeOptions to use when transforming a JSON node.
|
|
/// </summary>
|
|
ReplaceNodeOptions TransformerReplaceNodeOptions { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the delay in milliseconds.
|
|
/// </summary>
|
|
int? Delay { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the minimum random delay in milliseconds.
|
|
/// </summary>
|
|
int? MinimumRandomDelay { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the maximum random delay in milliseconds.
|
|
/// </summary>
|
|
int? MaximumRandomDelay { get; set; }
|
|
} |