blob: ecd6e3e91c8c818412e4a71f0543d85589350bff [file] [log] [blame]
Michael Landoa5445102018-03-04 14:53:33 +02001export class GroupMetadata {
2 public uniqueId: string;
3 public type: string;
4 public version: string;
5 public description: string;
6 public creationTime: number;
7 public modificationTime: number;
8 public highestVersion: boolean;
9 public empty: boolean;
10
11 deserialize (response): GroupMetadata {
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;
20
21 return this;
22 }
23}
24
25export interface GroupTpes {
26 groupTypes: Array<GroupMetadata>;
27 excludeMapping: ExcludedGroupTypes;
28}
29
30export interface ExcludedGroupTypes {
31 componentType: string;
32 excludedGroupTypes: Array<string>;
33}