Add "ZoneSettings" extensions
This commit is contained in:
26
Extensions/Cloudflare.Zones/Models/ZoneSettingBase.cs
Normal file
26
Extensions/Cloudflare.Zones/Models/ZoneSettingBase.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
namespace AMWD.Net.Api.Cloudflare.Zones
|
||||
{
|
||||
/// <summary>
|
||||
/// A Cloudflare zone setting.
|
||||
/// </summary>
|
||||
public abstract class ZoneSettingBase
|
||||
{
|
||||
/// <summary>
|
||||
/// The ID of the zone setting.
|
||||
/// </summary>
|
||||
[JsonProperty("id")]
|
||||
public ZoneSettingId? Id { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not this setting can be modified for this zone (based on your Cloudflare plan level).
|
||||
/// </summary>
|
||||
[JsonProperty("editable")]
|
||||
public bool? Editable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The last time this setting was modified.
|
||||
/// </summary>
|
||||
[JsonProperty("modified_on")]
|
||||
public DateTime? ModifiedOn { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user