@@ -391,7 +391,24 @@ class QueryApi(basePath: kotlin.String = defaultBasePath, client: Call.Factory =
391391 val localVariableQuery: MultiValueMap = mutableMapOf< kotlin.String , kotlin.collections.List < kotlin.String >> ()
392392 .apply {
393393 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+ }
395412 }
396413 }
397414 val localVariableHeaders: MutableMap <String , String > = mutableMapOf ()
@@ -469,7 +486,9 @@ class QueryApi(basePath: kotlin.String = defaultBasePath, client: Call.Factory =
469486 val localVariableQuery: MultiValueMap = mutableMapOf< kotlin.String , kotlin.collections.List < kotlin.String >> ()
470487 .apply {
471488 if (queryObject != null ) {
472- put(" query_object" , listOf (queryObject.toString()))
489+ if (queryObject.propertyValues != null ) {
490+ put(" values" , toMultiValue(queryObject.propertyValues.toList(), " " ))
491+ }
473492 }
474493 }
475494 val localVariableHeaders: MutableMap <String , String > = mutableMapOf ()
@@ -547,7 +566,24 @@ class QueryApi(basePath: kotlin.String = defaultBasePath, client: Call.Factory =
547566 val localVariableQuery: MultiValueMap = mutableMapOf< kotlin.String , kotlin.collections.List < kotlin.String >> ()
548567 .apply {
549568 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+ }
551587 }
552588 }
553589 val localVariableHeaders: MutableMap <String , String > = mutableMapOf ()
0 commit comments