blob: 3f489bbaabbd9e6edab42cf23d0c65cf330c1a08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
export class PolicyMetadata {
public uniqueId: string;
public name:string;
public icon:string;
public type: string;
public version: string;
public description: string;
public creationTime: number;
public modificationTime: number;
public highestVersion: boolean;
public empty: boolean;
deserialize (response): PolicyMetadata {
this.uniqueId = response.uniqueId;
this.type = response.type;
this.name = response.name;
this.icon = response.icon;
this.version = response.version;
this.description = response.description;
this.creationTime = response.creationTime;
this.modificationTime = response.modificationTime;
this.highestVersion = response.highestVersion;
this.empty = response.empty;
return this;
}
}
export interface PolicyTpes {
policyTypes: Array<PolicyMetadata>;
excludeMapping: ExcludedPolicyTypes;
}
export interface ExcludedPolicyTypes {
componentType: string;
excludedPolicyTypes: Array<string>;
}
|