getDataEnumCodec is now called getDiscriminatedUnionCodec
getDataEnumCodec
getDiscriminatedUnionCodec