API::V1::Serializers::Status::MediaAttachment
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(id : String, type : String, url : Ktistec::SafeURI | Nil, preview_url : Ktistec::SafeURI | Nil, remote_url : String | Nil, meta : Meta | Nil, description : String | Nil, blurhash : String | Nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
blurhash
Sourceblurhash=(blurhash : String | Nil)
Sourcedescription
Sourcedescription=(description : String | Nil)
Sourceid
Sourceid=(id : String)
Sourcemeta
Sourcemeta=(meta : Meta | Nil)
Sourcepreview_url
Sourceremote_url
Sourceremote_url=(remote_url : String | Nil)
Sourcetype
Sourcetype=(type : String)
Sourceurl
Source