// Copyright © WireMock.Net
namespace WireMock.Org.Abstractions
{
public class PostAdminMappingsResult
{
///
/// This stub mapping's unique identifier
///
public string Id { get; set; }
///
/// Alias for the id
///
public string Uuid { get; set; }
///
/// The stub mapping's name
///
public string Name { get; set; }
public WireMockOrgRequest Request { get; set; }
public WireMockOrgResponse Response { get; set; }
///
/// Indicates that the stub mapping should be persisted immediately on create/update/delete and survive resets to default.
///
public bool Persistent { get; set; }
///
/// This stub mapping's priority relative to others. 1 is highest.
///
public int Priority { get; set; }
///
/// The name of the scenario that this stub mapping is part of
///
public string ScenarioName { get; set; }
///
/// The required state of the scenario in order for this stub to be matched.
///
public string RequiredScenarioState { get; set; }
///
/// The new state for the scenario to be updated to after this stub is served.
///
public string NewScenarioState { get; set; }
///
/// A map of the names of post serve action extensions to trigger and their parameters.
///
public object PostServeActions { get; set; }
///
/// Arbitrary metadata to be used for e.g. tagging, documentation. Can also be used to find and remove stubs.
///
public object Metadata { get; set; }
}
}