struct Stuff::MetadataTemplateFields
- Stuff::MetadataTemplateFields
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
stuff/stuff.crConstructors
- .new(module_name : String, name : String, description : String | Nil = nil, fields : Array(NamedTuple(name: String, description: String)) = [] of NamedTuple(name: String, description: String))
- .new(pull : JSON::PullParser)
Instance Method Summary
- #description : String | Nil
- #description=(description : String | Nil)
- #fields : Array(NamedTuple(name: String, description: String))
- #fields=(fields : Array(NamedTuple(name: String, description: String)))
- #module_name : String
- #module_name=(module_name : String)
- #name : String
- #name=(name : String)
Constructor Detail
def self.new(module_name : String, name : String, description : String | Nil = nil, fields : Array(NamedTuple(name: String, description: String)) = [] of NamedTuple(name: String, description: String))
#