mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-16 08:26:46 +01:00
41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
using System.Text;
|
|
using WireMock.Types;
|
|
|
|
namespace WireMock.Util
|
|
{
|
|
/// <summary>
|
|
/// BodyData
|
|
/// </summary>
|
|
public class BodyData : IBodyData
|
|
{
|
|
/// <inheritdoc cref="IBodyData.Encoding" />
|
|
public Encoding Encoding { get; set; }
|
|
|
|
/// <inheritdoc cref="IBodyData.BodyAsBytes" />
|
|
public string BodyAsString { get; set; }
|
|
|
|
/// <inheritdoc cref="IBodyData.BodyAsJson" />
|
|
public object BodyAsJson { get; set; }
|
|
|
|
/// <inheritdoc cref="IBodyData.BodyAsBytes" />
|
|
public byte[] BodyAsBytes { get; set; }
|
|
|
|
/// <inheritdoc cref="IBodyData.BodyAsJsonIndented" />
|
|
public bool? BodyAsJsonIndented { get; set; }
|
|
|
|
/// <inheritdoc cref="IBodyData.BodyAsFile" />
|
|
public string BodyAsFile { get; set; }
|
|
|
|
/// <inheritdoc cref="IBodyData.BodyAsFileIsCached" />
|
|
public bool? BodyAsFileIsCached { get; set; }
|
|
|
|
/// <inheritdoc cref="IBodyData.DetectedBodyType" />
|
|
public BodyType DetectedBodyType { get; set; }
|
|
|
|
/// <inheritdoc cref="IBodyData.DetectedBodyTypeFromContentType" />
|
|
public BodyType DetectedBodyTypeFromContentType { get; set; }
|
|
|
|
/// <inheritdoc cref="IRequestMessage.DetectedCompression" />
|
|
public string DetectedCompression { get; set; }
|
|
}
|
|
} |