@@ -391,7 +391,24 @@ class QueryApi(basePath: kotlin.String = defaultBasePath, client: Call.Factory =
391
391
val localVariableQuery: MultiValueMap = mutableMapOf< kotlin.String , kotlin.collections.List < kotlin.String >> ()
392
392
.apply {
393
393
if (queryObject != null ) {
394
- put(" query_object" , listOf (queryObject.toString()))
394
+ if (queryObject.id != null ) {
395
+ put(" queryObject[id]" , listOf (queryObject.id.toString()))
396
+ }
397
+ if (queryObject.name != null ) {
398
+ put(" queryObject[name]" , listOf (queryObject.name.toString()))
399
+ }
400
+ if (queryObject.category != null ) {
401
+ put(" queryObject[category]" , listOf (queryObject.category.toString()))
402
+ }
403
+ if (queryObject.photoUrls != null ) {
404
+ put(" queryObject[photoUrls]" , toMultiValue(queryObject.photoUrls.toList(), " " ))
405
+ }
406
+ if (queryObject.tags != null ) {
407
+ put(" queryObject[tags]" , toMultiValue(queryObject.tags.toList(), " " ))
408
+ }
409
+ if (queryObject.status != null ) {
410
+ put(" queryObject[status]" , listOf (queryObject.status.value))
411
+ }
395
412
}
396
413
}
397
414
val localVariableHeaders: MutableMap <String , String > = mutableMapOf ()
@@ -469,7 +486,9 @@ class QueryApi(basePath: kotlin.String = defaultBasePath, client: Call.Factory =
469
486
val localVariableQuery: MultiValueMap = mutableMapOf< kotlin.String , kotlin.collections.List < kotlin.String >> ()
470
487
.apply {
471
488
if (queryObject != null ) {
472
- put(" query_object" , listOf (queryObject.toString()))
489
+ if (queryObject.propertyValues != null ) {
490
+ put(" values" , toMultiValue(queryObject.propertyValues.toList(), " " ))
491
+ }
473
492
}
474
493
}
475
494
val localVariableHeaders: MutableMap <String , String > = mutableMapOf ()
@@ -547,7 +566,24 @@ class QueryApi(basePath: kotlin.String = defaultBasePath, client: Call.Factory =
547
566
val localVariableQuery: MultiValueMap = mutableMapOf< kotlin.String , kotlin.collections.List < kotlin.String >> ()
548
567
.apply {
549
568
if (queryObject != null ) {
550
- put(" query_object" , listOf (queryObject.toString()))
569
+ if (queryObject.id != null ) {
570
+ put(" id" , listOf (queryObject.id.toString()))
571
+ }
572
+ if (queryObject.name != null ) {
573
+ put(" name" , listOf (queryObject.name.toString()))
574
+ }
575
+ if (queryObject.category != null ) {
576
+ put(" category" , listOf (queryObject.category.toString()))
577
+ }
578
+ if (queryObject.photoUrls != null ) {
579
+ put(" photoUrls" , toMultiValue(queryObject.photoUrls.toList(), " " ))
580
+ }
581
+ if (queryObject.tags != null ) {
582
+ put(" tags" , toMultiValue(queryObject.tags.toList(), " " ))
583
+ }
584
+ if (queryObject.status != null ) {
585
+ put(" status" , listOf (queryObject.status.value))
586
+ }
551
587
}
552
588
}
553
589
val localVariableHeaders: MutableMap <String , String > = mutableMapOf ()
0 commit comments