namespace AMWD.Net.Api.Cloudflare.Dns
{
///
/// A Cloudflare internal DNS view.
///
public class InternalDnsView
{
///
/// Initializes a new instance of the class.
///
/// The identifier.
/// The name of the view.
public InternalDnsView(string id, string name)
{
Id = id;
Name = name;
}
///
/// The identifier.
///
[JsonProperty("id")]
public string Id { get; set; }
///
/// When the view was created.
///
[JsonProperty("created_time")]
public DateTime? CreatedTime { get; set; }
///
/// When the view was last modified.
///
[JsonProperty("modified_time")]
public DateTime? ModifiedTime { get; set; }
///
/// The name of the view.
///
[JsonProperty("name")]
public string Name { get; set; }
///
/// The list of zones linked to this view.
///
[JsonProperty("zones")]
public IReadOnlyCollection ZoneIds { get; set; } = [];
}
}