id; } /** * @return string * @see symbols\SwitchPort\Status\Link */ public function getLink() { return $this->link; } /** * @return string * @see symbols\SwitchPort\Status\Duplex */ public function getDuplex() { return $this->duplex; } /** * @param string $duplex * @see symbols\SwitchPort\Status\Duplex */ public function setDuplex( $duplex) { $this->duplex = $duplex; } /** * @return int * @see symbols\SwitchPort\Status\Speed */ public function getSpeed() { return $this->speed; } /** * @param int $speed * @see symbols\SwitchPort\Status\Speed */ public function setSpeed( $speed) { $this->speed = $speed; } /** * @return string */ public function getMode() { return $this->mode; } /** * @return array */ public function getMacList() { return $this->mac_list; } }