Add "ZoneSettings" extensions
This commit is contained in:
24
Extensions/Cloudflare.Zones/Models/Settings/WebP.cs
Normal file
24
Extensions/Cloudflare.Zones/Models/Settings/WebP.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace AMWD.Net.Api.Cloudflare.Zones
|
||||
{
|
||||
/// <summary>
|
||||
/// When the client requesting the image supports the WebP image codec, and WebP
|
||||
/// offers a performance advantage over the original image format, Cloudflare will
|
||||
/// serve a WebP version of the original image.
|
||||
/// </summary>
|
||||
public class WebP : ZoneSettingBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="WebP"/> class.
|
||||
/// </summary>
|
||||
public WebP()
|
||||
{
|
||||
Id = ZoneSettingId.WebP;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Current value of the zone setting.
|
||||
/// </summary>
|
||||
[JsonProperty("value")]
|
||||
public OnOffState Value { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user