// // Created by Shell on 2026/6/17. // #ifndef SEADISK_SERVER_INFO_HPP #define SEADISK_SERVER_INFO_HPP #include #include namespace seafile::api { /** * seafile server info */ struct ServerInfo final { /** * server version */ std::string version; /** * encrypted library version */ int encrypted_library_version = 0; /** * supported features */ std::vector features; NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT(ServerInfo, version, encrypted_library_version, features); }; } #endif //SEADISK_SERVER_INFO_HPP