How can I call 'Object's' that have specific Enum value's

It would help to format your code so we can see the indentation etc