NotificationItem#
- class NotificationItem(notification_type=None, details=None, to_version=None, location_info=None, hypervisor_type=None, entity_class=None, entity_model=None, entity_type=None, entity_version=None, hardware_family=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
EntityBaseModel
LCM upgrade notification generated for a node or cluster based on specified entity/entities and target version(s).
- Parameters:
notification_type – (
notification_type
)details – (
details
) List of upgrade notifications for this entity.to_version (min=1 chars, max=128 chars) – (
to_version
) Version to upgrade to.location_info – (
location_info
)hypervisor_type – (
hypervisor_type
)
- property details#
List of upgrade notifications for this entity.
- Type:
list[
NotificationDetail
]
- property hypervisor_type#
- Type:
- property location_info#
- Type:
- property notification_type#
- Type:
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model
- property to_version#
Version to upgrade to.
- Type:
str