@@ -46,6 +46,13 @@ pub struct ListConfigStoreServicesParams {
4646 pub config_store_id : String
4747}
4848
49+ /// struct for passing parameters to the method [`list_config_stores`]
50+ #[ derive( Clone , Debug , Default ) ]
51+ pub struct ListConfigStoresParams {
52+ /// Returns a one-element array containing the details for the named config store.
53+ pub name : Option < String >
54+ }
55+
4956/// struct for passing parameters to the method [`update_config_store`]
5057#[ derive( Clone , Debug , Default ) ]
5158pub struct UpdateConfigStoreParams {
@@ -372,17 +379,21 @@ pub async fn list_config_store_services(configuration: &mut configuration::Confi
372379}
373380
374381/// List config stores.
375- pub async fn list_config_stores ( configuration : & mut configuration:: Configuration ) -> Result < Vec < crate :: models:: ConfigStoreResponse > , Error < ListConfigStoresError > > {
382+ pub async fn list_config_stores ( configuration : & mut configuration:: Configuration , params : ListConfigStoresParams ) -> Result < Vec < crate :: models:: ConfigStoreResponse > , Error < ListConfigStoresError > > {
376383 let local_var_configuration = configuration;
377384
378385 // unbox the parameters
386+ let name = params. name ;
379387
380388
381389 let local_var_client = & local_var_configuration. client ;
382390
383391 let local_var_uri_str = format ! ( "{}/resources/stores/config" , local_var_configuration. base_path) ;
384392 let mut local_var_req_builder = local_var_client. request ( reqwest:: Method :: GET , local_var_uri_str. as_str ( ) ) ;
385393
394+ if let Some ( ref local_var_str) = name {
395+ local_var_req_builder = local_var_req_builder. query ( & [ ( "name" , & local_var_str. to_string ( ) ) ] ) ;
396+ }
386397 if let Some ( ref local_var_user_agent) = local_var_configuration. user_agent {
387398 local_var_req_builder = local_var_req_builder. header ( reqwest:: header:: USER_AGENT , local_var_user_agent. clone ( ) ) ;
388399 }
0 commit comments