Skip to content
Repos

DevPlaceApp

C++ 335 B18 lines Opens in site

Directory Raw Download

#pragma once
// Spec: models.md FollowUser. bio is non-optional (must be present and non-null).
#include <string>

#include "core/Json.hpp"

namespace dp {

struct FollowUser {
  std::string id;
  std::string username;
  std::string bio;
  bool isFollowing = false;

  static FollowUser fromJson(const Json& j);
};

}  // namespace dp
111.9ms