using System; using System.Collections.Generic; namespace AMWD.Net.Api.Cloudflare.Zones { /// /// Request to update security.txt /// public class UpdateSecurityTxtRequest(string zoneId) { /// /// The zone identifier. /// public string ZoneId { get; set; } = zoneId; /// /// Gets or sets the acknowledgements. /// /// /// Example: https://example.com/hall-of-fame.html /// public IList? Acknowledgements { get; set; } /// /// Gets or sets the canonical. /// /// /// Example: https://www.example.com/.well-known/security.txt /// public IList? Canonical { get; set; } /// /// Gets or sets the contact. /// /// /// Examples: /// /// mailto:security@example.com /// tel:+1-201-555-0123 /// https://example.com/security-contact.html /// /// public IList? Contact { get; set; } /// /// Gets or sets a value indicating whether this security.txt is enabled. /// public bool? Enabled { get; set; } /// /// Gets or sets the encryption. /// /// /// Examples: /// /// https://example.com/pgp-key.txt /// dns:5d2d37ab76d47d36._openpgpkey.example.com?type=OPENPGPKEY /// openpgp4fpr:5f2de5521c63a801ab59ccb603d49de44b29100f /// /// public IList? Encryption { get; set; } /// /// Gets or sets the expires. /// /// /// NOTE: The value will be converted to UTC when the is not . /// public DateTime? Expires { get; set; } /// /// Gets or sets the hiring. /// /// /// Example: https://example.com/jobs.html /// public IList? Hiring { get; set; } /// /// Gets or sets the policies. /// /// /// Example: https://example.com/disclosure-policy.html /// public IList? Policy { get; set; } /// /// Gets or sets the preferred languages. /// /// /// Examples: /// /// en /// es /// fr /// /// public IList? PreferredLanguages { get; set; } } }