struct PlaceOS::Model::Metadata::Interface
- PlaceOS::Model::Metadata::Interface
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
placeos-models/metadata.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #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)
- #created_at : Time
- #description : String
- #details : JSON::Any
- #editors : Set(String)
- #modified_by_id : String | Nil
- #name : String
- #parent_id : String | Nil
- #schema_id : String | Nil
- #updated_at : Time
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)
#
Instance Method Detail
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)
#