from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class MacCls:
"""Mac commands group definition. 29 total commands, 10 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("mac", core, parent)
@property
def address(self):
"""address commands group. 1 Sub-classes, 1 commands."""
if not hasattr(self, '_address'):
from .Address import AddressCls
self._address = AddressCls(self._core, self._cmd_group)
return self._address
@property
def did(self):
"""did commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_did'):
from .Did import DidCls
self._did = DidCls(self._core, self._cmd_group)
return self._did
@property
def fcontrol(self):
"""fcontrol commands group. 11 Sub-classes, 1 commands."""
if not hasattr(self, '_fcontrol'):
from .Fcontrol import FcontrolCls
self._fcontrol = FcontrolCls(self._core, self._cmd_group)
return self._fcontrol
@property
def fcs(self):
"""fcs commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_fcs'):
from .Fcs import FcsCls
self._fcs = FcsCls(self._core, self._cmd_group)
return self._fcs
@property
def heControl(self):
"""heControl commands group. 2 Sub-classes, 1 commands."""
if not hasattr(self, '_heControl'):
from .HeControl import HeControlCls
self._heControl = HeControlCls(self._core, self._cmd_group)
return self._heControl
@property
def htControl(self):
"""htControl commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_htControl'):
from .HtControl import HtControlCls
self._htControl = HtControlCls(self._core, self._cmd_group)
return self._htControl
@property
def qsControl(self):
"""qsControl commands group. 1 Sub-classes, 1 commands."""
if not hasattr(self, '_qsControl'):
from .QsControl import QsControlCls
self._qsControl = QsControlCls(self._core, self._cmd_group)
return self._qsControl
@property
def scontrol(self):
"""scontrol commands group. 3 Sub-classes, 0 commands."""
if not hasattr(self, '_scontrol'):
from .Scontrol import ScontrolCls
self._scontrol = ScontrolCls(self._core, self._cmd_group)
return self._scontrol
@property
def state(self):
"""state commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_state'):
from .State import StateCls
self._state = StateCls(self._core, self._cmd_group)
return self._state
@property
def vhtControl(self):
"""vhtControl commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_vhtControl'):
from .VhtControl import VhtControlCls
self._vhtControl = VhtControlCls(self._core, self._cmd_group)
return self._vhtControl
def clone(self) -> 'MacCls':
"""Clones the group by creating new object from it and its whole existing subgroups
Also copies all the existing default Repeated Capabilities setting,
which you can change independently without affecting the original group"""
new_group = MacCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group