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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
blocked_by
Sourceblocked_by=(blocked_by : Bool)
Sourceblocking
Sourceblocking=(blocking : Bool)
Sourcedomain_blocking
Sourcedomain_blocking=(domain_blocking : Bool)
Sourceendorsed
Sourceendorsed=(endorsed : Bool)
Sourcefollowed_by
Sourcefollowed_by=(followed_by : Bool)
Sourcefollowing
Sourcefollowing=(following : Bool)
Sourceid
Sourceid=(id : String)
Sourcemuting
Sourcemuting=(muting : Bool)
Sourcemuting_notifications
Sourcemuting_notifications=(muting_notifications : Bool)
Sourcenote
Sourcenote=(note : String)
Sourcenotifying
Sourcenotifying=(notifying : Bool)
Sourcerequested
Sourcerequested=(requested : Bool)
Sourcerequested_by
Sourcerequested_by=(requested_by : Bool)
Sourceshowing_reblogs
Sourceshowing_reblogs=(showing_reblogs : Bool)
Source