Qmi.MessageGasDmsSetActiveFirmwareInput

Fields

None

Methods

class new ()
  get_carrier_name ()
  get_slot_index ()
  get_version ()
  ref ()
  set_carrier_name (value_carrier_name)
  set_slot_index (value_slot_index)
  set_version (value_version)
  unref ()

Details

class Qmi.MessageGasDmsSetActiveFirmwareInput

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

New in version 1.24.

classmethod new()
Returns:the newly created Qmi.MessageGasDmsSetActiveFirmwareInput. The returned value should be freed with Qmi.MessageGasDmsSetActiveFirmwareInput.unref().
Return type:Qmi.MessageGasDmsSetActiveFirmwareInput

Allocates a new Qmi.MessageGasDmsSetActiveFirmwareInput.

New in version 1.24.

get_carrier_name()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_carrier_name:
 a placeholder for the output constant string, or None if not required.
Return type:(bool, value_carrier_name: str)

Get the ‘Carrier Name’ field from self.

New in version 1.24.

get_slot_index()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_slot_index:
 a placeholder for the output #guint8, or None if not required.
Return type:(bool, value_slot_index: int)

Get the ‘Slot Index’ field from self.

New in version 1.24.

get_version()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_version:a placeholder for the output constant string, or None if not required.
Return type:(bool, value_version: str)

Get the ‘Version’ field from self.

New in version 1.24.

ref()
Returns:the new reference to self.
Return type:Qmi.MessageGasDmsSetActiveFirmwareInput

Atomically increments the reference count of self by one.

New in version 1.24.

set_carrier_name(value_carrier_name)
Parameters:value_carrier_name (str) – a constant string.
Raises:GLib.Error
Returns:True if value was successfully set, False otherwise.
Return type:bool

Set the ‘Carrier Name’ field in the message.

New in version 1.24.

set_slot_index(value_slot_index)
Parameters:value_slot_index (int) – a #guint8.
Raises:GLib.Error
Returns:True if value was successfully set, False otherwise.
Return type:bool

Set the ‘Slot Index’ field in the message.

New in version 1.24.

set_version(value_version)
Parameters:value_version (str) – a constant string.
Raises:GLib.Error
Returns:True if value was successfully set, False otherwise.
Return type:bool

Set the ‘Version’ field in the message.

New in version 1.24.

unref()

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

New in version 1.24.