AnalysisAlertRuleArtifact class

Artifact defining an alert rule with condition and severity.

Inheritance

Constructors

AnalysisAlertRuleArtifact({required String artifactId, required String name, required AnalysisArtifactProvenance provenance, required String condition, required AnalysisAlertSeverity severity, String? actionHook})
AnalysisAlertRuleArtifact.fromJson(Map<String, dynamic> json)
Create from JSON.
factory

Properties

actionHook String?
Optional webhook or action hook URI to invoke on trigger.
final
artifactId String
Unique artifact identifier.
finalinherited
condition String
Condition expression (e.g., "temperature > 80").
final
hashCode int
The hash code for this object.
no setterinherited
name String
Human-readable artifact name.
finalinherited
provenance AnalysisArtifactProvenance
Provenance metadata describing origin and lineage.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity AnalysisAlertSeverity
Alert severity level.
final
type AnalysisArtifactType
Type of this artifact.
finalinherited

Methods

baseToJson() Map<String, dynamic>
Serialize base fields shared by all artifact types.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JSON. Subclasses must implement this.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited