|
| Status (const string &json) |
| Constructs a Status object from a JSON string. More...
|
|
| Status () |
| Constructs an empty Status object.
|
|
const Account | account () const |
| Returns an array of matched accounts.
|
|
const Application | application () const |
| Returns application from which the status was posted.
|
|
const system_clock::time_point | created_at () const |
| Returns time of creation.
|
|
const string | content () const |
| Returns content of status.
|
|
const std::vector< Emoji > | emojis () const |
| Returns an array of emojis.
|
|
const bool | favourited () const |
| Returns true if the user has favourited the status.
|
|
const uint_fast64_t | favourites_count () const |
| Returns the number of favourites.
|
|
const uint_fast64_t | id () const |
| Returns the ID of the status.
|
|
const uint_fast64_t | in_reply_to_id () const |
| Returns the ID of the status it replies to.
|
|
const uint_fast64_t | in_reply_to_account_id () const |
| Returns the ID of the account it replies to.
|
|
const string | language () const |
| Returns the language of the status.
|
|
const std::vector< Attachment > | media_attachments () const |
| Returns the attachments.
|
|
const std::vector< Mention > | mentions () const |
| Returns the mentions.
|
|
const bool | muted () const |
| Returns true if the user muted the conversation.
|
|
const bool | pinned () const |
| Returns true if the status is pinned.
|
|
const Status | reblog () const |
| Returns the reblogged Status.
|
|
const bool | reblogged () const |
| Returns true if the user has reblogged the status.
|
|
const uint_fast64_t | reblogs_count () const |
| Returns the number of reblogs for the status.
|
|
const bool | sensitive () const |
| Returns true if the attachments should be hidden by default.
|
|
const string | spoiler_text () const |
| Returns the spoiler text.
|
|
const std::vector< Tag > | tags () const |
| Returns the tags.
|
|
const string | uri () const |
| Returns the Fediverse-unique resource ID.
|
|
const string | url () const |
| Returns the URL to the status page.
|
|
const visibility_type | visibility () const |
| Returns the visibility of the status.
|
|
| Entity (const string &json) |
| Constructs an Entity object from a JSON string. More...
|
|
| Entity () |
| Constructs an empty Entity object.
|
|
const void | from_string (const string &json) |
| Replaces the Entity with a new one from a JSON string. More...
|
|
const Json::Value | to_object () const |
| Returns the JSON object of the Entity. More...
|
|
const bool | valid () const |
| Returns true if the Entity holds valid data.
|
|
const string | error () const |
| Returns error string sent by the server.
|
|
const bool | was_set () const |
| Returns true if the last requested value was set, false if it was unset. More...
|
|
|
const Json::Value | get (const string &key) const |
| Returns the value of key as Json::Value. More...
|
|
const string | get_string (const string &key) const |
| Returns the value of key as std::string. More...
|
|
const uint_fast64_t | get_uint64 (const string &key) const |
| Returns the value of key as std::uint_fast64_t. More...
|
|
const double | get_double (const string &key) const |
| Returns the value of key as double. More...
|
|
const bool | get_bool (const string &key) const |
| Returns the value of key as bool. More...
|
|
const system_clock::time_point | get_time_point (const string &key) const |
| Returns the value of key as time_point. More...
|
|
const std::vector< string > | get_vector (const string &key) const |
| Returns the value of key as vector. More...
|
|
const std::uint_fast64_t | stouint64 (const string &str) const |
|