@@ -136,6 +136,35 @@ class ObjectSerializer {
136
136
}
137
137
}
138
138
139
+ /**
140
+ * some description
141
+ */
142
+ export class Amount {
143
+ /**
144
+ * some description
145
+ */
146
+ 'value' : number ;
147
+ 'currency' : Currency ;
148
+
149
+ static discriminator : string | undefined = undefined ;
150
+
151
+ static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
152
+ {
153
+ "name" : "value" ,
154
+ "baseName" : "value" ,
155
+ "type" : "number"
156
+ } ,
157
+ {
158
+ "name" : "currency" ,
159
+ "baseName" : "currency" ,
160
+ "type" : "Currency"
161
+ } ] ;
162
+
163
+ static getAttributeTypeMap ( ) {
164
+ return Amount . attributeTypeMap ;
165
+ }
166
+ }
167
+
139
168
/**
140
169
* Describes the result of uploading an image resource
141
170
*/
@@ -144,7 +173,7 @@ export class ApiResponse {
144
173
'type' ?: string ;
145
174
'message' ?: string ;
146
175
147
- static discriminator = undefined ;
176
+ static discriminator : string | undefined = undefined ;
148
177
149
178
static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
150
179
{
@@ -175,7 +204,7 @@ export class Category {
175
204
'id' ?: number ;
176
205
'name' ?: string ;
177
206
178
- static discriminator = undefined ;
207
+ static discriminator : string | undefined = undefined ;
179
208
180
209
static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
181
210
{
@@ -194,6 +223,21 @@ export class Category {
194
223
}
195
224
}
196
225
226
+ /**
227
+ * some description
228
+ */
229
+ export class Currency {
230
+
231
+ static discriminator : string | undefined = undefined ;
232
+
233
+ static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
234
+ ] ;
235
+
236
+ static getAttributeTypeMap ( ) {
237
+ return Currency . attributeTypeMap ;
238
+ }
239
+ }
240
+
197
241
/**
198
242
* An order for a pets from the pet store
199
243
*/
@@ -208,7 +252,7 @@ export class Order {
208
252
'status' ?: Order . StatusEnum ;
209
253
'complete' ?: boolean ;
210
254
211
- static discriminator = undefined ;
255
+ static discriminator : string | undefined = undefined ;
212
256
213
257
static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
214
258
{
@@ -268,7 +312,7 @@ export class Pet {
268
312
*/
269
313
'status' ?: Pet . StatusEnum ;
270
314
271
- static discriminator = undefined ;
315
+ static discriminator : string | undefined = undefined ;
272
316
273
317
static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
274
318
{
@@ -321,7 +365,7 @@ export class Tag {
321
365
'id' ?: number ;
322
366
'name' ?: string ;
323
367
324
- static discriminator = undefined ;
368
+ static discriminator : string | undefined = undefined ;
325
369
326
370
static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
327
371
{
@@ -356,7 +400,7 @@ export class User {
356
400
*/
357
401
'userStatus' ?: number ;
358
402
359
- static discriminator = undefined ;
403
+ static discriminator : string | undefined = undefined ;
360
404
361
405
static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
362
406
{
@@ -412,8 +456,10 @@ let enumsMap: {[index: string]: any} = {
412
456
}
413
457
414
458
let typeMap : { [ index : string ] : any } = {
459
+ "Amount" : Amount ,
415
460
"ApiResponse" : ApiResponse ,
416
461
"Category" : Category ,
462
+ "Currency" : Currency ,
417
463
"Order" : Order ,
418
464
"Pet" : Pet ,
419
465
"Tag" : Tag ,
0 commit comments