Qmi.MessageNasAttachDetachInput

Fields

None

Methods

class

new ()

get_action ()

ref ()

set_action (value_action)

unref ()

Details

class Qmi.MessageNasAttachDetachInput

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

Added in version 1.20.

classmethod new()
Returns:

the newly created Qmi.MessageNasAttachDetachInput. The returned value should be freed with Qmi.MessageNasAttachDetachInput.unref().

Return type:

Qmi.MessageNasAttachDetachInput

Allocates a new Qmi.MessageNasAttachDetachInput.

Added in version 1.20.

get_action()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_action:

a placeholder for the output Qmi.NasPsAttachAction, or None if not required.

Return type:

(bool, value_action: Qmi.NasPsAttachAction)

Get the ‘Action’ field from self.

Added in version 1.20.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageNasAttachDetachInput

Atomically increments the reference count of self by one.

Added in version 1.20.

set_action(value_action)
Parameters:

value_action (Qmi.NasPsAttachAction) – a Qmi.NasPsAttachAction.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Action’ field in the message.

Added in version 1.20.

unref()

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

Added in version 1.20.