/** * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /* * Pet_vaccinationBook.h * * Vaccination book of the pet */ #ifndef Pet_vaccinationBook_H_ #define Pet_vaccinationBook_H_ #include "Vaccine.h" #include #include namespace org::openapitools::server::model { /// /// Vaccination book of the pet /// class Pet_vaccinationBook { public: Pet_vaccinationBook(); virtual ~Pet_vaccinationBook() = default; /// /// Validate the current data in the model. Throws a ValidationException on failure. /// void validate() const; /// /// Validate the current data in the model. Returns false on error and writes an error /// message into the given stringstream. /// bool validate(std::stringstream& msg) const; /// /// Helper overload for validate. Used when one model stores another model and calls it's validate. /// Not meant to be called outside that case. /// bool validate(std::stringstream& msg, const std::string& pathPrefix) const; bool operator==(const Pet_vaccinationBook& rhs) const; bool operator!=(const Pet_vaccinationBook& rhs) const; ///////////////////////////////////////////// /// Pet_vaccinationBook members /// /// /// std::set getVaccines() const; void setVaccines(std::set const& value); friend void to_json(nlohmann::json& j, const Pet_vaccinationBook& o); friend void from_json(const nlohmann::json& j, Pet_vaccinationBook& o); protected: std::set m_Vaccines; }; } // namespace org::openapitools::server::model #endif /* Pet_vaccinationBook_H_ */