EntityBaseModel#
- class EntityBaseModel(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:
ExternalizableAbstractModel
The list of properties that can be expanded on the LCM entity.
- Parameters:
entity_class (min=1 chars, max=256 chars) – (
entity_class
) LCM entity class.entity_model (min=1 chars, max=256 chars) – (
entity_model
) LCM entity model.entity_type – (
entity_type
)entity_version (min=1 chars, max=128 chars) – (
entity_version
) Current version of an LCM entity.hardware_family (min=1 chars, max=256 chars) – (
hardware_family
) A hardware family for a LCM entity.
- property entity_class#
LCM entity class.
- Type:
str
- property entity_model#
LCM entity model.
- Type:
str
- property entity_type#
- Type:
- property entity_version#
Current version of an LCM entity.
- Type:
str
- property hardware_family#
A hardware family for a LCM entity.
- Type:
str
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model