DataClassModel

constructor(className: ClassName, typeParameterCount: Int, internal: Boolean, open: Boolean, dataSuperclass: ClassName?, properties: List<DataPropertyModel>)

Parameters

className

the (raw) class name of the source class

typeParameterCount

the number of type parameters of the source class

internal

true if the generated classes are internal

open

true if the source class is open, abstract or sealed (the generated classes are then open)

dataSuperclass

the (raw) class name of the superclass, if its property paths are generated too

properties

the properties declared by the source class (not the inherited ones)