namespace AMWD.Net.Api.Cloudflare.Zones { /// /// Apply custom caching based on the option selected. /// public class AutomaticPlatformOptimization { /// /// Indicates whether or not /// cache by device type /// is enabled. /// [JsonProperty("cache_by_device_type")] public bool? CacheByDeviceType { get; set; } /// /// Indicates whether or not Cloudflare proxy is enabled. /// [JsonProperty("cf")] public bool? CloudflareProxyEnabled { get; set; } /// /// Indicates whether or not Automatic Platform Optimization is enabled. /// [JsonProperty("enabled")] public bool? Enabled { get; set; } /// /// An array of hostnames where Automatic Platform Optimization for WordPress is activated. /// [JsonProperty("hostnames")] public IReadOnlyCollection? Hostnames { get; set; } /// /// Indicates whether or not site is powered by WordPress. /// [JsonProperty("wordpress")] public bool? WordPress { get; set; } /// /// Indicates whether or not /// Cloudflare for WordPress plugin /// is installed. /// [JsonProperty("wp_plugin")] public bool? WpPlugin { get; set; } } }