mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-02-22 00:37:50 +01:00
* Add property UseHttp2 to WireMockServerArguments * . * additionalUrls * ok? * WireMockServerArguments * fx * AddProtoDefinition * ... * FIX * Always add the lifecycle hook to support dynamic mappings and proto definitions
36 lines
906 B
C#
36 lines
906 B
C#
// Copyright © WireMock.Net
|
|
|
|
using System;
|
|
|
|
namespace WireMock.Admin.Mappings;
|
|
|
|
/// <summary>
|
|
/// Status
|
|
/// </summary>
|
|
[FluentBuilder.AutoGenerateBuilder]
|
|
public class StatusModel
|
|
{
|
|
/// <summary>
|
|
/// The optional guid.
|
|
/// </summary>
|
|
public Guid? Guid { get; set; }
|
|
|
|
/// <summary>
|
|
/// The status.
|
|
/// </summary>
|
|
public string? Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// The error message.
|
|
/// </summary>
|
|
public string? Error { get; set; }
|
|
|
|
/// <summary>
|
|
/// Returns a string that represents the current status model, including its unique identifier, status, and error information.
|
|
/// </summary>
|
|
/// <returns>A string containing the values of the Guid, Status, and Error properties formatted for display.</returns>
|
|
public override string ToString()
|
|
{
|
|
return $"StatusModel [Guid={Guid}, Status={Status}, Error={Error}]";
|
|
}
|
|
} |