Class Lockdown
- Namespace
- Cloudflare.NET.Security.Firewall.Models
- Assembly
- Cloudflare.NET.dll
Represents a Zone Lockdown rule returned by the Cloudflare API.
public record Lockdown : IEquatable<Lockdown>
- Inheritance
-
Lockdown
- Implements
- Inherited Members
Constructors
Lockdown(string, IReadOnlyList<string>, IReadOnlyList<LockdownConfiguration>, bool, string?, DateTimeOffset, DateTimeOffset)
Represents a Zone Lockdown rule returned by the Cloudflare API.
public Lockdown(string Id, IReadOnlyList<string> Urls, IReadOnlyList<LockdownConfiguration> Configurations, bool Paused, string? Description, DateTimeOffset CreatedOn, DateTimeOffset ModifiedOn)
Parameters
IdstringUrlsIReadOnlyList<string>ConfigurationsIReadOnlyList<LockdownConfiguration>PausedboolDescriptionstringCreatedOnDateTimeOffsetModifiedOnDateTimeOffset
Properties
Configurations
[JsonPropertyName("configurations")]
public IReadOnlyList<LockdownConfiguration> Configurations { get; init; }
Property Value
CreatedOn
[JsonPropertyName("created_on")]
public DateTimeOffset CreatedOn { get; init; }
Property Value
Description
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
Id
[JsonPropertyName("id")]
public string Id { get; init; }
Property Value
ModifiedOn
[JsonPropertyName("modified_on")]
public DateTimeOffset ModifiedOn { get; init; }
Property Value
Paused
[JsonPropertyName("paused")]
public bool Paused { get; init; }
Property Value
Urls
[JsonPropertyName("urls")]
public IReadOnlyList<string> Urls { get; init; }