diff --git a/LibOneM2M/OneM2M_Types.ttcn b/LibOneM2M/OneM2M_Types.ttcn
index 3a986f0c6e61333440f9f107b005ce757ad6b2eb..c1d781c0ae9d5ff1ae901a3127d222a27d239c4d 100644
--- a/LibOneM2M/OneM2M_Types.ttcn
+++ b/LibOneM2M/OneM2M_Types.ttcn
@@ -3243,7 +3243,10 @@ module OneM2M_Types {
   type union Representation {
 	  Resource_2 resource, 
 	  ResponsePrimitive responsePrimitive
-  };
+  }
+  with {
+  	variant "name as 'representation'";
+  }
 
 	type record Notification_1
 	{