17 #ifndef MASTODON_CPP_EASY_REPORT_HPP 18 #define MASTODON_CPP_EASY_REPORT_HPP 25 #include "mastodon-cpp.hpp" 26 #include "easy/entity.hpp" 28 #include <mastodon-cpp/mastodon-cpp.hpp> 29 #include <mastodon-cpp/easy/entity.hpp> 48 virtual bool valid()
const override;
63 const string id()
const;
68 #endif // MASTODON_CPP_EASY_REPORT_HPP Entity()
Constructs an empty Entity object.
Definition: entity.cpp:42
virtual bool valid() const override
Returns true if the Entity holds valid data.
Definition: report.cpp:22
Class to hold reports.
Definition: report.hpp:43
Collection of things to interface with server software that implements the Mastodon API...
Definition: mastodon-cpp.hpp:52
Base class for all entities.
Definition: entity.hpp:41
bool action_taken() const
Returns true if an action was taken in response to the report.
Definition: report.cpp:31
const string id() const
Returns the ID of the report.
Definition: report.cpp:36