blob: 8389606b655162e49855bf7b35b8f76904f70857 (
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
|
import {
Level1Model,
Level1ModelProperties,
Level1ModelResponseInterface
} from "./nodeModel";
export interface VnfProperties extends Level1ModelProperties{
ecomp_generated_naming: string;
}
export interface VNFModelResponseInterface extends Level1ModelResponseInterface{
properties: VnfProperties;
}
export class VNFModel extends Level1Model{
properties: VnfProperties;
constructor(vnfJson?: VNFModelResponseInterface) {
super(vnfJson);
if (vnfJson) {
this.properties = vnfJson.properties;
}
}
}
|