code: def from_dict(self, data):
          
          if "model" in data:
              model = data["model"]
              self.description = model["description"] if "description" in model else None
              self.package = model["package"] if "package" in model else None
              self.extends = model["extends"] if "extends" in model else []
              self.entity_name = model["entity_name"] if "entity_name" in model else None
              self.rest_name = model["rest_name"] if "rest_name" in model else None
              self.resource_name = model["resource_name"] if "resource_name" in model else None
              self.allows_get = model["get"] if "get" in model else False
              self.allows_create = model["create"] if "create" in model else False
              self.allows_update = model["update"] if "update" in model else False
              self.allows_delete = model["delete"] if "delete" in model else False
              self.is_root = model["root"] if "root" in model else False
              self.userlabel = model["userlabel"] if "userlabel" in model else None
              self.template = model["template"] if "template" in model else False
              self.allowed_job_commands = model["allowed_job_commands"] if "allowed_job_commands" in model else None
  
          if "attributes" in data:
              self.attributes = self._get_attributes(data["attributes"])
  
          if "children" in data:
              self.child_apis = self._get_apis(data["children"])
docs: Fill the current object with information from the specification