summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/components/service-popup/service-instance-details/servicePopupDataModel.ts
blob: c7894e2cd204c5f56d13ece4d19e0f406819c65f (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
28
29
30
31
32
import {SelectOption, SelectOptionInterface} from "../../../shared/models/selectOption";

export class ServicePopupDataModel {
  subscribers: SelectOptionInterface[];
  serviceTypes: SelectOptionInterface[];
  aicZones: SelectOptionInterface[];
  lcpRegions: SelectOptionInterface[];
  productFamilies: SelectOptionInterface[];
  lcpRegionsTenantsMap: object;
  tenants: SelectOptionInterface[];
  projects: SelectOptionInterface[];
  owningEntities: SelectOptionInterface[];
  globalCustomerId: string;
  rollbackOnFailure: SelectOptionInterface[];


  constructor(){
    this.subscribers = null;
    this.serviceTypes = null;
    this.aicZones = null;
    this.lcpRegions = null;
    this.lcpRegionsTenantsMap = {};
    this.tenants = null;
    this.productFamilies = null;
    this.projects = null;
    this.owningEntities = null;
    this.rollbackOnFailure = [
      new SelectOption({id: 'true', name: 'Rollback'}),
      new SelectOption({id: 'false', name: 'Don\'t Rollback'})
    ];
  }
}