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:
29
src/models/response/breachAccountResponse.ts
Normal file
29
src/models/response/breachAccountResponse.ts
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user