namespace WireMock.Org.Abstractions { public class MappingsResponse { /// /// The HTTP status code to be returned /// public int Status { get; set; } /// /// The HTTP status message to be returned /// public string StatusMessage { get; set; } /// /// Map of response headers to send /// public object Headers { get; set; } /// /// Extra request headers to send when proxying to another host. /// public object AdditionalProxyRequestHeaders { get; set; } /// /// The response body as a string. Only one of body, base64Body, jsonBody or bodyFileName may be specified. /// public string Body { get; set; } /// /// The response body as a base64 encoded string (useful for binary content). Only one of body, base64Body, jsonBody or bodyFileName may be specified. /// public string Base64Body { get; set; } /// /// The response body as a JSON object. Only one of body, base64Body, jsonBody or bodyFileName may be specified. /// public object JsonBody { get; set; } /// /// The path to the file containing the response body, relative to the configured file root. Only one of body, base64Body, jsonBody or bodyFileName may be specified. /// public string BodyFileName { get; set; } /// /// The fault to apply (instead of a full, valid response). /// public string Fault { get; set; } /// /// Number of milliseconds to delay be before sending the response. /// public int FixedDelayMilliseconds { get; set; } /// /// The delay distribution. Valid property configuration is either median/sigma/type or lower/type/upper. /// public object DelayDistribution { get; set; } /// /// Read-only flag indicating false if this was the default, unmatched response. Not present otherwise. /// public bool FromConfiguredStub { get; set; } /// /// The base URL of the target to proxy matching requests to. /// public string ProxyBaseUrl { get; set; } /// /// Parameters to apply to response transformers. /// public object TransformerParameters { get; set; } /// /// List of names of transformers to apply to this response. /// public string[] Transformers { get; set; } } }