17 #ifndef MASTODON_CPP_EASY_REPORT_HPP 18 #define MASTODON_CPP_EASY_REPORT_HPP 23 #include "../../mastodon-cpp.hpp" 24 #include "../entity.hpp" 42 virtual bool valid()
const override;
57 const string id()
const;
62 #endif // MASTODON_CPP_EASY_REPORT_HPP Entity()
Constructs an empty Entity object.
Definition: entity.cpp:43
virtual bool valid() const override
Returns true if the Entity holds valid data.
Definition: report.cpp:22
Class to hold reports.
Definition: report.hpp:37
Collection of things to interface with server software that implements the Mastodon API...
Definition: mastodon-cpp.hpp:46
Base class for all entities.
Definition: entity.hpp:36
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