struct

PlaceOS::Model::Metadata::Interface

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(name : String, description : String, details : JSON::Any, parent_id : String | Nil, schema_id : String | Nil = nil, editors : Set(String) = Set(String).new, modified_by_id : String | Nil = nil, updated_at : Time = Time.utc, created_at : Time = Time.utc)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(name _name = @name, description _description = @description, details _details = @details, parent_id _parent_id = @parent_id, schema_id _schema_id = @schema_id, editors _editors = @editors, modified_by_id _modified_by_id = @modified_by_id, updated_at _updated_at = @updated_at, created_at _created_at = @created_at)
Source
created_at
description
details
editors
modified_by_id
name
parent_id
schema_id
updated_at