aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/components/messageBox/messageBox.data.ts
blob: e67b1f76f35a0829865626972ea9767711e3237b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { SdcUiCommon} from "onap-ui-angular";
import {IModalButtonComponent} from "onap-ui-angular/dist/modals/models/modal-config";

export class  MessageBoxData {
  title?: string;
  message?: string;
  size : SdcUiCommon.ModalSize;
  type: SdcUiCommon.ModalType;
  buttons: IModalButtonComponent[];

  constructor(title: string, message: string, type: SdcUiCommon.ModalType, size : SdcUiCommon.ModalSize, buttons: IModalButtonComponent[]) {
    this.title = title;
    this.message = message;
    this.size = size;
    this.type = type;
    this.buttons = buttons;
  }
}