summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/vrfModel.ts
blob: c9bac9cd622e48569dea8c55cbba313e9399bc50 (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
import {Level1Model, Level1ModelProperties, Level1ModelResponseInterface} from "./nodeModel";

export interface VrfProperties extends Level1ModelProperties{
}

export interface VrfResponseInterface extends Level1ModelResponseInterface{
  properties: VrfProperties;
}

export class VrfModel extends Level1Model{


  properties: VrfProperties;

  constructor(vrfJson?: VrfResponseInterface){
    super(vrfJson);
    if(vrfJson && vrfJson.properties){
      this.properties = vrfJson.properties;
    }
    this.min = 1;
    this.max = 1;
  }


}