Libosinfo.OsVariant

g GObject.Object GObject.Object Libosinfo.Entity Libosinfo.Entity GObject.Object->Libosinfo.Entity Libosinfo.OsVariant Libosinfo.OsVariant Libosinfo.Entity->Libosinfo.OsVariant

Subclasses:

None

Methods

Inherited:

Libosinfo.Entity (15), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (id)

get_name ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Libosinfo.Entity (1)

Name

Type

Flags

Short Description

name

str

r/w

The name to this variant

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Libosinfo.Entity

r

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

New in version 0.2.9.

get_name()
Returns:

the name, or None

Return type:

str

The name of the self

New in version 0.2.9.

Property Details

Libosinfo.OsVariant.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The name to this variant.