Qmi.MessageDmsSetServiceProgrammingCodeInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageDmsSetServiceProgrammingCodeInput¶
The
Qmi.MessageDmsSetServiceProgrammingCodeInput
structure contains private data and should only be accessed using the provided API.New in version 1.0.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageDmsSetServiceProgrammingCodeInput
. The returned value should be freed withQmi.MessageDmsSetServiceProgrammingCodeInput.unref
().- Return type:
Allocates a new
Qmi.MessageDmsSetServiceProgrammingCodeInput
.New in version 1.0.
- get_current_code()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_current_code:
a placeholder for the output constant string, or
None
if not required.
- Return type:
Get the ‘Current Code’ field from self.
New in version 1.0.
- get_new_code()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_new_code:
a placeholder for the output constant string, or
None
if not required.
- Return type:
Get the ‘New Code’ field from self.
New in version 1.0.
- ref()¶
- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.0.
- set_current_code(value_current_code)¶
- Parameters:
value_current_code (
str
) – a constant string of exactly 6 characters.- Raises:
- Returns:
- Return type:
Set the ‘Current Code’ field in the message.
New in version 1.0.
- set_new_code(value_new_code)¶
- Parameters:
value_new_code (
str
) – a constant string of exactly 6 characters.- Raises:
- Returns:
- Return type:
Set the ‘New Code’ field in the message.
New in version 1.0.
- 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.0.