File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import java.util.Map;
1717 if(((OdcmClass)c).Base == null){
1818#>
1919 @SerializedName("@odata.type")
20- @Expose(serialize = false)
20+ @Expose
2121 public String oDataType;
2222
2323 private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@@ -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)#>
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import java.util.Map;
1717 if(((OdcmClass)c).Base == null){
1818#>
1919 @SerializedName("@odata.type")
20- @Expose(serialize = false)
20+ @Expose
2121 public String oDataType;
2222
2323 private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@@ -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)#>
You can’t perform that action at this time.
0 commit comments