namespace AMWD.Net.Api.Cloudflare.Zones
{
///
/// Time (in seconds) that a resource will be ensured to remain on Cloudflare's
/// cache servers.
///
public class SchemasEdgeCacheTTL : ZoneSettingBase
{
///
/// Initializes a new instance of the class.
///
public SchemasEdgeCacheTTL()
{
Id = ZoneSettingId.SchemasEdgeCacheTTL;
}
///
/// Current value of the zone setting.
///
[JsonProperty("value")]
public EdgeCacheTTLValue Value { get; set; }
}
///
/// The time-to-live (TTL) of the challenge.
/// Soruce
///
public enum EdgeCacheTTLValue : int
{
///
/// 30 seconds.
///
HalfMinute = 30,
///
/// 1 minute.
///
Minute = 60,
///
/// 5 minutes.
///
FiveMinutes = 300,
///
/// 20 minutes.
///
TwentyMinutes = 1200,
///
/// 30 minutes.
///
HalfHour = 1800,
///
/// 1 hour.
///
Hour = 3600,
///
/// 2 hours.
///
TwoHours = 7200,
///
/// 3 hours.
///
ThreeHours = 10800,
///
/// 4 hours.
///
FourHours = 14400,
///
/// 5 hours.
///
FiveHours = 18000,
///
/// 8 hours.
///
EightHours = 28800,
///
/// 12 hours.
///
HalfDay = 43200,
///
/// 16 hours.
///
SixteenHours = 57600,
///
/// 20 hours.
///
TwentyHours = 72000,
///
/// 1 day.
///
Day = 86400,
///
/// 2 days.
///
TwoDays = 172800,
///
/// 3 days.
///
ThreeDays = 259200,
///
/// 4 days.
///
FourDays = 345600,
///
/// 5 days.
///
FiveDays = 432000,
///
/// 6 days.
///
SixDays = 518400,
///
/// 1 week.
///
Week = 604800,
}
}