Class CapInfo
A CAP info block: the event, its timing and what to do, in one language.
public sealed record CapInfo : IEquatable<CapInfo>
- Inheritance
-
CapInfo
- Implements
- Inherited Members
Properties
Areas
The areas.
public IReadOnlyList<CapArea> Areas { get; init; }
Property Value
Categories
The categorys, e.g. Met.
public IReadOnlyList<string> Categories { get; init; }
Property Value
Certainty
The certainty as written, e.g. "Likely".
public string Certainty { get; init; }
Property Value
Description
The description, or null.
public string? Description { get; init; }
Property Value
Effective
The effective time, or null.
public DateTimeOffset? Effective { get; init; }
Property Value
Ends
When the hazard ends, as the NWS gives it apart from Expires
(which is when the message should be replaced): the GeoJSON ends,
or the CAP eventEndingTime parameter. null when not given.
public DateTimeOffset? Ends { get; init; }
Property Value
Event
The event, e.g. "Gale Warning".
public string Event { get; init; }
Property Value
EventCodes
The eventCodes.
public IReadOnlyList<CapValue> EventCodes { get; init; }
Property Value
Expires
The expires time, or null.
public DateTimeOffset? Expires { get; init; }
Property Value
Headline
The headline, or null.
public string? Headline { get; init; }
Property Value
Instruction
The instruction, or null.
public string? Instruction { get; init; }
Property Value
Language
The language, e.g. "en-US", or null.
public string? Language { get; init; }
Property Value
Onset
The onset time, or null.
public DateTimeOffset? Onset { get; init; }
Property Value
Parameters
The parameters.
public IReadOnlyList<CapValue> Parameters { get; init; }
Property Value
ResponseTypes
The responseTypes, e.g. Avoid.
public IReadOnlyList<string> ResponseTypes { get; init; }
Property Value
SenderName
The senderName, e.g. "NWS San Francisco CA", or null.
public string? SenderName { get; init; }
Property Value
Severity
The severity.
public CapSeverity Severity { get; init; }
Property Value
Urgency
The urgency as written, e.g. "Expected".
public string Urgency { get; init; }
Property Value
Web
The web link, or null.
public string? Web { get; init; }