class ActivityPub::Activity::Create

Defined in:

models/activity_pub/activity/create.cr

Instance Method Summary

Instance methods inherited from class ActivityPub::Activity

_association_actor _association_actor, _belongs_to_setter_for_actor(actor : ActivityPub::Actor, update_associations = true) : ActivityPub::Actor _belongs_to_setter_for_actor, actor(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor actor, actor=(actor : ActivityPub::Actor) : ActivityPub::Actor actor=, actor?(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor | Nil
actor?(key_pair, *, dereference = false, ignore_cached = false, ignore_changed = false, **options)
actor?
, actor_iri : String | Nil actor_iri, actor_iri=(actor_iri : String | Nil) actor_iri=, cc : Array(String) | Nil cc, cc=(cc : Array(String) | Nil) cc=, display_date(timezone = nil) display_date, from_json_ld(json) from_json_ld, iri : String iri, iri=(iri : String) iri=, object_iri : String | Nil object_iri, object_iri=(object_iri : String | Nil) object_iri=, published : Time | Nil published, published=(published : Time | Nil) published=, short_date(timezone = nil) short_date, summary : String | Nil summary, summary=(summary : String | Nil) summary=, target_iri : String | Nil target_iri, target_iri=(target_iri : String | Nil) target_iri=, to : Array(String) | Nil to, to=(to : Array(String) | Nil) to=, to_json_ld(recursive = @@recursive) to_json_ld, visible : Bool visible, visible=(visible : Bool) visible=

Class methods inherited from class ActivityPub::Activity

dereference?(key_pair, iri, *, ignore_cached = 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, **options) map

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::Linked

cached? cached?, local? local?, origin origin, to_s(io : IO) to_s, uid uid

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=

Instance methods inherited from module Ktistec::Model::Undoable

undo undo, undone? undone?, undone_at : Time | Nil undone_at, undone_at=(undone_at : Time | Nil) undone_at=

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, _update_property(property, value) _update_property, assign(options : Hash(String, Any)) forall Any
assign(**options)
assign
, changed!(property : Symbol) changed!, changed?(property : Symbol | Nil = nil) changed?, clear!(property : Symbol | Nil = nil) clear!, destroy destroy, destroyed? destroyed?, errors errors, inspect(io : IO) inspect, new_record? new_record?, 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, valid?(skip_associated = false) valid?, validate(skip_associated = false) validate

Constructor methods inherited from module Ktistec::Model::InstanceMethods

new(options : Hash(String, Any)) forall Any
new(**options)
new

Instance methods inherited from module Ktistec::Model({Common, Undoable, Polymorphic, Serialized, Linked})

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

Instance Method Detail

def _association_object #

[View source]
def _belongs_to_setter_for_object(object : ActivityPub::Object, update_associations = true) : ActivityPub::Object #

[View source]
def object(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Object #

[View source]
def object=(object : ActivityPub::Object) : ActivityPub::Object #

[View source]
def object?(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Object | Nil #

[View source]
def object?(key_pair, *, dereference = false, ignore_cached = false, ignore_changed = false, **options) #

def valid_for_send? #

[View source]