1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00
Files
browser/src/models/data/policyData.ts
2020-01-28 22:24:02 -05:00

20 lines
495 B
TypeScript

import { PolicyResponse } from '../response/policyResponse';
import { PolicyType } from '../../enums/policyType';
export class PolicyData {
id: string;
organizationId: string;
type: PolicyType;
data: any;
enabled: boolean;
constructor(response: PolicyResponse) {
this.id = response.id;
this.organizationId = response.organizationId;
this.type = response.type;
this.data = response.data;
this.enabled = response.enabled;
}
}