mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-31 22:23:05 +02:00
* Add TIOBE + include SonarAnalyzer.CSharp * . * cp * Copyright © WireMock.Net * more fixes * fix * xpath * if (Matchers == null || !Matchers.Any()) * if (Matchers != null) * ? * . * .
43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
// Copyright © WireMock.Net
|
|
|
|
using System.Collections.Generic;
|
|
using WireMock.Types;
|
|
using WireMock.Util;
|
|
|
|
namespace WireMock.Models;
|
|
|
|
/// <summary>
|
|
/// WebhookRequest
|
|
/// </summary>
|
|
public class WebhookRequest : IWebhookRequest
|
|
{
|
|
/// <inheritdoc />
|
|
public string Url { get; set; } = null!;
|
|
|
|
/// <inheritdoc />
|
|
public string Method { get; set; } = null!;
|
|
|
|
/// <inheritdoc />
|
|
public IDictionary<string, WireMockList<string>>? Headers { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public IBodyData? BodyData { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public bool? UseTransformer { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public TransformerType TransformerType { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public ReplaceNodeOptions TransformerReplaceNodeOptions { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public int? Delay { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public int? MinimumRandomDelay { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public int? MaximumRandomDelay { get; set; }
|
|
} |