8389606b655162e49855bf7b35b8f76904f70857
[vid.git] / vid-webpack-master / src / app / shared / models / vnfModel.ts
1 import {
2   Level1Model,
3   Level1ModelProperties,
4   Level1ModelResponseInterface
5 } from "./nodeModel";
6
7
8
9 export interface VnfProperties extends Level1ModelProperties{
10   ecomp_generated_naming: string;
11 }
12
13 export interface VNFModelResponseInterface extends Level1ModelResponseInterface{
14   properties: VnfProperties;
15 }
16
17 export class VNFModel extends Level1Model{
18   properties: VnfProperties;
19
20   constructor(vnfJson?: VNFModelResponseInterface) {
21     super(vnfJson);
22     if (vnfJson) {
23       this.properties = vnfJson.properties;
24     }
25   }
26
27 }