4 Level1ModelResponseInterface
6 import {VNFModelResponseInterface} from "./vnfModel";
7 import {Utils} from "../utils/utils";
11 export interface PnfProperties extends Level1ModelProperties{
12 ecomp_generated_naming: string;
15 export interface PNFModelResponseInterface extends Level1ModelResponseInterface{
16 properties: PnfProperties;
19 export class PNFModel extends Level1Model{
21 properties: PnfProperties;
23 constructor(pnfJson?: PNFModelResponseInterface, flags?: { [key: string]: boolean }) {
25 if (pnfJson && pnfJson.properties) {
26 this.properties = pnfJson.properties;
27 this.max = Utils.getMaxFirstLevel(this.properties, flags);