def to_dict(self):
data = {"<STR_LIT>": {}}<EOL>data["<STR_LIT>"]["<STR_LIT:description>"] = self.description<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.entity_name<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.package<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.resource_name<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.rest_name<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.extends<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.allows_get<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.allows_update<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.allows_create<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.allows_delete<EOL>data["<STR_LIT>"]["<STR_LIT:root>"] = self.is_root<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.userlabel<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.template<EOL>data["<STR_LIT>"]["<STR_LIT>"] = self.allowed_job_commands<EOL>data["<STR_LIT>"] = []<EOL>for attribute in self.attributes:<EOL><INDENT>data["<STR_LIT>"].append(attribute.to_dict())<EOL><DEDENT>data["<STR_LIT>"] = []<EOL>for api in self.child_apis:<EOL><INDENT>data["<STR_LIT>"].append(api.to_dict())<EOL><DEDENT>return data<EOL>
Transform the current specification to a dictionary