CMS-3692: Versioning and workspaces - Create TS-domain classes

Error in string->enum casting