TargetType

data class TargetType(typeName: TypeName, constructor: TargetConstructor, properties: Map<String, TargetProperty>, typeVariables: List<TypeVariableName>, isDataClass: Boolean, visibility: KModifier)

A user type that should be decoded and encoded by generated code.

Constructors

TargetType
Link copied to clipboard
fun TargetType(typeName: TypeName, constructor: TargetConstructor, properties: Map<String, TargetProperty>, typeVariables: List<TypeVariableName>, isDataClass: Boolean, visibility: KModifier)

Properties

constructor
Link copied to clipboard
val constructor: TargetConstructor
isDataClass
Link copied to clipboard
val isDataClass: Boolean
properties
Link copied to clipboard
val properties: Map<String, TargetProperty>
typeName
Link copied to clipboard
val typeName: TypeName
typeVariables
Link copied to clipboard
val typeVariables: List<TypeVariableName>
visibility
Link copied to clipboard
val visibility: KModifier