using System.Collections.Generic;
namespace WireMock.Admin.Mappings;
///
/// RequestModel
///
[FluentBuilder.AutoGenerateBuilder]
public class RequestModel
{
///
/// Gets or sets the ClientIP. (Can be a string or a ClientIPModel)
///
public object? ClientIP { get; set; }
///
/// Gets or sets the Path. (Can be a string or a PathModel)
///
public object? Path { get; set; }
///
/// Gets or sets the Url. (Can be a string or a UrlModel)
///
public object? Url { get; set; }
///
/// The methods
///
public string[]? Methods { get; set; }
///
/// The HTTP Version
///
public string? HttpVersion { get; set; }
///
/// Reject on match for Methods.
///
public bool? MethodsRejectOnMatch { get; set; }
///
/// The Operator to use when Methods are defined. [Optional]
/// - null = Same as "or".
/// - "or" = Only one method should match.
/// - "and" = All methods should match.
/// - "average" = The average value from all methods.
///
public string? MethodsMatchOperator { get; set; }
///
/// Gets or sets the Headers.
///
public IList? Headers { get; set; }
///
/// Gets or sets the Cookies.
///
public IList? Cookies { get; set; }
///
/// Gets or sets the Params.
///
public IList? Params { get; set; }
///
/// Gets or sets the body.
///
public BodyModel? Body { get; set; }
}