Qmi.MessageDmsRestoreFactoryDefaultsInput

Fields

None

Methods

class

new ()

get_service_programming_code ()

ref ()

set_service_programming_code (value_service_programming_code)

unref ()

Details

class Qmi.MessageDmsRestoreFactoryDefaultsInput

The Qmi.MessageDmsRestoreFactoryDefaultsInput 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.MessageDmsRestoreFactoryDefaultsInput. The returned value should be freed with Qmi.MessageDmsRestoreFactoryDefaultsInput.unref().

Return type:

Qmi.MessageDmsRestoreFactoryDefaultsInput

Allocates a new Qmi.MessageDmsRestoreFactoryDefaultsInput.

New in version 1.0.

get_service_programming_code()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_service_programming_code:

a placeholder for the output constant string, or None if not required.

Return type:

(bool, value_service_programming_code: str)

Get the ‘Service Programming Code’ field from self.

New in version 1.0.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageDmsRestoreFactoryDefaultsInput

Atomically increments the reference count of self by one.

New in version 1.0.

set_service_programming_code(value_service_programming_code)
Parameters:

value_service_programming_code (str) – a constant string of exactly 6 characters.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Service Programming 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.