Libosinfo.OsVariant
- Subclasses:
None
Class Details
-
class Libosinfo.OsVariant(**kwargs)
- Bases:
Libosinfo.Entity
- Abstract:
No
- Structure:
Libosinfo.OsVariantClass
-
classmethod new(id)
- Parameters:
id (str
) – the id of the os variant to be created
- Returns:
An os variant entity
- Return type:
Libosinfo.OsVariant
Creates a new os variant
-
get_name()
- Returns:
the name, or None
- Return type:
str
The name of the self
Property Details
-
Libosinfo.OsVariant.props.name
- Name:
name
- Type:
str
- Default Value:
None
- Flags:
READABLE
, WRITABLE
The name to this variant.