1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00
Files
browser/src/models/response/globalDomainResponse.ts
Kyle Spearrin 7252e7cad0 updates
2019-04-16 23:32:02 -04:00

15 lines
412 B
TypeScript

import { BaseResponse } from './baseResponse';
export class GlobalDomainResponse extends BaseResponse {
type: number;
domains: string[];
excluded: boolean;
constructor(response: any) {
super(response);
this.type = this.getResponseProperty('Type');
this.domains = this.getResponseProperty('Domains');
this.excluded = this.getResponseProperty('Excluded');
}
}