Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 1 | import { SdcUiCommon} from "onap-ui-angular"; |
| 2 | import {IModalButtonComponent} from "onap-ui-angular/dist/modals/models/modal-config"; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 3 | |
| 4 | export class MessageBoxData { |
| 5 | title?: string; |
| 6 | message?: string; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 7 | size : SdcUiCommon.ModalSize; |
| 8 | type: SdcUiCommon.ModalType; |
| 9 | buttons: IModalButtonComponent[]; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 10 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 11 | constructor(title: string, message: string, type: SdcUiCommon.ModalType, size : SdcUiCommon.ModalSize, buttons: IModalButtonComponent[]) { |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 12 | this.title = title; |
| 13 | this.message = message; |
| 14 | this.size = size; |
| 15 | this.type = type; |
| 16 | this.buttons = buttons; |
| 17 | } |
| 18 | } |