abstract struct Lenel::OpenAccess::Models::Element

Overview

Base type for Lenel data objects.

Included Modules

Extended Modules

Direct Known Subclasses

Defined in:

lenel/open_access/models.cr

Constructors

Class Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

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

Override the default JSON::Serializable behaviour to make keys case inensitive when deserialising.


[View source]

Class Method Detail

def self.partial(**properties : **T) : T forall T #

Provide a compile-time check to ensure properties is a subset of self.


[View source]
def self.type_name #

Name of the type as expected by the OpenAccess API endpoints.


[View source]