AppStream.Suggested¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class AppStream.Suggested(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
AppStream.Suggested
- Return type:
Creates a new
AppStream.Suggested
.
- add_id(cid)¶
- Parameters:
cid (
str
) – The component id to add
Add a component id to this suggested object.
- get_ids()¶
- Returns:
an array of components id
- Return type:
[
str
]
Get a list of components id that generated the suggestion
- get_kind()¶
- Returns:
- Return type:
Gets the suggested kind.
- is_valid()¶
-
Check if the essential properties of this suggestion are populated with useful data.
- set_kind(kind)¶
- Parameters:
kind (
AppStream.SuggestedKind
) – theAppStream.SuggestedKind
, e.g.AppStream.SuggestedKind.HEURISTIC
.
Sets the suggested kind.