/** * The NotificationItem model module. * @module Ntnx/NotificationItem * @version 4.3.1 * @class NotificationItem * @extends EntityBaseModel */ export default class NotificationItem extends EntityBaseModel { /** * @return {NotificationType} */ getNotificationType(): NotificationType; /** * @param {NotificationType} notificationType */ setNotificationType(notificationType: NotificationType): void; notificationType: string; /** * Returns Detailed notification entries for this item, each containing a severity level and a descriptive message about the upgrade impact. * @return {NotificationDetail[]} */ getDetails(): NotificationDetail[]; /** * Sets Detailed notification entries for this item, each containing a severity level and a descriptive message about the upgrade impact. * @param {NotificationDetail[]} details Detailed notification entries for this item, each containing a severity level and a descriptive message about the upgrade impact. */ setDetails(details: NotificationDetail[]): void; details: NotificationDetail[]; /** * Returns The target version that the entity will be upgraded to. * @return {string} */ getToVersion(): string; /** * Sets The target version that the entity will be upgraded to. * @param {string} toVersion The target version that the entity will be upgraded to. */ setToVersion(toVersion: string): void; toVersion: string; /** * @return {LocationInfo} */ getLocationInfo(): LocationInfo; /** * @param {LocationInfo} locationInfo */ setLocationInfo(locationInfo: LocationInfo): void; locationInfo: LocationInfo; /** * @return {HypervisorType} */ getHypervisorType(): HypervisorType; /** * @param {HypervisorType} hypervisorType */ setHypervisorType(hypervisorType: HypervisorType): void; hypervisorType: string; #private; } import EntityBaseModel from "../common/EntityBaseModel"; import NotificationType from "../common/NotificationType"; import NotificationDetail from "./NotificationDetail"; import LocationInfo from "../common/LocationInfo"; import HypervisorType from "../common/HypervisorType";