ViolationEvent class
Information about a Device Defender security profile behavior violation.
Constructors
- ViolationEvent.new({Behavior? behavior, MetricValue? metricValue, String? securityProfileName, String? thingName, ViolationEventAdditionalInfo? violationEventAdditionalInfo, DateTime? violationEventTime, ViolationEventType? violationEventType, String? violationId})
-
ViolationEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- behavior → Behavior?
-
The behavior that was violated.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metricValue → MetricValue?
-
The value of the metric (the measurement).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityProfileName → String?
-
The name of the security profile whose behavior was violated.
final
- thingName → String?
-
The name of the thing responsible for the violation event.
final
- violationEventAdditionalInfo → ViolationEventAdditionalInfo?
-
The details of a violation event.
final
- violationEventTime → DateTime?
-
The time the violation event occurred.
final
- violationEventType → ViolationEventType?
-
The type of violation event.
final
- violationId → String?
-
The ID of the violation event.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited