mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-19 08:37:23 +01:00
26 lines
895 B
C#
26 lines
895 B
C#
using System;
|
|
|
|
namespace WireMock.Models
|
|
{
|
|
/// <summary>
|
|
/// TimeSettingsModel: Start, End and TTL
|
|
/// </summary>
|
|
[FluentBuilder.AutoGenerateBuilder]
|
|
public class TimeSettingsModel
|
|
{
|
|
/// <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>
|
|
public 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>
|
|
public 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>
|
|
public int? TTL { get; set; }
|
|
}
|
|
} |