Added zone security.txt functions

This commit is contained in:
2024-11-12 08:13:06 +01:00
parent 815c9e3e9d
commit 9322f2ba6a
7 changed files with 463 additions and 2 deletions

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
namespace AMWD.Net.Api.Cloudflare.Zones.Internals.Requests
{
internal class InternalUpdateSecurityTxtRequest
{
[JsonProperty("acknowledgements")]
public IList<string>? Acknowledgements { get; set; }
[JsonProperty("canonical")]
public IList<string>? Canonical { get; set; }
[JsonProperty("contact")]
public IList<string>? Contact { get; set; }
[JsonProperty("enabled")]
public bool? Enabled { get; set; }
[JsonProperty("encryption")]
public IList<string>? Encryption { get; set; }
[JsonProperty("expires")]
public DateTime? Expires { get; set; }
[JsonProperty("hiring")]
public IList<string>? Hiring { get; set; }
[JsonProperty("policy")]
public IList<string>? Policy { get; set; }
[JsonProperty("preferredLanguages")]
public string? PreferredLanguages { get; set; }
}
}