1 export class PolicyMetadata {
2 public uniqueId: string;
4 public version: string;
5 public description: string;
6 public creationTime: number;
7 public modificationTime: number;
8 public highestVersion: boolean;
11 deserialize (response): PolicyMetadata {
12 this.uniqueId = response.uniqueId;
13 this.type = response.type;
14 this.version = response.version;
15 this.description = response.description;
16 this.creationTime = response.creationTime;
17 this.modificationTime = response.modificationTime;
18 this.highestVersion = response.highestVersion;
19 this.empty = response.empty;
25 export interface PolicyTpes {
26 policyTypes: Array<PolicyMetadata>;
27 excludeMapping: ExcludedPolicyTypes;
30 export interface ExcludedPolicyTypes {
31 componentType: string;
32 excludedPolicyTypes: Array<string>;