struct

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)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

blurhash
Source
blurhash=(blurhash : String | Nil)
Source
description
Source
description=(description : String | Nil)
Source
id=(id : String)
Source
meta
Source
meta=(meta : Meta | Nil)
Source
preview_url
Source
preview_url=(preview_url : Ktistec::SafeURI | Nil)
Source
remote_url
Source
remote_url=(remote_url : String | Nil)
Source
type
Source
type=(type : String)
Source
url=(url : Ktistec::SafeURI | Nil)
Source

Nested types