/** * This file is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ #pragma once // System headers #include #include #include namespace models { class SimpleObject { public: SimpleObject(); virtual ~SimpleObject() = default; // Getters and setters [[nodiscard]] int getId() const; void setId(const int& id); [[nodiscard]] std::string getName() const; void setName(const std::string& name); [[nodiscard]] std::string getDescription() const; void setDescription(const std::string& description); // JSON serialization using NLOHMANN INTRUSIVE macro (must be inside class to access private members) NLOHMANN_DEFINE_TYPE_INTRUSIVE(SimpleObject, id, name, description) private: int id; std::string name; std::string description; }; } // namespace models