class ActivityPub::Actor::Person

Defined in:

models/activity_pub/actor/person.cr

Instance methods inherited from class ActivityPub::Actor

_association_filter_terms _association_filter_terms, _association_objects _association_objects, _has_many_setter_for_filter_terms(filter_terms_ : Enumerable(FilterTerm), update_associations = true) : Enumerable(FilterTerm) _has_many_setter_for_filter_terms, _has_many_setter_for_objects(objects_ : Enumerable(ActivityPub::Object), update_associations = true) : Enumerable(ActivityPub::Object) _has_many_setter_for_objects, all_followers(page = 1, size = 10, public = false) all_followers, all_following(page = 1, size = 10, public = true) all_following, all_posts(page = 1, size = 10) all_posts, announces(page = 1, size = 10) announces, approve(object) approve, attachments : Array(Attachment) | Nil attachments, attachments=(attachments : Array(Attachment) | Nil) attachments=, before_validate before_validate, display_link display_link, display_name display_name, down! down!, down? down?, down_at : Time | Nil down_at, down_at=(down_at : Time | Nil) down_at=, drafts(page = 1, size = 10) drafts, filter_terms(include_deleted : Bool = false, include_undone : Bool = false) : Enumerable(FilterTerm) filter_terms, filter_terms=(filter_terms_ : Enumerable(FilterTerm)) : Enumerable(FilterTerm) filter_terms=, find_activity_for(object, inclusion = nil, exclusion = nil) find_activity_for, find_announce_for(object : Object) find_announce_for, find_like_for(object : Object) find_like_for, follow(other : Actor, **options) follow, followers : String | Nil followers, followers=(followers : String | Nil) followers=, following : String | Nil following, following=(following : String | Nil) following=, follows?(other : Actor, **options) follows?, from_json_ld(json, *, include_key = false) from_json_ld, handle handle, icon : String | Nil icon, icon=(icon : String | Nil) icon=, image : String | Nil image, image=(image : String | Nil) image=, in_inbox(page = 1, size = 10, public = true) in_inbox, in_inbox?(object : Object, inclusion = nil, exclusion = nil) in_inbox?, in_outbox(page = 1, size = 10, public = true) in_outbox, in_outbox?(object : Object, inclusion = nil, exclusion = nil) in_outbox?, inbox : String | Nil inbox, inbox=(inbox : String | Nil) inbox=, iri : String iri, iri=(iri : String) iri=, known_posts(page = 1, size = 10) known_posts, likes(page = 1, size = 10) likes, make_delete_activity make_delete_activity, name : String | Nil name, name=(name : String | Nil) name=, notifications(since : Time)
notifications(page = 1, size = 10)
notifications
, objects(include_deleted : Bool = false, include_undone : Bool = false) : Enumerable(ActivityPub::Object) objects, objects=(objects_ : Enumerable(ActivityPub::Object)) : Enumerable(ActivityPub::Object) objects=, outbox : String | Nil outbox, outbox=(outbox : String | Nil) outbox=, pem_private_key : String | Nil pem_private_key, pem_private_key=(pem_private_key : String | Nil) pem_private_key=, pem_public_key : String | Nil pem_public_key, pem_public_key=(pem_public_key : String | Nil) pem_public_key=, private_key private_key, public_key public_key, public_posts(page = 1, size = 10) public_posts, summary : String | Nil summary, summary=(summary : String | Nil) summary=, terms(page = 1, size = 10) terms, timeline(since : Time, exclude_replies = false, inclusion = nil)
timeline(exclude_replies = false, inclusion = nil, page = 1, size = 10)
timeline
, to_json_ld(recursive = true) to_json_ld, unapprove(object) unapprove, up! up!, up? up?, urls : Array(String) | Nil urls, urls=(urls : Array(String) | Nil) urls=, username : String | Nil username, username=(username : String | Nil) username=

Class methods inherited from class ActivityPub::Actor

attachments_from_ldjson(entry) attachments_from_ldjson, dereference?(key_pair, iri, *, ignore_cached = false, include_deleted = false, **options) : self | Nil dereference?, 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, include_key = false, **options) map, map_icon?(json, *selector) map_icon?, match?(account) match?

Macros inherited from class ActivityPub::Actor

common_filters_on(first_prefix = nil, second_prefix = nil, activity_prefix = nil) common_filters_on

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::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 Any
assign(*, _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 Any
new(*, _strict : Bool = false, **properties)
new

Macros inherited from module Ktistec::Model::InstanceMethods

belongs_to(name, primary_key = id, foreign_key = nil, class_name = nil, inverse_of = nil) belongs_to, derived(decl, *, aliased_to) derived, has_many(name, primary_key = id, foreign_key = nil, class_name = nil, inverse_of = nil) has_many, has_one(name, primary_key = id, foreign_key = nil, class_name = nil, inverse_of = nil) has_one, validates(property, &block) validates

Instance methods inherited from module Ktistec::Model

id : Int64 | Nil id, id=(id : Int64 | Nil) id=

Instance methods inherited from class Ktistec::KeyPair

iri iri, private_key private_key, public_key public_key