A2uiSchemaKeyword.OneOf


class A2uiSchemaKeyword.OneOf : A2uiSchemaKeyword


Subschemas where the instance must match exactly one (oneOf).

Uses Nothing as the type parameter so that covariance (out T) allows this keyword to be used in any typed schema's keyword list.

Summary

Public constructors

OneOf(schemas: List<A2uiSchema>)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

List<A2uiSchema>

list of subschemas to validate against

Public constructors

OneOf

OneOf(schemas: List<A2uiSchema>)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

schemas

Added in 1.0.0-alpha01
val schemasList<A2uiSchema>

list of subschemas to validate against