1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

breach report audit api

This commit is contained in:
Kyle Spearrin
2018-06-28 11:57:29 -04:00
parent 569ad25208
commit a097ef9bea
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
export class BreachAccountResponse {
addedDate: Date;
breachDate: Date;
dataClasses: string[];
description: string;
domain: string;
isActive: boolean;
isVerified: boolean;
logoType: string;
modifiedDate: Date;
name: string;
pwnCount: number;
title: string;
constructor(response: any) {
this.addedDate = response.AddedDate;
this.breachDate = response.BreachDate;
this.dataClasses = response.DataClasses;
this.description = response.Description;
this.domain = response.Domain;
this.isActive = response.IsActive;
this.isVerified = response.IsVerified;
this.logoType = response.LogoType;
this.modifiedDate = response.ModifiedDate;
this.name = response.Name;
this.pwnCount = response.PwnCount;
this.title = response.Title;
}
}