using System.Collections.Generic;
using WireMock.Admin.Mappings;
using WireMock.Types;
namespace WireMock.Admin.Requests
{
///
/// Response MessageModel
///
[FluentBuilder.AutoGenerateBuilder]
public class LogResponseModel
{
///
/// Gets or sets the status code.
///
public object StatusCode { get; set; } = 200;
///
/// Gets the headers.
///
public IDictionary> Headers { get; set; }
///
/// Gets or sets the body destination (SameAsSource, String or Bytes).
///
public string BodyDestination { get; set; }
///
/// The body (as string).
///
public string Body { get; set; }
///
/// The body (as JSON object).
///
public object BodyAsJson { get; set; }
///
/// The body (as bytearray).
///
public byte[] BodyAsBytes { get; set; }
///
/// Gets or sets the body as file.
///
public string BodyAsFile { get; set; }
///
/// Is the body as file cached?
///
public bool? BodyAsFileIsCached { get; set; }
///
/// Gets or sets the original body.
///
public string BodyOriginal { get; set; }
///
/// Gets or sets the body.
///
public EncodingModel BodyEncoding { get; set; }
///
/// The detected body type (detection based on body content).
///
public BodyType DetectedBodyType { get; set; }
///
/// The detected body type (detection based on Content-Type).
///
public BodyType DetectedBodyTypeFromContentType { get; set; }
///
/// The FaultType.
///
public string FaultType { get; set; }
///
/// Gets or sets the Fault percentage.
///
public double? FaultPercentage { get; set; }
}
}