mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
19 lines
460 B
TypeScript
19 lines
460 B
TypeScript
import { PolicyType } from "../../enums/policyType";
|
|
import { PolicyResponse } from "../response/policyResponse";
|
|
|
|
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;
|
|
}
|
|
}
|