Qmi.MessageWdsSwiCreateProfileIndexedInput

Fields

None

Methods

class

new ()

get_apn_disabled_flag ()

get_apn_name ()

get_authentication ()

get_ipv4_address_preference ()

get_password ()

get_pdp_context_number ()

get_pdp_type ()

get_primary_ipv4_dns_address ()

get_profile_identifier ()

get_profile_name ()

get_roaming_disallowed_flag ()

get_secondary_ipv4_dns_address ()

get_username ()

ref ()

set_apn_disabled_flag (value_apn_disabled_flag)

set_apn_name (value_apn_name)

set_authentication (value_authentication)

set_ipv4_address_preference (value_ipv4_address_preference)

set_password (value_password)

set_pdp_context_number (value_pdp_context_number)

set_pdp_type (value_pdp_type)

set_primary_ipv4_dns_address (value_primary_ipv4_dns_address)

set_profile_identifier (value_profile_identifier_profile_type, value_profile_identifier_profile_index)

set_profile_name (value_profile_name)

set_roaming_disallowed_flag (value_roaming_disallowed_flag)

set_secondary_ipv4_dns_address (value_secondary_ipv4_dns_address)

set_username (value_username)

unref ()

Details

class Qmi.MessageWdsSwiCreateProfileIndexedInput

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

New in version 1.22.

classmethod new()
Returns:

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

Return type:

Qmi.MessageWdsSwiCreateProfileIndexedInput

Allocates a new Qmi.MessageWdsSwiCreateProfileIndexedInput.

New in version 1.22.

get_apn_disabled_flag()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_apn_disabled_flag:

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

Return type:

(bool, value_apn_disabled_flag: bool)

Get the ‘APN Disabled Flag’ field from self.

New in version 1.22.

get_apn_name()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_apn_name:

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

Return type:

(bool, value_apn_name: str)

Get the ‘APN Name’ field from self.

New in version 1.22.

get_authentication()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_authentication:

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

Return type:

(bool, value_authentication: Qmi.WdsAuthentication)

Get the ‘Authentication’ field from self.

New in version 1.22.

get_ipv4_address_preference()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_ipv4_address_preference:

a placeholder for the output #guint32, or None if not required.

Return type:

(bool, value_ipv4_address_preference: int)

Get the ‘IPv4 Address Preference’ field from self.

New in version 1.22.

get_password()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_password:

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

Return type:

(bool, value_password: str)

Get the ‘Password’ field from self.

New in version 1.22.

get_pdp_context_number()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_pdp_context_number:

a placeholder for the output #guint8, or None if not required.

Return type:

(bool, value_pdp_context_number: int)

Get the ‘PDP Context Number’ field from self.

New in version 1.22.

get_pdp_type()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_pdp_type:

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

Return type:

(bool, value_pdp_type: Qmi.WdsPdpType)

Get the ‘PDP Type’ field from self.

New in version 1.22.

get_primary_ipv4_dns_address()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_primary_ipv4_dns_address:

a placeholder for the output #guint32, or None if not required.

Return type:

(bool, value_primary_ipv4_dns_address: int)

Get the ‘Primary IPv4 DNS Address’ field from self.

New in version 1.22.

get_profile_identifier()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_profile_identifier_profile_type:

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

value_profile_identifier_profile_index:

a placeholder for the output #guint8, or None if not required.

Return type:

(bool, value_profile_identifier_profile_type: Qmi.WdsProfileType, value_profile_identifier_profile_index: int)

Get the ‘Profile Identifier’ field from self.

New in version 1.22.

get_profile_name()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_profile_name:

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

Return type:

(bool, value_profile_name: str)

Get the ‘Profile Name’ field from self.

New in version 1.22.

get_roaming_disallowed_flag()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_roaming_disallowed_flag:

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

Return type:

(bool, value_roaming_disallowed_flag: bool)

Get the ‘Roaming Disallowed Flag’ field from self.

New in version 1.22.

get_secondary_ipv4_dns_address()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_secondary_ipv4_dns_address:

a placeholder for the output #guint32, or None if not required.

Return type:

(bool, value_secondary_ipv4_dns_address: int)

Get the ‘Secondary IPv4 DNS Address’ field from self.

New in version 1.22.

get_username()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_username:

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

Return type:

(bool, value_username: str)

Get the ‘Username’ field from self.

New in version 1.22.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageWdsSwiCreateProfileIndexedInput

Atomically increments the reference count of self by one.

New in version 1.22.

set_apn_disabled_flag(value_apn_disabled_flag)
Parameters:

value_apn_disabled_flag (bool) – a bool.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘APN Disabled Flag’ field in the message.

New in version 1.22.

set_apn_name(value_apn_name)
Parameters:

value_apn_name (str) – a constant string.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘APN Name’ field in the message.

New in version 1.22.

set_authentication(value_authentication)
Parameters:

value_authentication (Qmi.WdsAuthentication) – a Qmi.WdsAuthentication.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Authentication’ field in the message.

New in version 1.22.

set_ipv4_address_preference(value_ipv4_address_preference)
Parameters:

value_ipv4_address_preference (int) – a #guint32.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘IPv4 Address Preference’ field in the message.

New in version 1.22.

set_password(value_password)
Parameters:

value_password (str) – a constant string.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Password’ field in the message.

New in version 1.22.

set_pdp_context_number(value_pdp_context_number)
Parameters:

value_pdp_context_number (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘PDP Context Number’ field in the message.

New in version 1.22.

set_pdp_type(value_pdp_type)
Parameters:

value_pdp_type (Qmi.WdsPdpType) – a Qmi.WdsPdpType.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘PDP Type’ field in the message.

New in version 1.22.

set_primary_ipv4_dns_address(value_primary_ipv4_dns_address)
Parameters:

value_primary_ipv4_dns_address (int) – a #guint32.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Primary IPv4 DNS Address’ field in the message.

New in version 1.22.

set_profile_identifier(value_profile_identifier_profile_type, value_profile_identifier_profile_index)
Parameters:
Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Profile Identifier’ field in the message.

New in version 1.22.

set_profile_name(value_profile_name)
Parameters:

value_profile_name (str) – a constant string.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Profile Name’ field in the message.

New in version 1.22.

set_roaming_disallowed_flag(value_roaming_disallowed_flag)
Parameters:

value_roaming_disallowed_flag (bool) – a bool.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Roaming Disallowed Flag’ field in the message.

New in version 1.22.

set_secondary_ipv4_dns_address(value_secondary_ipv4_dns_address)
Parameters:

value_secondary_ipv4_dns_address (int) – a #guint32.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Secondary IPv4 DNS Address’ field in the message.

New in version 1.22.

set_username(value_username)
Parameters:

value_username (str) – a constant string.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Username’ field in the message.

New in version 1.22.

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.22.