Qmi.MessageGasDmsSetFirmwareAutoSimInput

Fields

None

Methods

class

new ()

get_auto_sim_mode ()

get_config_id ()

ref ()

set_auto_sim_mode (value_auto_sim_mode)

set_config_id (value_config_id)

unref ()

Details

class Qmi.MessageGasDmsSetFirmwareAutoSimInput

The Qmi.MessageGasDmsSetFirmwareAutoSimInput structure contains private data and should only be accessed using the provided API.

Added in version 1.36.

classmethod new()
Returns:

the newly created Qmi.MessageGasDmsSetFirmwareAutoSimInput. The returned value should be freed with Qmi.MessageGasDmsSetFirmwareAutoSimInput.unref().

Return type:

Qmi.MessageGasDmsSetFirmwareAutoSimInput

Allocates a new Qmi.MessageGasDmsSetFirmwareAutoSimInput.

Added in version 1.36.

get_auto_sim_mode()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_auto_sim_mode:

a placeholder for the output Qmi.GasFirmwareAutoSimMode, or None if not required.

Return type:

(bool, value_auto_sim_mode: Qmi.GasFirmwareAutoSimMode)

Get the ‘Auto Sim Mode’ field from self.

Added in version 1.36.

get_config_id()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_config_id:

a placeholder for the output #guint8, or None if not required.

Return type:

(bool, value_config_id: int)

Get the ‘Config Id’ field from self.

Added in version 1.36.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageGasDmsSetFirmwareAutoSimInput

Atomically increments the reference count of self by one.

Added in version 1.36.

set_auto_sim_mode(value_auto_sim_mode)
Parameters:

value_auto_sim_mode (Qmi.GasFirmwareAutoSimMode) – a Qmi.GasFirmwareAutoSimMode.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Auto Sim Mode’ field in the message.

Added in version 1.36.

set_config_id(value_config_id)
Parameters:

value_config_id (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Config Id’ field in the message.

Added in version 1.36.

unref()

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

Added in version 1.36.