summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/pnfModel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/src/app/shared/models/pnfModel.ts')
-rw-r--r--vid-webpack-master/src/app/shared/models/pnfModel.ts28
1 files changed, 28 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/models/pnfModel.ts b/vid-webpack-master/src/app/shared/models/pnfModel.ts
new file mode 100644
index 000000000..14e6588d2
--- /dev/null
+++ b/vid-webpack-master/src/app/shared/models/pnfModel.ts
@@ -0,0 +1,28 @@
+import {
+ Level1Model,
+ Level1ModelProperties,
+ Level1ModelResponseInterface
+} from "./nodeModel";
+
+
+
+export interface PnfProperties extends Level1ModelProperties{
+ ecomp_generated_naming: string;
+}
+
+export interface PNFModelResponseInterface extends Level1ModelResponseInterface{
+ properties: PnfProperties;
+}
+
+export class PNFModel extends Level1Model{
+ roles: string[] = [];
+ properties: PnfProperties;
+
+ constructor(pnfJson?: PNFModelResponseInterface) {
+ super(pnfJson);
+ if (pnfJson && pnfJson.properties) {
+ this.properties = pnfJson.properties;
+ }
+ }
+
+}