namespace AMWD.Net.Api.Cloudflare.Zones { /// /// Specify how long a visitor is allowed access to your site after successfully /// completing a challenge (such as a CAPTCHA). After the TTL has expired the /// visitor will have to complete a new challenge. We recommend a 15 - 45 minute /// setting and will attempt to honor any setting above 45 minutes. /// (). /// public class ChallengeTTL : ZoneSettingBase { /// /// Initializes a new instance of the class. /// public ChallengeTTL() { Id = ZoneSettingId.ChallengeTTL; } /// /// Current value of the zone setting. /// [JsonProperty("value")] public ChallengeTTLValue Value { get; set; } } /// /// The time-to-live (TTL) of the challenge. /// Soruce /// public enum ChallengeTTLValue : int { /// /// 5 minutes. /// FiveMinutes = 300, /// /// 15 minutes. /// FifteenMinutes = 900, /// /// 30 minutes. /// HalfHour = 1800, /// /// 45 minutes. /// ThreeQuartersHour = 2700, /// /// 1 hour. /// Hour = 3600, /// /// 2 hours. /// TwoHours = 7200, /// /// 3 hours. /// ThreeHours = 10800, /// /// 4 hours. /// FourHours = 14400, /// /// 8 hours. /// EightHours = 28800, /// /// 16 hours. /// SixteenHours = 57600, /// /// 1 day. /// Day = 86400, /// /// 1 week. /// Week = 604800, /// /// 30 days. /// Month = 2592000, /// /// 365 days. /// Year = 31536000 } }