1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-29 14:43:17 +00:00
Files
jslib/src/models/response/twoFactorEmailResponse.ts
2019-03-01 00:13:37 -05:00

13 lines
331 B
TypeScript

import { BaseResponse } from './baseResponse';
export class TwoFactorEmailResponse extends BaseResponse {
enabled: boolean;
email: string;
constructor(response: any) {
super(response);
this.enabled = this.getResponseProperty('Enabled');
this.email = this.getResponseProperty('Email');
}
}