struct

API::V1::Serializers::Relationship

Inherits JSON::Serializable < Struct < Value < Object

Serializes relationship data to Mastodon Relationship JSON format.

See: https://docs.joinmastodon.org/entities/Relationship/

Constructors

new(id : String, following : Bool, showing_reblogs : Bool, notifying : Bool, followed_by : Bool, blocking : Bool, blocked_by : Bool, muting : Bool, muting_notifications : Bool, requested : Bool, requested_by : Bool, domain_blocking : Bool, endorsed : Bool, note : String)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

blocked_by
Source
blocked_by=(blocked_by : Bool)
Source
blocking
Source
blocking=(blocking : Bool)
Source
domain_blocking
Source
domain_blocking=(domain_blocking : Bool)
Source
endorsed
Source
endorsed=(endorsed : Bool)
Source
followed_by
Source
followed_by=(followed_by : Bool)
Source
following
Source
following=(following : Bool)
Source
id=(id : String)
Source
muting
Source
muting=(muting : Bool)
Source
muting_notifications
Source
muting_notifications=(muting_notifications : Bool)
Source
note
Source
note=(note : String)
Source
notifying
Source
notifying=(notifying : Bool)
Source
requested
Source
requested=(requested : Bool)
Source
requested_by
Source
requested_by=(requested_by : Bool)
Source
showing_reblogs
Source
showing_reblogs=(showing_reblogs : Bool)
Source