Variant

data class Variant(val typeName: String, val match: OutputMatchMetadata, val statusFieldName: String?, val fields: List<KotlinEndpointResponseModel.Field>)(source)

Describes one generated response variant.

Constructors

Link copied to clipboard
constructor(typeName: String, match: OutputMatchMetadata, statusFieldName: String?, fields: List<KotlinEndpointResponseModel.Field>)

Properties

Link copied to clipboard

constructor fields exposed by the variant.

Link copied to clipboard

status matcher metadata represented by the variant.

Link copied to clipboard

generated property name that stores a runtime status for non-exact output variants, or null when the variant has an exact status.

Link copied to clipboard

Kotlin type name for the variant.