Libosinfo.Product¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
Codename |
||
r |
URI of the logo |
||
r |
Name |
||
r |
Short ID |
||
r |
Vendor |
||
r |
Version |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Libosinfo.Product(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- Parameters:
relshp (
Libosinfo.ProductRelationship
) – the relationshipotherproduct (
Libosinfo.Product
) – the product to relate to
Add an association between two products
- get_eol_date()¶
-
New in version 0.2.8.
- get_eol_date_string()¶
-
New in version 0.2.8.
- Parameters:
relshp (
Libosinfo.ProductRelationship
) – the relationship to query- Returns:
a list of related products
- Return type:
Get a list of products satisfying the requested relationship
- get_release_date()¶
-
New in version 0.2.8.
- get_release_date_string()¶
-
New in version 0.2.8.
Property Details¶
- Libosinfo.Product.props.codename¶
-
The codename of this product.
- Libosinfo.Product.props.logo¶
-
The URI of the logo of the product.
- Libosinfo.Product.props.name¶
-
The name of this product.
- Libosinfo.Product.props.short_id¶
-
The short ID of this product.
- Libosinfo.Product.props.vendor¶
-
The Vendor of this product.