class ActivityPub::Collection

Included Modules

Extended Modules

Direct Known Subclasses

Defined in:

models/activity_pub/collection.cr

Class Method Summary

Instance Method Summary

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 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, Linked, Serialized})

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

Class Method Detail

def self.dereference?(key_pair, iri, *, ignore_cached = false, **options) : self | Nil #

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) #

def self.from_json_ld(json, **options) #

[View source]
def self.from_json_ld?(json, **options) #

[View source]
def self.map(json, **options) #

[View source]

Instance Method Detail

def current : String | Nil #

[View source]
def current=(current : String | Nil) #

[View source]
def first : String | Nil #

[View source]
def first=(first : String | Nil) #

[View source]
def from_json_ld(json) #

[View source]
def iri : String #

def iri=(iri : String) #

def items : Array(JSON::Any) | Nil #

[View source]
def items=(items : Array(JSON::Any) | Nil) #

[View source]
def items_iris : Array(String) | Nil #

[View source]
def items_iris=(items_iris : Array(String) | Nil) #

[View source]
def last : String | Nil #

[View source]
def last=(last : String | Nil) #

[View source]
def next : String | Nil #

[View source]
def next=(next __arg0 : String | Nil) #

[View source]
def prev : String | Nil #

[View source]
def prev=(prev : String | Nil) #

[View source]
def to_json_ld(recursive = true) #

[View source]
def total_items : Int64 | Nil #

[View source]
def total_items=(total_items : Int64 | Nil) #

[View source]