Libosinfo.Device

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new (id)

get_bus_type ()

get_class ()

get_name ()

get_product ()

get_product_id ()

get_subsystem ()

get_vendor ()

get_vendor_id ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Libosinfo.Entity (1)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Libosinfo.Entity

r

Class Details

class Libosinfo.Device(**kwargs)
Bases:

Libosinfo.Entity

Abstract:

No

Structure:

Libosinfo.DeviceClass

classmethod new(id)
Parameters:

id (str) –

Return type:

Libosinfo.Device

get_bus_type()
Return type:

str

get_class()
Return type:

str

get_name()
Return type:

str

get_product()
Return type:

str

get_product_id()
Return type:

str

get_subsystem()
Returns:

the value of the device’s subsystem.

Return type:

str

New in version 0.2.1.

get_vendor()
Return type:

str

get_vendor_id()
Return type:

str