mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-24 21:42:23 +00:00
20 lines
546 B
TypeScript
20 lines
546 B
TypeScript
import ScanResultEntry from '~/models/scan-result-entry';
|
|
|
|
export default class ScanResultEntryFlattened implements ScanResultEntry {
|
|
readonly id: string;
|
|
readonly completed: boolean;
|
|
readonly succeeded: boolean | null;
|
|
readonly duration: number;
|
|
readonly threats: string[];
|
|
|
|
constructor(id: string, completed: boolean, succeeded: boolean | null, duration: number, threats: string[]) {
|
|
this.id = id;
|
|
this.completed = completed;
|
|
this.succeeded = succeeded;
|
|
this.duration = duration;
|
|
this.threats = threats;
|
|
}
|
|
|
|
|
|
}
|