@@ -1220,29 +1220,23 @@ public Org.OpenAPITools.Client.ExceptionFactory ExceptionFactory
12201220
12211221 if ( queryObject . IsSet )
12221222 {
1223- if ( queryObject . Value . Id != null )
1224- {
1225- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[id]" , queryObject . Value . Id ) ) ;
1226- }
1227- if ( queryObject . Value . Name != null )
1228- {
1229- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[name]" , queryObject . Value . Name ) ) ;
1230- }
1231- if ( queryObject . Value . Category != null )
1223+ if ( queryObject . Value . Id . IsSet )
12321224 {
1233- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[category ]" , queryObject . Value . Category ) ) ;
1225+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[id ]" , queryObject . Value . Id . Value ) ) ;
12341226 }
1235- if ( queryObject . Value . PhotoUrls != null )
1227+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[name]" , queryObject . Value . Name ) ) ;
1228+ if ( queryObject . Value . Category . IsSet )
12361229 {
1237- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[photoUrls ]" , queryObject . Value . PhotoUrls ) ) ;
1230+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[category ]" , queryObject . Value . Category . Value ) ) ;
12381231 }
1239- if ( queryObject . Value . Tags != null )
1232+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[photoUrls]" , queryObject . Value . PhotoUrls ) ) ;
1233+ if ( queryObject . Value . Tags . IsSet )
12401234 {
1241- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[tags]" , queryObject . Value . Tags ) ) ;
1235+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[tags]" , queryObject . Value . Tags . Value ) ) ;
12421236 }
1243- if ( queryObject . Value . Status != null )
1237+ if ( queryObject . Value . Status . IsSet )
12441238 {
1245- localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[status]" , queryObject . Value . Status ) ) ;
1239+ localVarRequestOptions . QueryParameters . Add ( Org . OpenAPITools . Client . ClientUtils . ParameterToMultiMap ( "" , "queryObject[status]" , queryObject . Value . Status . Value ) ) ;
12461240 }
12471241 }
12481242
0 commit comments