oneOf

fun oneOf(name: String): OneOf?

Returns the oneOf named name, or null if this type has no such oneOf.