abstract struct Lenel::OpenAccess::Models::Element
- Lenel::OpenAccess::Models::Element
- Struct
- Value
- Object
Overview
Base type for Lenel data objects.
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Direct Known Subclasses
- Lenel::OpenAccess::Models::Badge
- Lenel::OpenAccess::Models::BadgeType
- Lenel::OpenAccess::Models::Event
- Lenel::OpenAccess::Models::Person
- Lenel::OpenAccess::Models::Reader
- Lenel::OpenAccess::Models::Untyped
Defined in:
lenel/open_access/models.crConstructors
- .new(pull : JSON::PullParser)
-
.new(*, __pull_for_json_serializable pull : JSON::PullParser)
Override the default JSON::Serializable behaviour to make keys case inensitive when deserialising.
Class Method Summary
-
.partial(**properties : **T) : T forall T
Provide a compile-time check to ensure properties is a subset of self.
-
.type_name
Name of the type as expected by the OpenAccess API endpoints.
Constructor Detail
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser)
#
Override the default JSON::Serializable behaviour to make keys case inensitive when deserialising.
Class Method Detail
def self.partial(**properties : **T) : T forall T
#
Provide a compile-time check to ensure properties is a subset of self.