Variant

data class Variant(val map: List<GoogleJsonSchema.Variant.Map>? = null, val discriminant: String? = null)(source)

Constructors

Link copied to clipboard
constructor(map: List<GoogleJsonSchema.Variant.Map>? = null, discriminant: String? = null)

Types

Link copied to clipboard
data class Map(val typeValue: String? = null, val metaRef: String? = null)

Properties

Link copied to clipboard
val discriminant: String? = null

The name of the type discriminant property.

Link copied to clipboard

The map of discriminant value to schema to use for parsing.