lib/fastly/api/config_store_api.rb in fastly-7.2.1 vs lib/fastly/api/config_store_api.rb in fastly-7.2.2

- old
+ new

@@ -333,18 +333,20 @@ return data, status_code, headers end # List config stores # List config stores. + # @option opts [String] :name Returns a one-element array containing the details for the named config store. # @return [Array<ConfigStoreResponse>] def list_config_stores(opts = {}) data, _status_code, _headers = list_config_stores_with_http_info(opts) data end # List config stores # List config stores. + # @option opts [String] :name Returns a one-element array containing the details for the named config store. # @return [Array<(Array<ConfigStoreResponse>, Integer, Hash)>] Array<ConfigStoreResponse> data, response status code and response headers def list_config_stores_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ConfigStoreApi.list_config_stores ...' end @@ -352,9 +354,10 @@ # resource path local_var_path = '/resources/stores/config' # query parameters query_params = opts[:query_params] || {} + query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json'])