AttackSimulation class abstract

A scripted attack simulation run. Brands rehearse their fraud response against realistic attack patterns; the platform produces real verification sessions, real signals, and real alerts that flow through the normal pipeline.

Implemented types

Constructors

AttackSimulation({UuidValue? id, required UuidValue workspaceId, required SimulationType type, SimulationStatus? status, String? label, String? paramsJson, int? progress, int? totalSteps, String? summaryJson, required String createdBy, DateTime? createdAt, DateTime? startedAt, DateTime? completedAt, DateTime? cancelledAt})
factory
AttackSimulation.fromJson(Map<String, dynamic> jsonSerialization)
factory

Properties

cancelledAt ↔ DateTime?
getter/setter pair
completedAt ↔ DateTime?
getter/setter pair
createdAt ↔ DateTime
getter/setter pair
createdBy ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ UuidValue?
The database id, set if the object has been inserted into the database or if it has been fetched from the database. Otherwise, the id will be null.
getter/setter pair
label ↔ String?
getter/setter pair
paramsJson ↔ String?
Simulation specific parameters serialized as JSON.
getter/setter pair
progress ↔ int
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startedAt ↔ DateTime?
getter/setter pair
status ↔ SimulationStatus
getter/setter pair
summaryJson ↔ String?
Result summary serialized as JSON.
getter/setter pair
totalSteps ↔ int
getter/setter pair
type ↔ SimulationType
getter/setter pair
workspaceId ↔ UuidValue
getter/setter pair

Methods

copyWith({UuidValue? id, UuidValue? workspaceId, SimulationType? type, SimulationStatus? status, String? label, String? paramsJson, int? progress, int? totalSteps, String? summaryJson, String? createdBy, DateTime? createdAt, DateTime? startedAt, DateTime? completedAt, DateTime? cancelledAt}) → AttackSimulation
Returns a shallow copy of this AttackSimulation with some or all fields replaced by the given arguments.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a serialized JSON structure of the model which also includes fields used by the database.
override
toJsonForProtocol() → Map<String, dynamic>
Returns a JSON structure of the model, optimized for Protocol communication.
override
toString() → String
A string representation of this object.
override

Operators

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