summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support/jsonBuilders/models/service.model.ts
blob: 3c67112cbe34cc908ed4bf7ce6604387543949aa (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
38
39
40
41
/// <reference types="Cypress" />

export class ServiceModel{
  service: {
    uuid: string;
    invariantUuid: string;
    name: string;
    version: string;
    toscaModelURL: string;
    category: string;
    serviceType: string;
    serviceRole: string;
    description: string;
    serviceEcompNaming : string;
    instantiationType: string;
    inputs: Object;
  };
  vnfs: Object;
  networks: Object;
  collectionResource: Object;
  configurations: Object;
  serviceProxies: Object;
  vfModules: Object;
  volumeGroups: Object;
  pnfs:Object;
  vnfGroups: Object;

  constructor(){
    this.service = <any>{};
    this.vnfs = {};
    this.networks= {};
    this.collectionResource = {};
    this.configurations = {};
    this.serviceProxies = {};
    this.vfModules = {};
    this.volumeGroups = {};
    this.pnfs = {};
    this.vnfGroups = {};
  }

}