1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00
Files
browser/src/models/response/deviceResponse.ts
Kyle Spearrin 166ed44392 Revert "reference barrels"
This reverts commit 2d9f53fbed.
2018-02-19 13:07:19 -05:00

18 lines
431 B
TypeScript

import { DeviceType } from '../../enums/deviceType';
export class DeviceResponse {
id: string;
name: number;
identifier: string;
type: DeviceType;
creationDate: string;
constructor(response: any) {
this.id = response.Id;
this.name = response.Name;
this.identifier = response.Identifier;
this.type = response.Type;
this.creationDate = response.CreationDate;
}
}