Using Generated Proxy Types

Get Enum:
Pass Enum: