using System;
using System.Collections.Generic;
using WireMock.Admin.Mappings;
using WireMock.Types;
namespace WireMock.Admin.Requests
{
///
/// RequestMessage Model
///
[FluentBuilder.AutoGenerateBuilder]
public class LogRequestModel
{
///
/// The Client IP Address.
///
public string ClientIP { get; set; }
///
/// The DateTime.
///
public DateTime DateTime { get; set; }
///
/// The Path.
///
public string Path { get; set; }
///
/// The Absolute Path.
///
public string AbsolutePath { get; set; }
///
/// Gets the url (relative).
///
public string Url { get; set; }
///
/// The absolute URL.
///
public string AbsoluteUrl { get; set; }
///
/// The ProxyUrl (if a proxy is used).
///
public string ProxyUrl { get; set; }
///
/// The query.
///
public IDictionary> Query { get; set; }
///
/// The method.
///
public string Method { get; set; }
///
/// The Headers.
///
public IDictionary> Headers { get; set; }
///
/// The Cookies.
///
public IDictionary Cookies { 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; }
///
/// The body encoding.
///
public EncodingModel BodyEncoding { get; set; }
///
/// The DetectedBodyType, valid values are:
///
/// - None
/// - String
/// - Json
/// - Bytes
///
public string DetectedBodyType { get; set; }
///
/// The DetectedBodyTypeFromContentType, valid values are:
///
/// - None
/// - String
/// - Json
/// - Bytes
///
public string DetectedBodyTypeFromContentType { get; set; }
}
}