class Relationship
- Relationship
- Reference
- Object
Overview
Relationship between things.
Included Modules
Extended Modules
Direct Known Subclasses
- Relationship::Content::Approved
- Relationship::Content::Canonical
- Relationship::Content::Follow::Hashtag
- Relationship::Content::Follow::Mention
- Relationship::Content::Follow::Thread
- Relationship::Content::Inbox
- Relationship::Content::Notification
- Relationship::Content::Outbox
- Relationship::Content::Timeline
- Relationship::Social::Follow
Defined in:
models/relationship.crmodels/relationship/content/approved.cr
models/relationship/content/canonical.cr
models/relationship/content/follow/hashtag.cr
models/relationship/content/follow/mention.cr
models/relationship/content/follow/thread.cr
models/relationship/content/inbox.cr
models/relationship/content/notification.cr
models/relationship/content/notification/announce.cr
models/relationship/content/notification/follow.cr
models/relationship/content/notification/follow/hashtag.cr
models/relationship/content/notification/follow/mention.cr
models/relationship/content/notification/follow/thread.cr
models/relationship/content/notification/like.cr
models/relationship/content/notification/mention.cr
models/relationship/content/notification/reply.cr
models/relationship/content/outbox.cr
models/relationship/content/timeline.cr
models/relationship/content/timeline/announce.cr
models/relationship/content/timeline/create.cr
models/relationship/social/follow.cr
Instance Method Summary
- #confirmed : Bool
- #confirmed=(confirmed : Bool)
- #from_iri : String
- #from_iri=(from_iri : String)
- #to_iri : String
- #to_iri=(to_iri : String)
- #validate_model
- #visible : Bool
- #visible=(visible : Bool)
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