class ActivityPub::Collection
- ActivityPub::Collection
- Reference
- Object
Included Modules
- ActivityPub
- Ktistec::Model({Common, Linked, Serialized})
- Ktistec::Model::Common
- Ktistec::Model::InstanceMethods
- Ktistec::Model::Linked
- Ktistec::Model::Serialized
Extended Modules
Direct Known Subclasses
Defined in:
models/activity_pub/collection.crClass Method Summary
- .dereference?(key_pair, iri, *, ignore_cached = false, **options) : self | Nil
- .find(_iri iri : String | Nil, include_deleted : Bool = false, include_undone : Bool = false)
- .find?(_iri iri : String | Nil, include_deleted : Bool = false, include_undone : Bool = false)
- .from_json_ld(json, **options)
- .from_json_ld?(json, **options)
- .map(json, **options)
Instance Method Summary
- #current : String | Nil
- #current=(current : String | Nil)
- #first : String | Nil
- #first=(first : String | Nil)
- #from_json_ld(json)
- #iri : String
- #iri=(iri : String)
- #items : Array(JSON::Any) | Nil
- #items=(items : Array(JSON::Any) | Nil)
- #items_iris : Array(String) | Nil
- #items_iris=(items_iris : Array(String) | Nil)
- #last : String | Nil
- #last=(last : String | Nil)
- #next : String | Nil
- #next=(next __arg0 : String | Nil)
- #prev : String | Nil
- #prev=(prev : String | Nil)
- #to_json_ld(recursive = true)
- #total_items : Int64 | Nil
- #total_items=(total_items : Int64 | Nil)
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::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 Anyassign(**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 Anynew(**options) new
Instance methods inherited from module Ktistec::Model({Common, Linked, Serialized})
id : Int64 | Nil
id,
id=(id : Int64 | Nil)
id=
Class Method Detail
def self.find(_iri iri : String | Nil, include_deleted : Bool = false, include_undone : Bool = false)
#
def self.find?(_iri iri : String | Nil, include_deleted : Bool = false, include_undone : Bool = false)
#