mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
18 lines
431 B
TypeScript
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;
|
|
}
|
|
}
|