Initial checkins

This commit is contained in:
stephb9959
2021-08-20 23:54:16 -07:00
parent 63f68f29f3
commit 2559a79c3b
11 changed files with 143 additions and 41 deletions

View File

@@ -77,10 +77,19 @@ namespace OpenWifi::ProvObjects {
bool from_json(const Poco::JSON::Object::Ptr &Obj);
};
struct ManagementGroup {
ObjectInfo info;
ManagementPolicy managementPolicy;
uCentral::Types::UUIDvec_t managers;
struct UserInfoDigest {
std::string id;
std::string loginId;
std::string userType;
void to_json(Poco::JSON::Object &Obj) const;
bool from_json(const Poco::JSON::Object::Ptr &Obj);
};
struct ManagementRole {
ObjectInfo info;
uCentral::Types::UUID_t managementPolicy;
std::vector<UserInfoDigest> users;
void to_json(Poco::JSON::Object &Obj) const;
bool from_json(const Poco::JSON::Object::Ptr &Obj);
@@ -122,12 +131,6 @@ namespace OpenWifi::ProvObjects {
return LT_UNKNOWN;
}
struct LocationTypeS {
LocationType type;
void to_json(Poco::JSON::Object &Obj) const;
bool from_json(const Poco::JSON::Object::Ptr &Obj);
};
struct Location {
ObjectInfo info;
LocationType type;