protected function generateStructsClasses()
    {
        foreach ($this->getGenerator()->getStructs() as $struct) {
            if (!$struct->isStruct()) {
                continue;
            }
            $this->getStructFile($struct)->setModel($struct)->write();
        }
        return $this;
    }