aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts
blob: 5c59404c2aca6594d03bbf1c3fe8dd3570ae5099 (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
import {JsonObject, JsonProperty} from 'json2typescript';

@JsonObject
export class VlbDefinition {

    // tslint:disable-next-line:variable-name
    tosca_definitions_version: string;
    metadata: Metadata;
    imports: Import[];
    // dsl_definitions:           DSLDefinitions;
    // topology_template: TopologyTemplate;
}

export class Metadata {
    @JsonProperty('template_author')
    templateAuthor: string;
    'author-email': string;
    'user-groups': string;
    @JsonProperty('template_name')
    templateName: string;
    @JsonProperty('template_version')
    templateVersion: string;
    @JsonProperty('template_tag')
    templateTags: string;
}

export class Import {
    file: string;
}