public function getData() { return ["id" => $this->id, "type" => $this->type, "subtype" => $this->subtype]; }