ModemManager.KernelEventProperties

g GObject.Object GObject.Object ModemManager.KernelEventProperties ModemManager.KernelEventProperties GObject.Object->ModemManager.KernelEventProperties

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_action ()

get_name ()

get_subsystem ()

get_uid ()

set_action (action)

set_name (name)

set_subsystem (subsystem)

set_uid (uid)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ModemManager.KernelEventProperties(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.KernelEventPropertiesClass

The ModemManager.KernelEventProperties structure contains private data and should only be accessed using the provided API.

classmethod new()
Returns:

a ModemManager.KernelEventProperties. The returned value should be freed with GObject.Object.unref().

Return type:

ModemManager.KernelEventProperties

Creates a new empty ModemManager.KernelEventProperties.

New in version 1.8.

get_action()
Returns:

The action. Do not free the returned value, it is owned by self.

Return type:

str

Gets the action.

New in version 1.8.

get_name()
Returns:

The name. Do not free the returned value, it is owned by self.

Return type:

str

Gets the name.

New in version 1.8.

get_subsystem()
Returns:

The subsystem. Do not free the returned value, it is owned by self.

Return type:

str

Gets the subsystem.

New in version 1.8.

get_uid()
Returns:

The uid. Do not free the returned value, it is owned by self.

Return type:

str

Gets the unique ID of the physical device.

New in version 1.8.

set_action(action)
Parameters:

action (str) – The action to set.

Sets the action.

New in version 1.8.

set_name(name)
Parameters:

name (str) – The name to set.

Sets the name.

New in version 1.8.

set_subsystem(subsystem)
Parameters:

subsystem (str) – The subsystem to set.

Sets the subsystem.

New in version 1.8.

set_uid(uid)
Parameters:

uid (str) – The uid to set.

Sets the unique ID of the physical device.

New in version 1.8.