asCustomEntity

Casts this UserUnion as a CustomEntity and retrieves its kotlin.String value. Throws an exception if the UserUnion is not a CustomEntity.