blob: d4cc7e9c7b77871e293dbb81987eb588e0a7abdf [file] [log] [blame]
import {VfModule} from "./vfModule";
import {VfModuleInstance} from "./vfModuleInstance";
import {ServiceNodeTypes} from "./ServiceNodeTypes";
export class VfModuleTreeNode {
modelId: string;
name: string;
modelName: string;
type: string;
constructor(vfModuleInstance: VfModuleInstance, vfModuleModel: VfModule, vfModuleModelName: string){
this.name = vfModuleInstance.instanceName || vfModuleInstance.volumeGroupName || '<Automatically Assigned>';
this.modelId = vfModuleModel.uuid;
this.modelName = vfModuleModelName;
this.type = ServiceNodeTypes.VFmodule;
}
}