class {{className}}Class {
	Q_GADGET
public:
	enum Value {
		EnumNotSet,

		{{#each entries as |entry|}}
		{{entry.name}},

		{{/each}}
	};
	Q_ENUM(Value)
private:
	explicit {{className}}Class();
};

using {{className}} = {{className}}Class::Value;

} // NS DTO

namespace Support {

using {{className}} = Jellyfin::DTO::{{className}};

template <>

{{className}} fromJsonValue(const QJsonValue &source, convertType<{{className}}>);

template <>
QJsonValue toJsonValue(const {{className}} &source, convertType<{{className}}>);
