mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-02-24 03:04:51 +01:00
* Add TIOBE + include SonarAnalyzer.CSharp * . * cp * Copyright © WireMock.Net * more fixes * fix * xpath * if (Matchers == null || !Matchers.Any()) * if (Matchers != null) * ? * . * .
26 lines
785 B
C#
26 lines
785 B
C#
// Copyright © WireMock.Net
|
|
|
|
using System;
|
|
|
|
namespace WireMock.Models;
|
|
|
|
/// <summary>
|
|
/// TimeSettings: Start, End and TTL
|
|
/// </summary>
|
|
public interface ITimeSettings
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the DateTime from which this mapping should be used. In case this is not defined, it's used (default behavior).
|
|
/// </summary>
|
|
DateTime? Start { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the DateTime from until this mapping should be used. In case this is not defined, it's used forever (default behavior).
|
|
/// </summary>
|
|
DateTime? End { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the TTL (Time To Live) in seconds for this mapping. In case this is not defined, it's used (default behavior).
|
|
/// </summary>
|
|
int? TTL { get; set; }
|
|
} |