def __init__(self, object_path, object_interface = "org.freedesktop.ModemManager.Modem"):
        MMObject.__init__(self, object_path, object_interface)

        self.bus.add_signal_receiver(self.state_changed_cb, dbus_interface = self.object_interface, 
                                     path = self.object_path, signal_name = "StateChanged")

        self.prop_list = ["Enabled", "Device", "DeviceIdentifier", "Driver", "EquipmentIdentifier", "MasterDevice",
                          "UnlockRequired", "IpMethod", "State", "Type", "UnlockRetries"]
        self.init_mmobject_with_properties()
    def __init__(
            self,
            object_path,
            object_interface="org.freedesktop.ModemManager.Modem.Location"):
        MMObject.__init__(self, object_path, object_interface)

        self.prop_list = [
            "Capabilities", "Enabled", "SignalsLocation", "Location"
        ]
        self.init_mmobject_with_properties()
    def __init__(self,
                 object_path,
                 object_interface="org.freedesktop.ModemManager.Modem"):
        MMObject.__init__(self, object_path, object_interface)

        self.bus.add_signal_receiver(self.state_changed_cb,
                                     dbus_interface=self.object_interface,
                                     path=self.object_path,
                                     signal_name="StateChanged")

        self.prop_list = [
            "Enabled", "Device", "DeviceIdentifier", "Driver",
            "EquipmentIdentifier", "MasterDevice", "UnlockRequired",
            "IpMethod", "State", "Type", "UnlockRetries"
        ]
        self.init_mmobject_with_properties()
 def __init__(self,
              object_path,
              object_interface="org.freedesktop.ModemManager.Modem.Simple"):
     MMObject.__init__(self, object_path, object_interface)
    def __init__(self, object_path, object_interface = "org.freedesktop.ModemManager.Modem.Location"):
        MMObject.__init__(self, object_path, object_interface)

        self.prop_list = ["Capabilities", "Enabled", "SignalsLocation", "Location"]
        self.init_mmobject_with_properties()
 def __init__(self, object_path, object_interface = "org.freedesktop.ModemManager.Modem.Simple"):
     MMObject.__init__(self, object_path, object_interface)