Class AlertConfigListResponse
A page of alert configurations.
Inherited Members
Namespace: Seclai.Models
Assembly: Seclai.dll
Syntax
public sealed class AlertConfigListResponse
Remarks
The top-level key is version-gated. By default the configurations arrive
under configs alongside total; once
ApiVersion is 2026-07-27 or later the
endpoint returns the canonical {data, pagination} envelope instead.
Use Items to read whichever arrived.
Properties
Configs
Legacy key. Empty once the canonical envelope is in use.
Declaration
[JsonPropertyName("configs")]
public List<AlertConfigResponse> Configs { get; set; }
Property Value
| Type | Description |
|---|---|
| List<AlertConfigResponse> |
Data
Canonical key. Empty on the legacy shape.
Declaration
[JsonPropertyName("data")]
public List<AlertConfigResponse> Data { get; set; }
Property Value
| Type | Description |
|---|---|
| List<AlertConfigResponse> |
Items
The configurations, from whichever key the response used.
Declaration
[JsonIgnore]
public List<AlertConfigResponse> Items { get; }
Property Value
| Type | Description |
|---|---|
| List<AlertConfigResponse> |
Pagination
Canonical pagination metadata. Null on the legacy shape.
Declaration
[JsonPropertyName("pagination")]
public PaginationResponse? Pagination { get; set; }
Property Value
| Type | Description |
|---|---|
| PaginationResponse |
Total
Total configurations on the legacy shape. Zero once Pagination is set.
Declaration
[JsonPropertyName("total")]
public int Total { get; set; }
Property Value
| Type | Description |
|---|---|
| int |