class Relationship::Content::Notification::Like
- Relationship::Content::Notification::Like
- Relationship::Content::Notification
- Relationship
- Reference
- Object
Included Modules
- School::DomainType
Defined in:
models/relationship/content/notification/like.crrules/content_rules.cr
Instance Method Summary
- #_association_activity
- #_belongs_to_setter_for_activity(activity_ : ActivityPub::Activity::Like, update_associations = true) : ActivityPub::Activity::Like
- #activity(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Activity::Like
- #activity=(activity_ : ActivityPub::Activity::Like) : ActivityPub::Activity::Like
- #activity?(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Activity::Like | Nil
Instance methods inherited from class Relationship::Content::Notification
_association_owner
_association_owner,
_belongs_to_setter_for_owner(owner_ : ActivityPub::Actor, update_associations = true) : ActivityPub::Actor
_belongs_to_setter_for_owner,
after_save
after_save,
confirmed : Bool
confirmed,
confirmed=(confirmed : Bool)
confirmed=,
owner(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor
owner,
owner=(owner_ : ActivityPub::Actor) : ActivityPub::Actor
owner=,
owner?(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor | Nil
owner?
Instance methods inherited from class Relationship
confirmed : Bool
confirmed,
confirmed=(confirmed : Bool)
confirmed=,
from_iri : String
from_iri,
from_iri=(from_iri : String)
from_iri=,
to_iri : String
to_iri,
to_iri=(to_iri : String)
to_iri=,
validate_model
validate_model,
visible : Bool
visible,
visible=(visible : Bool)
visible=
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::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
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 Method Detail
def _belongs_to_setter_for_activity(activity_ : ActivityPub::Activity::Like, update_associations = true) : ActivityPub::Activity::Like
#
def activity(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Activity::Like
#
def activity?(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Activity::Like | Nil
#