@@ -1311,29 +1311,23 @@ public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory
13111311
13121312 if ( queryObject . IsSet )
13131313 {
1314- if ( queryObject . Value . Id != null )
1315- {
1316- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[id]" , queryObject . Value . Id ) ) ;
1317- }
1318- if ( queryObject . Value . Name != null )
1319- {
1320- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[name]" , queryObject . Value . Name ) ) ;
1321- }
1322- if ( queryObject . Value . Category != null )
1314+ if ( queryObject . Value . Id . IsSet )
13231315 {
1324- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[category ]" , queryObject . Value . Category ) ) ;
1316+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[id ]" , queryObject . Value . Id . Value ) ) ;
13251317 }
1326- if ( queryObject . Value . PhotoUrls != null )
1318+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[name]" , queryObject . Value . Name ) ) ;
1319+ if ( queryObject . Value . Category . IsSet )
13271320 {
1328- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[photoUrls ]" , queryObject . Value . PhotoUrls ) ) ;
1321+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[category ]" , queryObject . Value . Category . Value ) ) ;
13291322 }
1330- if ( queryObject . Value . Tags != null )
1323+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[photoUrls]" , queryObject . Value . PhotoUrls ) ) ;
1324+ if ( queryObject . Value . Tags . IsSet )
13311325 {
1332- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[tags]" , queryObject . Value . Tags ) ) ;
1326+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[tags]" , queryObject . Value . Tags . Value ) ) ;
13331327 }
1334- if ( queryObject . Value . Status != null )
1328+ if ( queryObject . Value . Status . IsSet )
13351329 {
1336- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[status]" , queryObject . Value . Status ) ) ;
1330+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[status]" , queryObject . Value . Status . Value ) ) ;
13371331 }
13381332 }
13391333
0 commit comments