Qmi.MessageDmsActivateAutomaticInput

Fields

None

Methods

class

new ()

get_activation_code ()

ref ()

set_activation_code (value_activation_code)

unref ()

Details

class Qmi.MessageDmsActivateAutomaticInput

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

Return type:

Qmi.MessageDmsActivateAutomaticInput

Allocates a new Qmi.MessageDmsActivateAutomaticInput.

New in version 1.0.

get_activation_code()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_activation_code:

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

Return type:

(bool, value_activation_code: str)

Get the ‘Activation Code’ field from self.

New in version 1.0.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageDmsActivateAutomaticInput

Atomically increments the reference count of self by one.

New in version 1.0.

set_activation_code(value_activation_code)
Parameters:

value_activation_code (str) – a constant string.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

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