A2uiSchemaKeyword.OneOf


public final class A2uiSchemaKeyword.OneOf extends 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

Public methods

boolean
equals(Object other)
final @NonNull List<@NonNull A2uiSchema>

list of subschemas to validate against

int
@NonNull String

Public constructors

OneOf

public OneOf(@NonNull List<@NonNull A2uiSchema> schemas)

Public methods

equals

public boolean equals(Object other)

getSchemas

Added in 1.0.0-alpha01
public final @NonNull List<@NonNull A2uiSchemagetSchemas()

list of subschemas to validate against

hashCode

public int hashCode()

toString

public @NonNull String toString()