17 #ifndef MASTODON_CPP_EASY_REPORT_HPP 18 #define MASTODON_CPP_EASY_REPORT_HPP 25 #include "mastodon-cpp.hpp" 26 #include "easy/easy.hpp" 28 #include <mastodon-cpp/mastodon-cpp.hpp> 29 #include <mastodon-cpp/easy/easy.hpp> 33 using std::uint_fast64_t;
52 explicit Report(
const string &json);
61 virtual bool valid()
const;
76 uint_fast64_t
id()
const;
80 #endif // MASTODON_CPP_EASY_REPORT_HPP Report()
Constructs an empty Report object.
Definition: report.cpp:26
uint_fast64_t id() const
Returns the ID of the report.
Definition: report.cpp:46
Class to hold reports.
Definition: report.hpp:42
Definition: mastodon-cpp.hpp:52
Base class for all entities.
Definition: easy.hpp:304
bool action_taken() const
Returns true if an action was taken in response to the report.
Definition: report.cpp:41
virtual bool valid() const
Returns true if the Entity holds valid data.
Definition: report.cpp:30