Skip to content

Commit f810135

Browse files
author
Caitlin Bales (MSFT)
committed
Remove default odata type
Setting this information by default provides less value than it does by not being there. If we do not incude it, we can by default serialize all odata.type data that is included in the request by default
1 parent 0a9059b commit f810135

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Templates/Java/models_generated/BaseEntity.java.tt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ import java.util.Map;
3030
}
3131
#>
3232

33-
public <#=BaseTypeName(c)#>() {
34-
oDataType = "<#=((OdcmClass)c).FullName#>";
35-
}
36-
3733
<#=CreatePropertyDef(((OdcmClass)c).Properties, c is OdcmComplexClass)#>
3834
<#=CreateRawJsonObject()#>
3935
<#=UpdatePropertiesWithinSetRawObject(((OdcmClass)c).Properties, c is OdcmComplexClass)#>

0 commit comments

Comments
 (0)