import { BaseResponse } from "./baseResponse" ; import { TwoFactorProviderType } from "../../enums/twoFactorProviderType" ; export class TwoFactorProviderResponse extends BaseResponse { enabled : boolean ; type : TwoFactorProviderType ; constructor ( response ) { super ( response ) ; this . enabled = this . getResponseProperty ( "Enabled" ) ; this . type = this . getResponseProperty ( "Type" ) ; } }