blob: 14e6588d2565168f8c5bf2f71b30e06e27b1c372 [file] [log] [blame]
Ittay Sternf7926712019-07-07 19:23:03 +03001import {
2 Level1Model,
3 Level1ModelProperties,
4 Level1ModelResponseInterface
5} from "./nodeModel";
6
7
8
9export interface PnfProperties extends Level1ModelProperties{
10 ecomp_generated_naming: string;
11}
12
13export interface PNFModelResponseInterface extends Level1ModelResponseInterface{
14 properties: PnfProperties;
15}
16
17export class PNFModel extends Level1Model{
18 roles: string[] = [];
19 properties: PnfProperties;
20
21 constructor(pnfJson?: PNFModelResponseInterface) {
22 super(pnfJson);
23 if (pnfJson && pnfJson.properties) {
24 this.properties = pnfJson.properties;
25 }
26 }
27
28}