addRule('$id', [ 'type' => self::TYPE_STRING, 'description' => 'Database ID.', 'default' => '', 'example' => '5e5ea5c16897e', ]) ->addRule('name', [ 'type' => self::TYPE_STRING, 'description' => 'Database name.', 'default' => '', 'example' => 'My Database', ]) ; } /** * Get Name * * @return string */ public function getName(): string { return 'Database'; } /** * Get Type * * @return string */ public function getType(): string { return Response::MODEL_DATABASE; } }