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 d9cdadc commit e98a2a5Copy full SHA for e98a2a5
src/internal/objectSerializer.ts
@@ -124,6 +124,9 @@ export class ObjectSerializer {
124
if (data.hasOwnProperty(attributeType.baseName)) {
125
instance[attributeType.name] = ObjectSerializer.deserialize(data[attributeType.baseName], attributeType.type);
126
}
127
+ else if (data.hasOwnProperty(attributeType.name)) {
128
+ instance[attributeType.name] = ObjectSerializer.deserialize(data[attributeType.name], attributeType.type);
129
+ }
130
131
132
return instance;
0 commit comments