public function setName($name) { $x = new SetGroupAttributes($this); $y = $x->name((string) $name); $this->client->sendCommand($y); $this->attributes->name = (string) $name; return $this; }