struct PlaceOS::Model::Metadata::Interface

Included Modules

Defined in:

placeos-models/metadata.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def 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) #

[View source]
def created_at : Time #

def description : String #

def details : JSON::Any #

def editors : Set(String) #

def modified_by_id : String | Nil #

def name : String #

def parent_id : String | Nil #

def schema_id : String | Nil #

def updated_at : Time #