Body

data class Body(val propertyName: String, val klass: CodeGenTree.Type, val nullable: Boolean, val contentNegotiations: List<Script.Body.ContentNegotiation>, val sealedSubClasses: Set<Script.SealedSubClass>, val documentation: String? = null) : Script.Input, Script.Output(source)

Constructors

Link copied to clipboard
constructor(propertyName: String, klass: CodeGenTree.Type, nullable: Boolean, contentNegotiations: List<Script.Body.ContentNegotiation>, sealedSubClasses: Set<Script.SealedSubClass>, documentation: String? = null)

Types

Link copied to clipboard
data class ContentNegotiation(val factoryKlass: CodeGenTree.NormalClass, val contentType: String, val parameters: Map<String, String>)

Properties

Link copied to clipboard
open override val documentation: String?
Link copied to clipboard
open override val klass: CodeGenTree.Type
Link copied to clipboard
open override val nullable: Boolean
Link copied to clipboard
open override val propertyName: String