Convert Enum into list

Convert Enum into list