Qmi.MessageDpmOpenPortInput¶
Fields¶
None
Methods¶
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Details¶
- class Qmi.MessageDpmOpenPortInput¶
 The
Qmi.MessageDpmOpenPortInputstructure contains private data and should only be accessed using the provided API.New in version 1.30.
- classmethod new()¶
 - Returns:
 the newly created
Qmi.MessageDpmOpenPortInput. The returned value should be freed withQmi.MessageDpmOpenPortInput.unref().- Return type:
 
Allocates a new
Qmi.MessageDpmOpenPortInput.New in version 1.30.
- get_control_ports()¶
 - Raises:
 - Returns:
 Trueif the field is found,Falseotherwise.- value_control_ports_ptr:
 a placeholder for the output array of
Qmi.MessageDpmOpenPortInputControlPortsElementelements, orNoneif not required. Do not free or modify it, it is owned by self.
- Return type:
 (
bool, value_control_ports_ptr: [Qmi.MessageDpmOpenPortInputControlPortsElement])
Get the ‘Control Ports’ field from self.
Version of
Qmi.MessageDpmOpenPortInput.get_control_ports() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.New in version 1.32.
- get_hardware_data_ports()¶
 - Raises:
 - Returns:
 Trueif the field is found,Falseotherwise.- value_hardware_data_ports_ptr:
 a placeholder for the output array of
Qmi.MessageDpmOpenPortInputHardwareDataPortsElementelements, orNoneif not required. Do not free or modify it, it is owned by self.
- Return type:
 (
bool, value_hardware_data_ports_ptr: [Qmi.MessageDpmOpenPortInputHardwareDataPortsElement])
Get the ‘Hardware Data Ports’ field from self.
Version of
Qmi.MessageDpmOpenPortInput.get_hardware_data_ports() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.New in version 1.32.
- get_software_data_ports()¶
 - Raises:
 - Returns:
 Trueif the field is found,Falseotherwise.- value_software_data_ports_ptr:
 a placeholder for the output array of
Qmi.MessageDpmOpenPortInputSoftwareDataPortsElementelements, orNoneif not required. Do not free or modify it, it is owned by self.
- Return type:
 (
bool, value_software_data_ports_ptr: [Qmi.MessageDpmOpenPortInputSoftwareDataPortsElement])
Get the ‘Software Data Ports’ field from self.
Version of
Qmi.MessageDpmOpenPortInput.get_software_data_ports() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.New in version 1.32.
- ref()¶
 - Returns:
 the new reference to self.
- Return type:
 
Atomically increments the reference count of self by one.
New in version 1.30.
- set_control_ports(value_control_ports_ptr)¶
 - Parameters:
 value_control_ports_ptr ([
Qmi.MessageDpmOpenPortInputControlPortsElement]) – array ofQmi.MessageDpmOpenPortInputControlPortsElementelements. The contents of the given array will be copied, theGLib.PtrArraywill not increase its reference count.- Raises:
 - Returns:
 - Return type:
 
Set the ‘Control Ports’ field in the message.
New in version 1.32.
- set_hardware_data_ports(value_hardware_data_ports_ptr)¶
 - Parameters:
 value_hardware_data_ports_ptr ([
Qmi.MessageDpmOpenPortInputHardwareDataPortsElement]) – array ofQmi.MessageDpmOpenPortInputHardwareDataPortsElementelements. The contents of the given array will be copied, theGLib.PtrArraywill not increase its reference count.- Raises:
 - Returns:
 - Return type:
 
Set the ‘Hardware Data Ports’ field in the message.
New in version 1.32.
- set_software_data_ports(value_software_data_ports_ptr)¶
 - Parameters:
 value_software_data_ports_ptr ([
Qmi.MessageDpmOpenPortInputSoftwareDataPortsElement]) – array ofQmi.MessageDpmOpenPortInputSoftwareDataPortsElementelements. The contents of the given array will be copied, theGLib.PtrArraywill not increase its reference count.- Raises:
 - Returns:
 - Return type:
 
Set the ‘Software Data Ports’ field in the message.
New in version 1.32.
- 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.30.