class ActivityPub::Object::Article
- ActivityPub::Object::Article
- ActivityPub::Object
- Reference
- Object
Defined in:
models/activity_pub/object/article.crInstance methods inherited from class ActivityPub::Object
_association_attributed_to
_association_attributed_to,
_association_hashtags
_association_hashtags,
_association_in_reply_to
_association_in_reply_to,
_association_mentions
_association_mentions,
_belongs_to_setter_for_attributed_to(attributed_to_ : ActivityPub::Actor, update_associations = true) : ActivityPub::Actor
_belongs_to_setter_for_attributed_to,
_belongs_to_setter_for_in_reply_to(in_reply_to_ : ActivityPub::Object, update_associations = true) : ActivityPub::Object
_belongs_to_setter_for_in_reply_to,
_has_many_setter_for_hashtags(hashtags_ : Enumerable(Tag::Hashtag), update_associations = true) : Enumerable(Tag::Hashtag)
_has_many_setter_for_hashtags,
_has_many_setter_for_mentions(mentions_ : Enumerable(Tag::Mention), update_associations = true) : Enumerable(Tag::Mention)
_has_many_setter_for_mentions,
activities(inclusion = nil, exclusion = nil)
activities,
after_create
after_create,
after_delete
after_delete,
after_destroy
after_destroy,
after_save
after_save,
ancestors(approved_by)ancestors ancestors, announces_count : Int64 announces_count, announces_count=(announces_count : Int64) announces_count=, approved_by?(approved_by) approved_by?, attachments : Array(Attachment) | Nil attachments, attachments=(attachments : Array(Attachment) | Nil) attachments=, attributed_to(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor attributed_to, attributed_to=(attributed_to_ : ActivityPub::Actor) : ActivityPub::Actor attributed_to=, attributed_to?(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor | Nil
attributed_to?(key_pair, *, dereference = false, ignore_cached = false, ignore_changed = false, **options) attributed_to?, attributed_to_iri : String | Nil attributed_to_iri, attributed_to_iri=(attributed_to_iri : String | Nil) attributed_to_iri=, before_save before_save, before_validate before_validate, canonical_path canonical_path, canonical_path=(canonical_path : Nil | String) canonical_path=, cc : Array(String) | Nil cc, cc=(cc : Array(String) | Nil) cc=, content : String | Nil content, content=(content : String | Nil) content=, depth : Int32 depth, depth=(depth : Int32) depth=, display_date(timezone = nil) display_date, display_link display_link, draft? draft?, external? external?, from_json_ld(json) from_json_ld, hashtags(include_deleted : Bool = false, include_undone : Bool = false) : Enumerable(Tag::Hashtag) hashtags, hashtags=(hashtags_ : Enumerable(Tag::Hashtag)) : Enumerable(Tag::Hashtag) hashtags=, in_reply_to(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Object in_reply_to, in_reply_to=(in_reply_to_ : ActivityPub::Object) : ActivityPub::Object in_reply_to=, in_reply_to?(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Object | Nil
in_reply_to?(key_pair, *, dereference = false, ignore_cached = false, ignore_changed = false, **options) in_reply_to?, in_reply_to_iri : String | Nil in_reply_to_iri, in_reply_to_iri=(in_reply_to_iri : String | Nil) in_reply_to_iri=, iri : String iri, iri=(iri : String) iri=, likes_count : Int64 likes_count, likes_count=(likes_count : Int64) likes_count=, make_delete_activity make_delete_activity, media_type : String | Nil media_type, media_type=(media_type : String | Nil) media_type=, mentions(include_deleted : Bool = false, include_undone : Bool = false) : Enumerable(Tag::Mention) mentions, mentions=(mentions_ : Enumerable(Tag::Mention)) : Enumerable(Tag::Mention) mentions=, name : String | Nil name, name=(name : String | Nil) name=, published : Time | Nil published, published=(published : Time | Nil) published=, replies : ActivityPub::Collection
replies(*, for_actor)
replies(*, approved_by) replies, replies=(replies : ActivityPub::Collection) replies=, replies? : ActivityPub::Collection | Nil replies?, replies_count : Int64 replies_count, replies_count=(replies_count : Int64) replies_count=, replies_iri : String | Nil replies_iri, replies_iri=(replies_iri : String | Nil) replies_iri=, root? root?, short_date(timezone = nil) short_date, source : Source | Nil source, source=(source : Source | Nil) source=, summary : String | Nil summary, summary=(summary : String | Nil) summary=, tags tags, thread : String | Nil
thread(*, for_actor)
thread(*, approved_by) thread, thread=(thread : String | Nil) thread=, to : Array(String) | Nil to, to=(to : Array(String) | Nil) to=, to_json_ld(recursive = true) to_json_ld, urls : Array(String) | Nil urls, urls=(urls : Array(String) | Nil) urls=, validate_model validate_model, visible : Bool visible, visible=(visible : Bool) visible=, with_replies_count!(approved_by)
with_replies_count! with_replies_count!, with_statistics! with_statistics!
Class methods inherited from class ActivityPub::Object
dereference?(key_pair, iri, *, ignore_cached = false, include_deleted = false, **options) : self | Nil
dereference?,
federated_posts(page = 1, size = 10)
federated_posts,
federated_posts_count
federated_posts_count,
find(_iri iri : String | Nil, include_deleted : Bool = false, include_undone : Bool = false)
find,
find?(_iri iri : String | Nil, include_deleted : Bool = false, include_undone : Bool = false)
find?,
from_json_ld(json, **options)
from_json_ld,
from_json_ld?(json, **options)
from_json_ld?,
map(json : JSON::Any | String | IO, **options)
map,
public_posts(page = 1, size = 10)
public_posts,
public_posts_count
public_posts_count
Class methods inherited from module ActivityPub
from_json_ld(json, **options)
from_json_ld,
from_json_ld?(json, **options)
from_json_ld?
Instance methods inherited from module Ktistec::Model::Renderable
to_html
to_html
Instance methods inherited from module Ktistec::Model::Blockable
block!
block!,
blocked?
blocked?,
blocked_at : Time | Nil
blocked_at,
blocked_at=(blocked_at : Time | Nil)
blocked_at=,
unblock!
unblock!
Instance methods inherited from module Ktistec::Model::Deletable
delete!
delete!,
deleted?
deleted?,
deleted_at : Time | Nil
deleted_at,
deleted_at=(deleted_at : Time | Nil)
deleted_at=
Instance methods inherited from module Ktistec::Model::Polymorphic
as_a(as _as : T.class) : T forall T
as_a,
type : String
type,
type=(type : String)
type=
Macros inherited from module Ktistec::Model::Polymorphic
find(_id id, *, as _as)find(*, as _as, **options) find
Instance methods inherited from module Ktistec::Model::Linked
cached?
cached?,
local?
local?,
origin
origin,
to_s(io : IO)
to_s,
uid
uid
Instance methods inherited from module Ktistec::Model::Common
created_at : Time
created_at,
created_at=(created_at : Time)
created_at=,
updated_at : Time
updated_at,
updated_at=(updated_at : Time)
updated_at=
Instance methods inherited from module Ktistec::Model::InstanceMethods
==(other)
==,
_run_validations
_run_validations,
_save_model(skip_validation = false)
_save_model,
_serialize_graph(nodes, association = nil, index = nil, skip_associated = false)
_serialize_graph,
assign(properties : Hash(String, Any), *, _strict : Bool = false) forall Anyassign(*, _strict : Bool = false, **properties) assign, changed!(*properties : Symbol) changed!, changed?
changed?(*properties : Symbol) changed?, clear!
clear!(*properties : Symbol) clear!, destroy destroy, destroyed? destroyed?, errors errors, hash(hasher) hash, inspect(io : IO) inspect, new_record? new_record?, reload! reload!, save(skip_validation = false, skip_associated = false) save, serialize_graph(skip_associated = false) serialize_graph, table_name table_name, to_h to_h, to_json(json : JSON::Builder) to_json, to_s(io : IO) to_s, update_property(property, value) update_property, valid?(skip_associated = false) valid?, validate(skip_associated = false) validate
Constructor methods inherited from module Ktistec::Model::InstanceMethods
new(properties : Hash(String, Any), *, _strict : Bool = false) forall Anynew(*, _strict : Bool = false, **properties) new