using System.Collections.Generic; namespace WireMock.Admin.Mappings { /// /// ResponseModel /// [FluentBuilder.AutoGenerateBuilder] public class ResponseModel { /// /// Gets or sets the HTTP status. /// public object? 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 (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 ResponseMessage Transformer. /// public bool? UseTransformer { get; set; } /// /// Gets the type of the transformer. /// public string? TransformerType { get; set; } /// /// Use the Handlebars transformer for the content from the referenced BodyAsFile. /// public bool? UseTransformerForBodyAsFile { get; set; } /// /// The ReplaceNodeOptions to use when transforming a JSON node. /// public string? TransformerReplaceNodeOptions { 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 minimum random delay in milliseconds. /// public int? MinimumRandomDelay { get; set; } /// /// Gets or sets the maximum random delay in milliseconds. /// public int? MaximumRandomDelay { 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; } /// /// Gets or sets the fault. /// public FaultModel? Fault { get; set; } /// /// Gets or sets the WebProxy settings. /// public WebProxyModel? WebProxy { get; set; } } }