17 #ifndef MASTODON_CPP_EASY_RELATIONSHIP_HPP 18 #define MASTODON_CPP_EASY_RELATIONSHIP_HPP 23 #include "../../mastodon-cpp.hpp" 24 #include "../entity.hpp" 43 virtual bool valid()
const override;
85 const string id()
const;
125 #endif // MASTODON_CPP_EASY_RELATIONSHIP_HPP const string id() const
Returns the target account ID.
Definition: relationship.cpp:64
Entity()
Constructs an empty Entity object.
Definition: entity.cpp:43
bool showing_notifications() const
Returns true if the user is showing notifications.
Definition: relationship.cpp:84
bool blocking() const
Returns true if the user is blocking the account.
Definition: relationship.cpp:39
bool showing_reblogs() const
Returns true if the user is showing reblogs.
Definition: relationship.cpp:89
bool endorsed() const
Returns true if the account is endorsed by the user.
Definition: relationship.cpp:49
bool followed_by() const
Returns true if the user is being followed by the account.
Definition: relationship.cpp:54
bool muting() const
Returns true if the user is muting the account.
Definition: relationship.cpp:69
bool muting_notifications() const
Returns true if the user is also muting notifications.
Definition: relationship.cpp:74
Collection of things to interface with server software that implements the Mastodon API.
Definition: mastodon-cpp.hpp:47
Base class for all entities.
Definition: entity.hpp:36
bool domain_blocking() const
Returns true if the user is blocking the account's domain.
Definition: relationship.cpp:44
bool following() const
Returns true if the user is being following the account.
Definition: relationship.cpp:59
Class to hold relationships.
Definition: relationship.hpp:38
virtual bool valid() const override
Returns true if the Entity holds valid data.
Definition: relationship.cpp:22
bool requested() const
Returns true if the user has requested to follow the account.
Definition: relationship.cpp:79