mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
15 lines
412 B
TypeScript
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');
|
|
}
|
|
}
|