def _write_model(self, specification, specification_set):
filename = "<STR_LIT>" % (self._class_prefix.lower(), specification.entity_name.lower())<EOL>override_content = self._extract_override_content(specification.entity_name)<EOL>constants = self._extract_constants(specification)<EOL>superclass_name = "<STR_LIT>" if specification.rest_name == self.api_root else "<STR_LIT>"<EOL>self.write(destination=self.output_directory, filename=filename, template_name="<STR_LIT>",<EOL>specification=specification,<EOL>specification_set=specification_set,<EOL>version=self.api_version,<EOL>class_prefix=self._class_prefix,<EOL>product_accronym=self._product_accronym,<EOL>override_content=override_content,<EOL>superclass_name=superclass_name,<EOL>constants=constants,<EOL>header=self.header_content)<EOL>self.model_filenames[filename] = specification.entity_name<EOL>
Write autogenerate specification file