AppStream.Issue

g AppStream.Issue AppStream.Issue GObject.Object GObject.Object GObject.Object->AppStream.Issue

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_id ()

get_kind ()

get_url ()

set_id (id)

set_kind (kind)

set_url (url)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class AppStream.Issue(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

AppStream.IssueClass

classmethod new()
Returns:

an AppStream.Issue

Return type:

AppStream.Issue

Creates a new AppStream.Issue.

get_id()
Returns:

the ID.

Return type:

str

Gets the issue ID (usually a bug number or CVE ID)

get_kind()
Returns:

the AppStream.IssueKind

Return type:

AppStream.IssueKind

Gets the issue type.

get_url()
Returns:

the URL.

Return type:

str

Gets the URL associacted with this issue, usually referencing a bug report or issue description.

set_id(id)
Parameters:

id (str) – the new ID.

Sets the issue ID.

set_kind(kind)
Parameters:

kind (AppStream.IssueKind) – the AppStream.IssueKind, e.g. %AS_ISSUE_KIND_SHA256.

Sets the issue type.

set_url(url)
Parameters:

url (str) – the new URL.

Sets an URL describing this issue.