using System.Collections.Generic;
namespace WireMock.Admin.Mappings
{
///
/// ResponseModel
///
public class ResponseModel
{
///
/// Gets or sets the HTTP status.
///
public int? StatusCode { get; set; }
///
/// Gets or sets the body destination (SameAsSource, String or Bytes).
///
public string BodyDestination { get; set; }
///
/// Gets or sets the body.
///
public string Body { get; set; }
///
/// Gets or sets the body.
///
public string BodyFromBase64 { get; set; }
///
/// Gets or sets the body (as JSON object).
///
public object BodyAsJson { get; set; }
///
/// Gets or sets a value indicating whether child objects to be indented according to the Newtonsoft.Json.JsonTextWriter.Indentation and Newtonsoft.Json.JsonTextWriter.IndentChar settings.
///
public bool? BodyAsJsonIndented { get; set; }
///
/// Gets or sets the body (as bytearray).
///
public byte[] BodyAsBytes { get; set; }
///
/// Gets or sets the body as a file.
///
public string BodyAsFile { get; set; }
///
/// Is the body as file cached?
///
public bool? BodyAsFileIsCached { get; set; }
///
/// Gets or sets the body encoding.
///
public EncodingModel BodyEncoding { get; set; }
///
/// Use Handlebars transformer.
///
public bool? UseTransformer { get; set; }
///
/// Gets or sets the headers.
///
public IDictionary Headers { get; set; }
///
/// Gets or sets the Headers (Raw).
///
public string HeadersRaw { get; set; }
///
/// Gets or sets the delay in milliseconds.
///
public int? Delay { get; set; }
///
/// Gets or sets the Proxy URL.
///
public string ProxyUrl { get; set; }
///
/// The client X509Certificate2 Thumbprint or SubjectName to use.
///
public string X509Certificate2ThumbprintOrSubjectName { get; set; }
}
}