本文整理汇总了Python中nmlib.nm_utils.TypeConvert.py2_dbus_boolean方法的典型用法代码示例。如果您正苦于以下问题:Python TypeConvert.py2_dbus_boolean方法的具体用法?Python TypeConvert.py2_dbus_boolean怎么用?Python TypeConvert.py2_dbus_boolean使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类nmlib.nm_utils.TypeConvert
的用法示例。
在下文中一共展示了TypeConvert.py2_dbus_boolean方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: crtscts
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def crtscts(self, new_crtscts):
self.prop_dict["crtscts"] = TypeConvert.py2_dbus_boolean(new_crtscts)
示例2: noauth
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def noauth(self, new_noauth):
self.prop_dict["noauth"] = TypeConvert.py2_dbus_boolean(new_noauth)
示例3: require_mppe_128
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def require_mppe_128(self, new_require_mppe_128):
self.prop_dict["require-mppe-128"] = TypeConvert.py2_dbus_boolean(new_require_mppe_128)
示例4: mppe_stateful
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def mppe_stateful(self ,new_mppe_stateful):
self.prop_dict["mppe-stateful"] = TypeConvert.py2_dbus_boolean(new_mppe_stateful)
示例5: system_ca_certs
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def system_ca_certs(self, new_system_ca_certs):
self.prop_dict["system-ca-certs"] = TypeConvert.py2_dbus_boolean(new_system_ca_certs)
示例6: require_mppe
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def require_mppe(self, new_require_mppe):
self.prop_dict["require-mppe"] = TypeConvert.py2_dbus_boolean(new_require_mppe)
示例7: hidden
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def hidden(self, new_hidden):
self.prop_dict["hidden"] = TypeConvert.py2_dbus_boolean(new_hidden)
示例8: autoconnect
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def autoconnect(self, new_autoconnect):
self.prop_dict["autoconnect"] = TypeConvert.py2_dbus_boolean(new_autoconnect)
示例9: never_default
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def never_default(self, new_never_default):
self.prop_dict["never-default"] = TypeConvert.py2_dbus_boolean(new_never_default)
示例10: may_fail
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def may_fail(self, new_may_fail):
self.prop_dict["may-fail"] = TypeConvert.py2_dbus_boolean(new_may_fail)
示例11: dhcp_send_hostname
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def dhcp_send_hostname(self, new_dhcp_send_hostname):
self.prop_dict["dhcp_send_hostname"] = TypeConvert.py2_dbus_boolean(new_dhcp_send_hostname)
示例12: ignore_auto_dns
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def ignore_auto_dns(self, new_ignore_auto_dns):
self.prop_dict["ignore-auto-dns"] = TypeConvert.py2_dbus_boolean(new_ignore_auto_dns)
示例13: auto_negotiate
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def auto_negotiate(self, new_auto_negotiate):
self.prop_dict["auto_negotiate"] = TypeConvert.py2_dbus_boolean(new_auto_negotiate)
示例14: refuse_chap
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def refuse_chap(self, new_refuse_chap):
self.prop_dict["refuse-chap"] = TypeConvert.py2_dbus_boolean(new_refuse_chap)
示例15: nodeflate
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_boolean [as 别名]
def nodeflate(self, new_nodeflate):
self.prop_dict["nodeflate"] = TypeConvert.py2_dbus_boolean(new_nodeflate)