Add "ZoneSettings" extensions
This commit is contained in:
22
Extensions/Cloudflare.Zones/Models/Settings/TLS1_2Only.cs
Normal file
22
Extensions/Cloudflare.Zones/Models/Settings/TLS1_2Only.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace AMWD.Net.Api.Cloudflare.Zones
|
||||
{
|
||||
/// <summary>
|
||||
/// Only allows TLS1.2.
|
||||
/// </summary>
|
||||
public class TLS1_2Only : ZoneSettingBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TLS1_2Only"/> class.
|
||||
/// </summary>
|
||||
public TLS1_2Only()
|
||||
{
|
||||
Id = ZoneSettingId.TLS1_2Only;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Current value of the zone setting.
|
||||
/// </summary>
|
||||
[JsonProperty("value")]
|
||||
public OnOffState Value { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user