New Angular UI from 1806
[vid.git] / vid-webpack-master / src / app / components / service-popup / service-instance-details / servicePopupDataModel.ts
1 import {SelectOption, SelectOptionInterface} from "../../../shared/models/selectOption";
2
3 export class ServicePopupDataModel {
4   subscribers: SelectOptionInterface[];
5   serviceTypes: SelectOptionInterface[];
6   aicZones: SelectOptionInterface[];
7   lcpRegions: SelectOptionInterface[];
8   productFamilies: SelectOptionInterface[];
9   lcpRegionsTenantsMap: object;
10   tenants: SelectOptionInterface[];
11   projects: SelectOptionInterface[];
12   owningEntities: SelectOptionInterface[];
13   globalCustomerId: string;
14   rollbackOnFailure: SelectOptionInterface[];
15
16
17   constructor(){
18     this.subscribers = null;
19     this.serviceTypes = null;
20     this.aicZones = null;
21     this.lcpRegions = null;
22     this.lcpRegionsTenantsMap = {};
23     this.tenants = null;
24     this.productFamilies = null;
25     this.projects = null;
26     this.owningEntities = null;
27     this.rollbackOnFailure = [
28       new SelectOption({id: 'true', name: 'Rollback'}),
29       new SelectOption({id: 'false', name: 'Don\'t Rollback'})
30     ];
31   }
32 }