mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-02-23 02:34:55 +01:00
* refactor * rename api * -preview-01 * logger * move * RandomDataGenerator.Net * . * ISettings * renames... * refactor CommandlineParser logic * remove standalone * Remove Interfaces * Update tests * WireMock.Net.StandAlone * . * fix * . * _settings * Admin * WireMock.Net.Abstractions * fix build * rename WireMockServer * fix compile errors
50 lines
1.3 KiB
C#
50 lines
1.3 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace WireMock.Admin.Mappings
|
|
{
|
|
/// <summary>
|
|
/// RequestModel
|
|
/// </summary>
|
|
public class RequestModel
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the ClientIP. (Can be a string or a ClientIPModel)
|
|
/// </summary>
|
|
public object ClientIP { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Path. (Can be a string or a PathModel)
|
|
/// </summary>
|
|
public object Path { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Url. (Can be a string or a UrlModel)
|
|
/// </summary>
|
|
public object Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// The methods
|
|
/// </summary>
|
|
public string[] Methods { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Headers.
|
|
/// </summary>
|
|
public IList<HeaderModel> Headers { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Cookies.
|
|
/// </summary>
|
|
public IList<CookieModel> Cookies { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Params.
|
|
/// </summary>
|
|
public IList<ParamModel> Params { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the body.
|
|
/// </summary>
|
|
public BodyModel Body { get; set; }
|
|
}
|
|
} |