Qmi.MessageGasDmsGetFirmwareListInput¶
Fields¶
None
Methods¶
class | new () |
get_mode () |
|
get_name () |
|
get_slot_index () |
|
get_version () |
|
ref () |
|
set_mode (value_mode) |
|
set_name (value_name) |
|
set_slot_index (value_slot_index) |
|
set_version (value_version) |
|
unref () |
Details¶
-
class
Qmi.
MessageGasDmsGetFirmwareListInput
¶ The
Qmi.MessageGasDmsGetFirmwareListInput
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.MessageGasDmsGetFirmwareListInput
. The returned value should be freed withQmi.MessageGasDmsGetFirmwareListInput.unref
().Return type: Qmi.MessageGasDmsGetFirmwareListInput
Allocates a new
Qmi.MessageGasDmsGetFirmwareListInput
.New in version 1.24.
-
get_mode
()¶ Raises: GLib.Error
Returns: True
if the field is found,False
otherwise.value_mode: a placeholder for the output Qmi.GasFirmwareListingMode
, orNone
if not required.Return type: ( bool
, value_mode:Qmi.GasFirmwareListingMode
)Get the ‘Mode’ field from self.
New in version 1.24.
-
get_name
()¶ Raises: GLib.Error
Returns: True
if the field is found,False
otherwise.value_name: a placeholder for the output constant string, or None
if not required.Return type: ( bool
, value_name:str
)Get the ‘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.MessageGasDmsGetFirmwareListInput
Atomically increments the reference count of self by one.
New in version 1.24.
-
set_mode
(value_mode)¶ Parameters: value_mode ( Qmi.GasFirmwareListingMode
) – aQmi.GasFirmwareListingMode
.Raises: GLib.Error
Returns: True
if value was successfully set,False
otherwise.Return type: bool
Set the ‘Mode’ field in the message.
New in version 1.24.
-
set_name
(value_name)¶ Parameters: value_name ( str
) – a constant string.Raises: GLib.Error
Returns: True
if value was successfully set,False
otherwise.Return type: bool
Set the ‘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.
-
classmethod