anyOf

public abstract Schema.Builder anyOf(List<Schema> anyOf)
@CanIgnoreReturnValue()
public Schema.Builder anyOf(Array<Schema> anyOf)

Setter for anyOf.

anyOf: Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.


@CanIgnoreReturnValue()
public Schema.Builder anyOf(Array<Schema.Builder> anyOfBuilders)

Setter for anyOf builder.

anyOf: Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.