We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab4d10 commit 960a608Copy full SHA for 960a608
Templates/Android/generated/BaseEntity.java.tt
@@ -17,7 +17,7 @@ import java.util.Map;
17
if(((OdcmClass)c).Base == null){
18
#>
19
@SerializedName("@odata.type")
20
- @Expose(serialize = false)
+ @Expose
21
public String oDataType;
22
23
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@@ -30,10 +30,6 @@ import java.util.Map;
30
}
31
32
33
- public <#=BaseTypeName(c)#>() {
34
- oDataType = "<#=((OdcmClass)c).FullName#>";
35
- }
36
-
37
<#=CreatePropertyDef(((OdcmClass)c).Properties, c is OdcmComplexClass)#>
38
<#=CreateRawJsonObject()#>
39
<#=UpdatePropertiesWithinSetRawObject(((OdcmClass)c).Properties, c is OdcmComplexClass)#>
0 commit comments